Compare commits

..
Author SHA1 Message Date
community-scripts-pr-app[bot]andgithub-actions[bot] fcddde340e Update CHANGELOG.md (#18917)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 09:53:53 +00:00
push-app-to-main[bot]andCanbiZ 7e4524a769 Ideon (#18915)
* Add ideon (ct)

* rm Python3 dep

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-22 10:53:22 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 17bc0372c5 Update CHANGELOG.md (#18916)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 09:30:31 +00:00
push-app-to-main[bot]andCanbiZ c9fc09d43c Mathesar (#18914)
* Add mathesar (ct)

* rm

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-22 10:30:00 +01:00
3 changed files with 157 additions and 0 deletions

No files matched your search

+5
View File
@@ -589,6 +589,11 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-11-22
### 🆕 New Scripts
- Ideon [@MickLesk](https://github.com/MickLesk) ([#18915](https://github.com/community-scripts/ProxmoxVE/pull/18915))
- Mathesar [@MickLesk](https://github.com/MickLesk) ([#18914](https://github.com/community-scripts/ProxmoxVE/pull/18914))
## 2026-11-21
### 🚀 Updated Scripts
+67
View File
@@ -0,0 +1,67 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/3xpyth0n/ideon
APP="Ideon"
var_tags="${var_tags:-notes;canvas;collaboration}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-10}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/ideon ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
if check_for_gh_release "ideon" "3xpyth0n/ideon"; then
msg_info "Stopping Ideon"
systemctl stop ideon
msg_ok "Stopped Ideon"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ideon" "3xpyth0n/ideon" "tarball"
msg_info "Building Ideon"
cd /opt/ideon
$STD npm ci
NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production IS_NEXT_BUILD=1 $STD npm run build
$STD npm prune --omit=dev
rm -rf /opt/ideon/.next/cache ~/.npm
ln -s /opt/ideon_data/storage /opt/ideon/storage
msg_ok "Built Ideon"
msg_info "Starting Ideon"
systemctl start ideon
msg_ok "Started Ideon"
msg_ok "Updated successfully!"
fi
exit
}
start
build_container
description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
echo -e "${GATEWAY}${BGN}http://${IP}:3000${CL}"
+85
View File
@@ -0,0 +1,85 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/3xpyth0n/ideon
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt install -y build-essential
msg_ok "Installed Dependencies"
NODE_VERSION="24" setup_nodejs
PG_VERSION="18" setup_postgresql
PG_DB_NAME="ideon" PG_DB_USER="ideon" setup_postgresql_db
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
fetch_and_deploy_gh_release "ideon" "3xpyth0n/ideon" "tarball"
msg_info "Building Ideon"
cd /opt/ideon
$STD npm ci
NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production IS_NEXT_BUILD=1 $STD npm run build
$STD npm prune --omit=dev
rm -rf /opt/ideon/.next/cache ~/.npm
msg_ok "Built Ideon"
msg_info "Configuring Ideon"
mkdir -p /opt/ideon_data/storage/{avatars,uploads,yjs}
cat <<EOF >/opt/ideon_data/.env
NODE_ENV=production
APP_PORT=3000
APP_URL=http://${LOCAL_IP}:3000
AUTH_TRUST_HOST=true
TIMEZONE=UTC
LOG_LEVEL=info
DB_HOST=localhost
DB_PORT=5432
DB_NAME=ideon
DB_USER=ideon
DB_PASS=${PG_DB_PASS}
SECRET_KEY=$(openssl rand -hex 32)
SMTP_FROM_EMAIL=
SMTP_FROM_NAME=
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
SMTP_PORT=
SMTP_USE_TLS=true
EOF
chmod 600 /opt/ideon_data/.env
msg_ok "Configured Ideon"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/ideon.service
[Unit]
Description=Ideon
After=network.target postgresql.service
Requires=postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/ideon
EnvironmentFile=/opt/ideon_data/.env
ExecStart=/usr/bin/node dist/server.cjs
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now ideon
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc