Compare commits

...

30 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
01c6eb3a67 Update CHANGELOG.md (#6571)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-05 00:14:36 +00:00
community-scripts-pr-app[bot]
5aabc88723 Update versions.json (#6570)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-05 02:14:17 +02:00
community-scripts-pr-app[bot]
23340f5d24 Update CHANGELOG.md (#6569)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 22:31:29 +00:00
CanbiZ
77dcf87e6a Feat: enable tun for VPN services (#6562) 2025-08-05 00:31:07 +02:00
community-scripts-pr-app[bot]
d9cefc3777 Update CHANGELOG.md (#6563)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 16:37:34 +00:00
masterofrpm
7d6806e1fb turnkey: add hostname & Fix TUN access (#6512)
* Update turnkey.sh

Allow choosing container ID & add tun device access to the container. Also notify user that the credentials are stored in a file on the host machine.

* Update turnkey.sh

fixed how tun access is added by instead modifying the conf file of the container. Also added filtering to only add tun access if required. A few other minor verbiage changes/corrections.

* Update turnkey.sh

Corrected variable expansion.
2025-08-04 18:37:11 +02:00
community-scripts-pr-app[bot]
86d438c3a1 Update CHANGELOG.md (#6561)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 14:46:57 +00:00
Slaviša Arežina
fdc381e501 Refactor (#6559) 2025-08-04 16:46:32 +02:00
community-scripts-pr-app[bot]
3b1b8a7da2 Update CHANGELOG.md (#6558)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 13:45:29 +00:00
Slaviša Arežina
96f2c9c990 Refactor: PocketID (#6556)
* Refactor

* Fix
2025-08-04 15:45:02 +02:00
community-scripts-pr-app[bot]
349827aa97 Update CHANGELOG.md (#6557)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 13:43:31 +00:00
Slaviša Arežina
4dc458c605 Refactor (#6554) 2025-08-04 15:43:07 +02:00
community-scripts-pr-app[bot]
b5b6048697 Update CHANGELOG.md (#6553)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 12:39:15 +00:00
Slaviša Arežina
dc5fcb83e8 Refactor (#6548) 2025-08-04 14:38:48 +02:00
community-scripts-pr-app[bot]
db86049a3e Update CHANGELOG.md (#6552)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 12:37:49 +00:00
CanbiZ
e6ceca0bc7 MySpeed: fix update and copy old tests back (#6550)
* Update build.func

* Update myspeed.sh

* Update build.func

* Update build.func
2025-08-04 14:37:23 +02:00
community-scripts-pr-app[bot]
d24425efad Update CHANGELOG.md (#6551)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 12:36:28 +00:00
CanbiZ
3dda41df94 Increase: Core Network check (pre-LXC Creation) (#6546)
* Update build.func

* Update build.func

* Update build.func
2025-08-04 14:36:02 +02:00
community-scripts-pr-app[bot]
fc77ca85e4 Update CHANGELOG.md (#6549)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 12:12:41 +00:00
CanbiZ
db09b9cc36 Composer: PATH Issues when updating (#6543)
* Update build.func

* Composer: Path Issues with old installs

* Update build.func

* comment
2025-08-04 14:12:18 +02:00
community-scripts-pr-app[bot]
9f933c1e56 Update versions.json (#6547)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 14:06:39 +02:00
CanbiZ
efe45185fc composer diagnose verbose 2025-08-04 10:50:51 +02:00
community-scripts-pr-app[bot]
0a56fee31e Update date in json (#6538)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2025-08-04 10:17:47 +02:00
community-scripts-pr-app[bot]
20048d442a Update CHANGELOG.md (#6540)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 08:17:37 +00:00
community-scripts-pr-app[bot]
b1be93155c Update CHANGELOG.md (#6539)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 08:17:17 +00:00
community-scripts-pr-app[bot]
1e2eb31560 Update date in json (#6537)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2025-08-04 08:17:12 +00:00
push-app-to-main[bot]
ca701632e1 'Add new script' (#6534)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2025-08-04 10:16:57 +02:00
push-app-to-main[bot]
c3c5a7584b ots (#6532)
* 'Add new script'

* curl

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-08-04 10:16:50 +02:00
community-scripts-pr-app[bot]
3cd1fc7bce Update CHANGELOG.md (#6531)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-04 07:15:55 +00:00
Slaviša Arežina
1c7a39438c Refactor (#6528) 2025-08-04 09:15:32 +02:00
27 changed files with 750 additions and 276 deletions

View File

@@ -10,8 +10,36 @@
> [!CAUTION] > [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes. Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-08-05
## 2025-08-04 ## 2025-08-04
### 🆕 New Scripts
- Tududi ([#6534](https://github.com/community-scripts/ProxmoxVE/pull/6534))
- ots ([#6532](https://github.com/community-scripts/ProxmoxVE/pull/6532))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- MySpeed: fix update and copy old tests back [@MickLesk](https://github.com/MickLesk) ([#6550](https://github.com/community-scripts/ProxmoxVE/pull/6550))
- Composer: PATH Issues when updating [@MickLesk](https://github.com/MickLesk) ([#6543](https://github.com/community-scripts/ProxmoxVE/pull/6543))
- #### ✨ New Features
- Feat: enable tun for VPN services (wireguard) [@MickLesk](https://github.com/MickLesk) ([#6562](https://github.com/community-scripts/ProxmoxVE/pull/6562))
- turnkey: add hostname & Fix TUN access [@masterofrpm](https://github.com/masterofrpm) ([#6512](https://github.com/community-scripts/ProxmoxVE/pull/6512))
- Increase: Core Network check (pre-LXC Creation) [@MickLesk](https://github.com/MickLesk) ([#6546](https://github.com/community-scripts/ProxmoxVE/pull/6546))
- #### 🔧 Refactor
- Refactor: PrivateBin [@tremor021](https://github.com/tremor021) ([#6559](https://github.com/community-scripts/ProxmoxVE/pull/6559))
- Refactor: PocketID [@tremor021](https://github.com/tremor021) ([#6556](https://github.com/community-scripts/ProxmoxVE/pull/6556))
- Refactor: Pocketbase [@tremor021](https://github.com/tremor021) ([#6554](https://github.com/community-scripts/ProxmoxVE/pull/6554))
- Refactor: NocoDB [@tremor021](https://github.com/tremor021) ([#6548](https://github.com/community-scripts/ProxmoxVE/pull/6548))
- Refactor: PairDrop [@tremor021](https://github.com/tremor021) ([#6528](https://github.com/community-scripts/ProxmoxVE/pull/6528))
## 2025-08-03 ## 2025-08-03
### 🚀 Updated Scripts ### 🚀 Updated Scripts

View File

@@ -13,6 +13,7 @@ var_disk="${var_disk:-1}"
var_os="${var_os:-alpine}" var_os="${var_os:-alpine}"
var_version="${var_version:-3.22}" var_version="${var_version:-3.22}"
var_unprivileged="${var_unprivileged:-1}" var_unprivileged="${var_unprivileged:-1}"
var_tun="${var_tun:-1}"
header_info "$APP" header_info "$APP"
variables variables

6
ct/headers/ots Normal file
View File

@@ -0,0 +1,6 @@
____ ___________
/ __ \/_ __/ ___/
/ / / / / / \__ \
/ /_/ / / / ___/ /
\____/ /_/ /____/

6
ct/headers/tududi Normal file
View File

@@ -0,0 +1,6 @@
______ __ ___
/_ __/_ ______/ /_ ______/ (_)
/ / / / / / __ / / / / __ / /
/ / / /_/ / /_/ / /_/ / /_/ / /
/_/ \__,_/\__,_/\__,_/\__,_/_/

View File

@@ -44,6 +44,7 @@ function update_script() {
msg_info "Updating ${APP} to ${RELEASE}" msg_info "Updating ${APP} to ${RELEASE}"
cd /opt/myspeed cd /opt/myspeed
$STD npm install $STD npm install
cp -r /opt/myspeed_bak/data/* /opt/myspeed/data/
msg_ok "Updated ${APP} to ${RELEASE}" msg_ok "Updated ${APP} to ${RELEASE}"
msg_info "Starting ${APP} Service" msg_info "Starting ${APP} Service"

View File

@@ -27,15 +27,24 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_info "Updating ${APP}"
systemctl stop nocodb.service RELEASE=$(curl -fsSL https://api.github.com/repos/nocodb/nocodb/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
cd /opt/nocodb if [[ ! -f ~/.nocodb ]] || [[ "${RELEASE}" != "$(cat ~/.nocodb)" ]]; then
rm -rf nocodb msg_info "Stopping Service"
curl -fsSL http://get.nocodb.com/linux-x64 -o nocodb -L systemctl stop nocodb
chmod +x nocodb msg_ok "Stopped Service"
systemctl start nocodb.service
fetch_and_deploy_gh_release "nocodb" "nocodb/nocodb" "singlefile" "latest" "/opt/nocodb/" "Noco-linux-x64"
msg_info "Starting Service"
systemctl start nocodb
msg_ok "Started Service"
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
exit else
msg_ok "No update required. ${APP} is already at v${RELEASE}"
fi
exit
} }
start start
@@ -45,4 +54,4 @@ description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/dashboard${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/dashboard${CL}"

58
ct/ots.sh Normal file
View File

@@ -0,0 +1,58 @@
#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: bvdberg01
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/Luzifer/ots
APP="OTS"
var_tags="${var_tags:-secrets-sharer}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}"
var_disk="${var_disk:-3}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"
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/ots ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/Luzifer/ots/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ "${RELEASE}" != "$(cat ~/.ots 2>/dev/null)" ]] || [[ ! -f ~/.ots ]]; then
msg_info "Stopping ${APP} Service"
systemctl stop ots
systemctl stop nginx
msg_ok "Stopped ${APP} Service"
fetch_and_deploy_gh_release "ots" "Luzifer/ots" "prebuild" "latest" "/opt/ots" "ots_linux_amd64.tgz"
msg_info "Stopping ${APP} Service"
systemctl start ots
systemctl start nginx
msg_ok "Stopped ${APP} Service"
msg_ok "Updated Successfully"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
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 "${TAB}${GATEWAY}${BGN}https://${IP}${CL}"

View File

@@ -27,13 +27,28 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_info "Updating $APP"
systemctl stop pairdrop RELEASE=$(curl -fsSL https://api.github.com/repos/schlagmichdoch/PairDrop/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
cd /opt/pairdrop if [[ ! -f ~/.pairdrop ]] || [[ "${RELEASE}" != "$(cat ~/.pairdrop)" ]]; then
git pull msg_info "Stopping ${APP}"
npm install systemctl stop pairdrop
systemctl start pairdrop msg_ok "Stopped ${APP}"
msg_ok "Updated $APP"
fetch_and_deploy_gh_release "pairdrop" "schlagmichdoch/PairDrop" "tarball"
msg_info "Configuring PairDrop"
cd /opt/pairdrop
$STD npm install
msg_ok "Configured PairDrop"
msg_info "Starting ${APP}"
systemctl start pairdrop
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}."
fi
exit exit
} }
@@ -44,4 +59,4 @@ description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"

View File

@@ -27,18 +27,26 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_info "Stopping ${APP}"
systemctl stop pocketbase
msg_ok "Stopped ${APP}"
msg_info "Updating ${APP}" RELEASE=$(curl -s https://api.github.com/repos/pocketbase/pocketbase/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
/opt/pocketbase/pocketbase update if [[ "${RELEASE}" != "$(cat ~/.pocketbase 2>/dev/null)" ]] || [[ ! -f ~/.pocketbase ]]; then
msg_ok "Updated ${APP}" msg_info "Stopping ${APP}"
systemctl stop pocketbase
msg_ok "Stopped ${APP}"
msg_info "Starting ${APP}" msg_info "Updating ${APP}"
systemctl start pocketbase /opt/pocketbase/pocketbase update
msg_ok "Started ${APP}" echo "${RELEASE}" > ~/.pocketbase
msg_ok "Updated Successfully" msg_ok "Updated ${APP}"
msg_info "Starting ${APP}"
systemctl start pocketbase
msg_ok "Started ${APP}"
msg_ok "Update Successful"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
fi
exit exit
} }
@@ -49,4 +57,4 @@ description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/_/${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/_/${CL}"

View File

@@ -29,9 +29,10 @@ function update_script() {
exit exit
fi fi
[[ -f /opt/${APP}_version.txt ]] && mv /opt/${APP}_version.txt ~/.pocket-id
RELEASE=$(curl -fsSL https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=$(curl -fsSL https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then if [[ "${RELEASE}" != "$(cat ~/.pocket-id)" ]] || [[ ! -f ~/.pocket-id ]]; then
if [[ "$(cat /opt/${APP}_version.txt)" < "1.0.0" ]]; then if [[ "$(cat ~/.pocket-id)" < "1.0.0" ]]; then
msg_info "Migrating ${APP} to v${RELEASE}" msg_info "Migrating ${APP} to v${RELEASE}"
systemctl -q disable --now pocketid-backend pocketid-frontend caddy systemctl -q disable --now pocketid-backend pocketid-frontend caddy
mv /etc/caddy/Caddyfile ~/Caddyfile.bak mv /etc/caddy/Caddyfile ~/Caddyfile.bak
@@ -58,19 +59,19 @@ function update_script() {
mv /opt/data /opt/pocket-id mv /opt/data /opt/pocket-id
msg_ok "Migration complete. The reverse proxy port has been changed to 1411." msg_ok "Migration complete. The reverse proxy port has been changed to 1411."
else else
msg_info "Updating $APP to v${RELEASE}" msg_info "Stopping ${APP}"
systemctl stop pocketid systemctl stop pocketid
msg_ok "Stopped ${APP}"
cp /opt/pocket-id/.env /opt/env cp /opt/pocket-id/.env /opt/env
fi fi
curl -fsSL "https://github.com/pocket-id/pocket-id/releases/download/v${RELEASE}/pocket-id-linux-amd64" -o /opt/pocket-id/pocket-id
chmod u+x /opt/pocket-id/pocket-id fetch_and_deploy_gh_release "pocket-id" "pocket-id/pocket-id" "singlefile" "latest" "/opt/pocket-id/" "pocket-id-linux-amd64"
mv /opt/env /opt/pocket-id/.env mv /opt/env /opt/pocket-id/.env
msg_info "Starting $APP" msg_info "Starting $APP"
systemctl start pocketid systemctl start pocketid
msg_ok "Started $APP" msg_ok "Started $APP"
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Update Successful" msg_ok "Update Successful"
else else
msg_ok "No update required. ${APP} is already at ${RELEASE}" msg_ok "No update required. ${APP} is already at ${RELEASE}"

View File

@@ -27,22 +27,25 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
RELEASE=$(curl -fsSL https://api.github.com/repos/PrivateBin/PrivateBin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') RELEASE=$(curl -fsSL https://api.github.com/repos/PrivateBin/PrivateBin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then if [[ ! -f ~/.privatebin ]] || [[ "${RELEASE}" != "$(cat ~/.privatebin)" ]]; then
msg_info "Updating ${APP} to v${RELEASE}" msg_info "Creating backup"
echo "${RELEASE}" >/opt/${APP}_version.txt
cp -f /opt/privatebin/cfg/conf.php /tmp/privatebin_conf.bak cp -f /opt/privatebin/cfg/conf.php /tmp/privatebin_conf.bak
curl -fsSL "https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${RELEASE}.zip" -o $(basename "https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${RELEASE}.zip") msg_ok "Backup created"
$STD unzip ${RELEASE}.zip
rm -rf /opt/privatebin/* rm -rf /opt/privatebin/*
mv PrivateBin-${RELEASE}/* /opt/privatebin/ fetch_and_deploy_gh_release "privatebin" "PrivateBin/PrivateBin" "tarball"
msg_info "Configuring ${APP}"
mkdir -p /opt/privatebin/data
mv /tmp/privatebin_conf.bak /opt/privatebin/cfg/conf.php mv /tmp/privatebin_conf.bak /opt/privatebin/cfg/conf.php
chown -R www-data:www-data /opt/privatebin chown -R www-data:www-data /opt/privatebin
chmod -R 0755 /opt/privatebin/data chmod -R 0755 /opt/privatebin/data}
echo "${RELEASE}" >/opt/${APP}_version.txt
rm -rf ${RELEASE}.zip PrivateBin-${RELEASE}
systemctl reload nginx php8.2-fpm systemctl reload nginx php8.2-fpm
msg_ok "Updated ${APP} to v${RELEASE}" msg_ok "Configured ${APP}"
msg_ok "Successfully updated"
else else
msg_ok "No update required. ${APP} is already at v${RELEASE}" msg_ok "No update required. ${APP} is already at v${RELEASE}"
fi fi

72
ct/tududi.sh Normal file
View File

@@ -0,0 +1,72 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: vhsdream
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://tududi.com
APP="Tududi"
var_tags="${var_tags:-todo-app}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-4}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"
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/tududi ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/chrisvel/tududi/releases/latest | yq '.tag_name' | sed 's/^v//')
if [[ "${RELEASE}" != "$(cat ~/.tududi 2>/dev/null)" ]] || [[ ! -f ~/.tududi ]]; then
msg_info "Stopping Service"
systemctl stop tududi
msg_ok "Stopped Service"
msg_info "Remove and backup Files"
cp /opt/tududi/backend/.env /opt/tududi.env
rm -rf /opt/tududi/backend/dist
msg_ok "Backup and removed Files"
fetch_and_deploy_gh_release "tududi" "chrisvel/tududi"
msg_info "Updating ${APP}"
cd /opt/tududi
$STD npm install
export NODE_ENV=production
$STD npm run frontend:build
mv ./dist ./backend
mv ./public/locales ./backend/dist
mv ./public/favicon.* ./backend/dist
mv /opt/tududi.env /opt/tududi/.env
msg_ok "Updated $APP"
msg_info "Starting Service"
systemctl start tududi
msg_ok "Started Service"
msg_ok "Updated Successfully"
else
msg_ok "Already up to date"
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 "${TAB}${GATEWAY}${BGN}http://${IP}:3002${CL}"

View File

@@ -13,6 +13,7 @@ var_disk="${var_disk:-4}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-12}" var_version="${var_version:-12}"
var_unprivileged="${var_unprivileged:-1}" var_unprivileged="${var_unprivileged:-1}"
var_tun="${var_tun:-1}"
header_info "$APP" header_info "$APP"
variables variables
@@ -20,20 +21,20 @@ color
catch_errors catch_errors
function update_script() { function update_script() {
header_info header_info
check_container_storage check_container_storage
check_container_resources check_container_resources
if [[ ! -d /etc/wireguard ]]; then if [[ ! -d /etc/wireguard ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit
fi
apt-get update
apt-get -y upgrade
sleep 2
cd /etc/wgdashboard/src
./wgd.sh update
./wgd.sh start
exit exit
fi
apt-get update
apt-get -y upgrade
sleep 2
cd /etc/wgdashboard/src
./wgd.sh update
./wgd.sh start
exit
} }
start start
@@ -43,4 +44,4 @@ description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} WGDashboard Access it using the following URL:${CL}" echo -e "${INFO}${YW} WGDashboard Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:10086${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:10086${CL}"

View File

@@ -0,0 +1,40 @@
{
"name": "OTS",
"slug": "ots",
"categories": [
6
],
"date_created": "2025-08-04",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 443,
"documentation": "https://github.com/Luzifer/ots/wiki",
"config_path": "/opt/ots/.env",
"website": "https://github.com/Luzifer/ots",
"logo": null,
"description": "One-Time-Secret sharing platform with a symmetric 256bit AES encryption in the browser.",
"install_methods": [
{
"type": "default",
"script": "ct/ots.sh",
"resources": {
"cpu": 1,
"ram": 512,
"hdd": 3,
"os": "Debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "When it is in used external please use it behind reverse proxy or create your own certificates",
"type": "info"
}
]
}

View File

@@ -6,7 +6,7 @@
], ],
"date_created": "2024-05-02", "date_created": "2024-05-02",
"type": "ct", "type": "ct",
"updateable": false, "updateable": true,
"privileged": false, "privileged": false,
"interface_port": 3000, "interface_port": 3000,
"documentation": "https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md", "documentation": "https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md",

View File

@@ -0,0 +1,44 @@
{
"name": "Tududi",
"slug": "tududi",
"categories": [
12
],
"date_created": "2025-08-04",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 3002,
"documentation": null,
"config_path": "/opt/tududi/backend/.env",
"website": "https://tududi.com/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/tududi.webp",
"description": "Self-hosted task management with functional programming architecture, hierarchical organization, and multi-language support.",
"install_methods": [
{
"type": "default",
"script": "ct/tududi.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 4,
"os": "Debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Create users like this: `cd /opt/tududi` => `npm run user:create <email> <password>`",
"type": "info"
},
{
"text": "Database location: `/opt/tududi-db`. Uploads: `/opt/tududi-uploads`",
"type": "info"
}
]
}

View File

@@ -1,4 +1,129 @@
[ [
{
"name": "rcourtman/Pulse",
"version": "v4.0.0",
"date": "2025-08-04T20:20:02Z"
},
{
"name": "mongodb/mongo",
"version": "r8.1.3-rc0",
"date": "2025-08-04T19:23:12Z"
},
{
"name": "go-gitea/gitea",
"version": "v1.24.4",
"date": "2025-08-04T18:58:27Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.21",
"date": "2025-07-17T04:46:25Z"
},
{
"name": "Dolibarr/dolibarr",
"version": "22.0.0",
"date": "2025-08-04T16:23:05Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.2",
"date": "2025-07-08T13:52:33Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.7",
"date": "2025-08-04T15:33:31Z"
},
{
"name": "wizarrrr/wizarr",
"version": "2025.8.1",
"date": "2025-08-04T15:23:03Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-ui@15.6.9",
"date": "2025-08-04T15:14:52Z"
},
{
"name": "VictoriaMetrics/VictoriaMetrics",
"version": "pmm-6401-v1.123.0",
"date": "2025-08-04T15:11:36Z"
},
{
"name": "home-assistant/operating-system",
"version": "16.0",
"date": "2025-07-09T13:28:43Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.2.8",
"date": "2025-08-04T13:44:03Z"
},
{
"name": "apache/tomcat",
"version": "10.1.44",
"date": "2025-08-04T13:17:59Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.104.2",
"date": "2025-07-31T13:14:26Z"
},
{
"name": "meilisearch/meilisearch",
"version": "latest",
"date": "2025-08-04T12:41:18Z"
},
{
"name": "Checkmk/checkmk",
"version": "v2.4.0p9-rc1",
"date": "2025-08-04T12:19:49Z"
},
{
"name": "rabbitmq/rabbitmq-server",
"version": "v4.1.3",
"date": "2025-08-04T12:13:45Z"
},
{
"name": "redis/redis",
"version": "8.2.0",
"date": "2025-08-04T11:14:00Z"
},
{
"name": "raydak-labs/configarr",
"version": "v1.14.0",
"date": "2025-08-04T10:55:20Z"
},
{
"name": "home-assistant/core",
"version": "2025.7.4",
"date": "2025-07-28T08:15:50Z"
},
{
"name": "evcc-io/evcc",
"version": "0.207.1",
"date": "2025-08-04T06:56:14Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2225",
"date": "2025-08-04T06:35:27Z"
},
{
"name": "henrygd/beszel",
"version": "v0.12.3",
"date": "2025-08-04T02:21:16Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
},
{
"name": "garethgeorge/backrest",
"version": "v1.9.0",
"date": "2025-08-04T00:12:47Z"
},
{ {
"name": "benjaminjonard/koillection", "name": "benjaminjonard/koillection",
"version": "1.6.18", "version": "1.6.18",
@@ -29,21 +154,11 @@
"version": "v1.4.3", "version": "v1.4.3",
"date": "2025-08-03T15:19:16Z" "date": "2025-08-03T15:19:16Z"
}, },
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.21",
"date": "2025-07-17T04:46:25Z"
},
{ {
"name": "blakeblackshear/frigate", "name": "blakeblackshear/frigate",
"version": "v0.14.1", "version": "v0.14.1",
"date": "2024-08-29T22:32:51Z" "date": "2024-08-29T22:32:51Z"
}, },
{
"name": "Dolibarr/dolibarr",
"version": "22.0.0",
"date": "2025-08-03T12:07:59Z"
},
{ {
"name": "Lidarr/Lidarr", "name": "Lidarr/Lidarr",
"version": "v2.12.4.4658", "version": "v2.12.4.4658",
@@ -54,21 +169,11 @@
"version": "v5.26.2.10099", "version": "v5.26.2.10099",
"date": "2025-06-11T20:10:39Z" "date": "2025-06-11T20:10:39Z"
}, },
{
"name": "Jackett/Jackett",
"version": "v0.22.2223",
"date": "2025-08-03T06:03:15Z"
},
{ {
"name": "MediaBrowser/Emby.Releases", "name": "MediaBrowser/Emby.Releases",
"version": "4.9.1.2", "version": "4.9.1.2",
"date": "2025-06-26T22:08:00Z" "date": "2025-06-26T22:08:00Z"
}, },
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
},
{ {
"name": "advplyr/audiobookshelf", "name": "advplyr/audiobookshelf",
"version": "v2.27.0", "version": "v2.27.0",
@@ -94,21 +199,11 @@
"version": "v25.8.0", "version": "v25.8.0",
"date": "2025-08-02T16:17:45Z" "date": "2025-08-02T16:17:45Z"
}, },
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-core@15.6.8",
"date": "2025-08-02T09:44:14Z"
},
{ {
"name": "inspircd/inspircd", "name": "inspircd/inspircd",
"version": "v4.8.0", "version": "v4.8.0",
"date": "2025-08-02T09:12:10Z" "date": "2025-08-02T09:12:10Z"
}, },
{
"name": "evcc-io/evcc",
"version": "0.207.0",
"date": "2025-08-02T09:09:08Z"
},
{ {
"name": "donaldzou/WGDashboard", "name": "donaldzou/WGDashboard",
"version": "v4.2.5", "version": "v4.2.5",
@@ -124,16 +219,6 @@
"version": "v0.29.1", "version": "v0.29.1",
"date": "2025-08-02T05:51:37Z" "date": "2025-08-02T05:51:37Z"
}, },
{
"name": "henrygd/beszel",
"version": "v0.12.2",
"date": "2025-08-02T01:12:52Z"
},
{
"name": "mongodb/mongo",
"version": "r8.2.0-rc2",
"date": "2025-08-01T23:31:28Z"
},
{ {
"name": "docmost/docmost", "name": "docmost/docmost",
"version": "v0.22.2", "version": "v0.22.2",
@@ -179,16 +264,16 @@
"version": "2025.07.31", "version": "2025.07.31",
"date": "2025-08-01T14:44:48Z" "date": "2025-08-01T14:44:48Z"
}, },
{
"name": "n8n-io/n8n",
"version": "n8n@1.104.2",
"date": "2025-07-31T13:14:26Z"
},
{ {
"name": "element-hq/synapse", "name": "element-hq/synapse",
"version": "v1.135.0", "version": "v1.135.0",
"date": "2025-08-01T12:43:17Z" "date": "2025-08-01T12:43:17Z"
}, },
{
"name": "neo4j/neo4j",
"version": "5.26.10",
"date": "2025-08-01T09:43:18Z"
},
{ {
"name": "crowdsecurity/crowdsec", "name": "crowdsecurity/crowdsec",
"version": "v1.6.11", "version": "v1.6.11",
@@ -199,11 +284,6 @@
"version": "v11.0.1", "version": "v11.0.1",
"date": "2025-08-01T07:43:59Z" "date": "2025-08-01T07:43:59Z"
}, },
{
"name": "meilisearch/meilisearch",
"version": "prototype-arroy-becomes-hannoy-8",
"date": "2025-08-01T07:34:21Z"
},
{ {
"name": "mattermost/mattermost", "name": "mattermost/mattermost",
"version": "server/public/v0.1.16", "version": "server/public/v0.1.16",
@@ -229,11 +309,6 @@
"version": "v1.2.3", "version": "v1.2.3",
"date": "2025-07-31T19:18:36Z" "date": "2025-07-31T19:18:36Z"
}, },
{
"name": "apache/tomcat",
"version": "9.0.108",
"date": "2025-07-31T18:24:50Z"
},
{ {
"name": "Suwayomi/Suwayomi-Server", "name": "Suwayomi/Suwayomi-Server",
"version": "v2.1.1867", "version": "v2.1.1867",
@@ -244,11 +319,6 @@
"version": "2.0.1", "version": "2.0.1",
"date": "2025-07-31T17:29:38Z" "date": "2025-07-31T17:29:38Z"
}, },
{
"name": "home-assistant/core",
"version": "2025.7.4",
"date": "2025-07-28T08:15:50Z"
},
{ {
"name": "TryGhost/Ghost-CLI", "name": "TryGhost/Ghost-CLI",
"version": "v1.28.2", "version": "v1.28.2",
@@ -264,21 +334,11 @@
"version": "v1.1.1", "version": "v1.1.1",
"date": "2025-07-31T12:16:54Z" "date": "2025-07-31T12:16:54Z"
}, },
{
"name": "Paymenter/Paymenter",
"version": "v1.2.7",
"date": "2025-07-31T09:50:54Z"
},
{ {
"name": "apache/cassandra", "name": "apache/cassandra",
"version": "5.0.5-tentative", "version": "5.0.5-tentative",
"date": "2025-07-31T09:40:54Z" "date": "2025-07-31T09:40:54Z"
}, },
{
"name": "redis/redis",
"version": "8.2-int",
"date": "2025-07-31T09:01:24Z"
},
{ {
"name": "ollama/ollama", "name": "ollama/ollama",
"version": "v0.10.1", "version": "v0.10.1",
@@ -309,11 +369,6 @@
"version": "v2.16.0-beta6", "version": "v2.16.0-beta6",
"date": "2025-07-23T19:18:14Z" "date": "2025-07-23T19:18:14Z"
}, },
{
"name": "wizarrrr/wizarr",
"version": "2025.7.8",
"date": "2025-07-30T18:17:51Z"
},
{ {
"name": "oauth2-proxy/oauth2-proxy", "name": "oauth2-proxy/oauth2-proxy",
"version": "v7.11.0", "version": "v7.11.0",
@@ -324,11 +379,6 @@
"version": "v2025-07-30", "version": "v2025-07-30",
"date": "2025-07-30T17:13:40Z" "date": "2025-07-30T17:13:40Z"
}, },
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.2",
"date": "2025-07-08T13:52:33Z"
},
{ {
"name": "dgtlmoon/changedetection.io", "name": "dgtlmoon/changedetection.io",
"version": "0.50.8", "version": "0.50.8",
@@ -424,11 +474,6 @@
"version": "7.0.0-alpha.1", "version": "7.0.0-alpha.1",
"date": "2025-07-28T11:28:22Z" "date": "2025-07-28T11:28:22Z"
}, },
{
"name": "Checkmk/checkmk",
"version": "v2.3.0p35",
"date": "2025-07-28T08:32:54Z"
},
{ {
"name": "PrivateBin/PrivateBin", "name": "PrivateBin/PrivateBin",
"version": "2.0.0", "version": "2.0.0",
@@ -524,31 +569,16 @@
"version": "343", "version": "343",
"date": "2025-07-23T11:21:34Z" "date": "2025-07-23T11:21:34Z"
}, },
{
"name": "neo4j/neo4j",
"version": "2025.07.0",
"date": "2025-07-23T10:13:43Z"
},
{ {
"name": "jhuckaby/Cronicle", "name": "jhuckaby/Cronicle",
"version": "v0.9.85", "version": "v0.9.85",
"date": "2025-07-22T23:49:53Z" "date": "2025-07-22T23:49:53Z"
}, },
{
"name": "raydak-labs/configarr",
"version": "v1.13.7",
"date": "2025-07-22T20:41:45Z"
},
{ {
"name": "TasmoAdmin/TasmoAdmin", "name": "TasmoAdmin/TasmoAdmin",
"version": "v4.3.1", "version": "v4.3.1",
"date": "2025-07-22T20:10:08Z" "date": "2025-07-22T20:10:08Z"
}, },
{
"name": "rcourtman/Pulse",
"version": "v3.42.0",
"date": "2025-07-14T22:07:28Z"
},
{ {
"name": "PCJones/UmlautAdaptarr", "name": "PCJones/UmlautAdaptarr",
"version": "v0.7.3", "version": "v0.7.3",
@@ -584,11 +614,6 @@
"version": "v1.13.1", "version": "v1.13.1",
"date": "2025-07-21T11:57:03Z" "date": "2025-07-21T11:57:03Z"
}, },
{
"name": "VictoriaMetrics/VictoriaMetrics",
"version": "pmm-6401-v1.122.0",
"date": "2025-07-21T10:40:07Z"
},
{ {
"name": "nzbgetcom/nzbget", "name": "nzbgetcom/nzbget",
"version": "v25.2", "version": "v25.2",
@@ -679,11 +704,6 @@
"version": "4.3.0", "version": "4.3.0",
"date": "2025-07-15T09:54:38Z" "date": "2025-07-15T09:54:38Z"
}, },
{
"name": "go-gitea/gitea",
"version": "v1.24.3",
"date": "2025-07-15T04:56:24Z"
},
{ {
"name": "pi-hole/pi-hole", "name": "pi-hole/pi-hole",
"version": "v6.1.4", "version": "v6.1.4",
@@ -779,11 +799,6 @@
"version": "v1.70.3", "version": "v1.70.3",
"date": "2025-07-09T15:06:31Z" "date": "2025-07-09T15:06:31Z"
}, },
{
"name": "home-assistant/operating-system",
"version": "16.0",
"date": "2025-07-09T13:28:43Z"
},
{ {
"name": "mysql/mysql-server", "name": "mysql/mysql-server",
"version": "mysql-cluster-9.4.0", "version": "mysql-cluster-9.4.0",
@@ -834,11 +849,6 @@
"version": "2025.7.0", "version": "2025.7.0",
"date": "2025-07-03T17:08:15Z" "date": "2025-07-03T17:08:15Z"
}, },
{
"name": "rabbitmq/rabbitmq-server",
"version": "v4.1.2",
"date": "2025-07-03T16:59:29Z"
},
{ {
"name": "qbittorrent/qBittorrent", "name": "qbittorrent/qBittorrent",
"version": "release-5.1.2", "version": "release-5.1.2",
@@ -1069,11 +1079,6 @@
"version": "0.5", "version": "0.5",
"date": "2025-05-21T20:19:14Z" "date": "2025-05-21T20:19:14Z"
}, },
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.6.1",
"date": "2025-05-18T17:01:42Z"
},
{ {
"name": "hansmi/prometheus-paperless-exporter", "name": "hansmi/prometheus-paperless-exporter",
"version": "v0.0.8", "version": "v0.0.8",
@@ -1109,11 +1114,6 @@
"version": "2025-05-07-r1", "version": "2025-05-07-r1",
"date": "2025-05-07T12:18:42Z" "date": "2025-05-07T12:18:42Z"
}, },
{
"name": "garethgeorge/backrest",
"version": "v1.8.1",
"date": "2025-05-06T04:27:00Z"
},
{ {
"name": "apache/couchdb", "name": "apache/couchdb",
"version": "3.5.0", "version": "3.5.0",

View File

@@ -13,15 +13,10 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing NocoDB" fetch_and_deploy_gh_release "nocodb" "nocodb/nocodb" "singlefile" "latest" "/opt/nocodb/" "Noco-linux-x64"
mkdir -p /opt/nocodb
cd /opt/nocodb
curl -fsSL http://get.nocodb.com/linux-x64 -o nocodb -L
chmod +x nocodb
msg_ok "Installed NocoDB"
msg_info "Creating Service" msg_info "Creating Service"
service_path="/etc/systemd/system/nocodb.service" cat <<EOF >/etc/systemd/system/nocodb.service
echo "[Unit] echo "[Unit]
Description=nocodb Description=nocodb
@@ -33,7 +28,8 @@ WorkingDirectory=/opt/nocodb
ExecStart=/opt/nocodb/./nocodb ExecStart=/opt/nocodb/./nocodb
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target
EOF
systemctl enable -q --now nocodb systemctl enable -q --now nocodb
msg_ok "Created Service" msg_ok "Created Service"

103
install/ots-install.sh Normal file
View File

@@ -0,0 +1,103 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG
# Author: bvberg01
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/Luzifer/ots
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
redis-server \
nginx \
openssl
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "ots" "Luzifer/ots" "prebuild" "latest" "/opt/ots" "ots_linux_amd64.tgz"
msg_info "Setup OTS"
cat <<EOF >/opt/ots/.env
LISTEN=127.0.0.1:3000
REDIS_URL=redis://127.0.0.1:6379
SECRET_EXPIRY=604800
STORAGE_TYPE=redis
EOF
msg_ok "Setup OTS"
msg_info "Generating Universal SSL Certificate"
mkdir -p /etc/ssl/ots
$STD openssl req -x509 -nodes -days 3650 -newkey rsa:2048 \
-keyout /etc/ssl/ots/key.pem \
-out /etc/ssl/ots/cert.pem \
-subj "/CN=ots"
msg_ok "Certificate Generated"
msg_info "Setting up nginx"
cat <<EOF >/etc/nginx/sites-available/ots.conf
server {
listen 80;
listen [::]:80;
server_name ots;
return 301 https://\$host\$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name ots;
ssl_certificate /etc/ssl/ots/cert.pem;
ssl_certificate_key /etc/ssl/ots/key.pem;
location / {
add_header X-Robots-Tag noindex;
proxy_set_header Upgrade \$http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host \$host;
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;
client_max_body_size 64M;
proxy_pass http://127.0.0.1:3000/;
}
}
EOF
ln -s /etc/nginx/sites-available/ots.conf /etc/nginx/sites-enabled/
rm -f /etc/nginx/sites-enabled/default
$STD systemctl reload nginx
msg_ok "Configured nginx"
msg_info "Creating Services"
cat <<EOF >/etc/systemd/system/ots.service
[Unit]
Description=One-Time-Secret Service
After=network-online.target
Requires=network-online.target
[Service]
EnvironmentFile=/opt/ots/.env
ExecStart=/opt/ots/ots
Restart=Always
RestartSecs=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now ots
msg_ok "Created Services"
motd_ssh
customize
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"

View File

@@ -13,15 +13,10 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
git
msg_ok "Installed Dependencies"
NODE_VERSION="22" setup_nodejs NODE_VERSION="22" setup_nodejs
fetch_and_deploy_gh_release "pairdrop" "schlagmichdoch/PairDrop" "tarball"
msg_info "Installing PairDrop" msg_info "Configuring PairDrop"
git clone -q https://github.com/schlagmichdoch/PairDrop.git /opt/pairdrop
cd /opt/pairdrop cd /opt/pairdrop
$STD npm install $STD npm install
msg_ok "Installed PairDrop" msg_ok "Installed PairDrop"

View File

@@ -13,12 +13,13 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Pocketbase" fetch_and_deploy_gh_release "pocketbase" "pocketbase/pocketbase" "prebuild" "latest" "/opt/pocketbase" "pocketbase*linux_amd64.zip"
RELEASE="$(curl -fsSL https://api.github.com/repos/pocketbase/pocketbase/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')"
curl -fsSL "https://github.com/pocketbase/pocketbase/releases/download/v${RELEASE}/pocketbase_${RELEASE}_linux_amd64.zip" -o "/tmp/pocketbase.zip"
mkdir -p /opt/pocketbase/{pb_public,pb_migrations,pb_hooks}
$STD unzip -o /tmp/pocketbase.zip -d /opt/pocketbase
msg_info "Configuring Pocketbase"
mkdir -p /opt/pocketbase/{pb_public,pb_migrations,pb_hooks}
msg_ok "Configured Pocketbase"
msg_info "Creating service"
cat <<EOF >/etc/systemd/system/pocketbase.service cat <<EOF >/etc/systemd/system/pocketbase.service
[Unit] [Unit]
Description = pocketbase Description = pocketbase
@@ -35,15 +36,13 @@ ExecStart = /opt/pocketbase/pocketbase serve --http=0.0.0.0:8080
[Install] [Install]
WantedBy = multi-user.target WantedBy = multi-user.target
EOF EOF
systemctl enable -q --now pocketbase systemctl enable -q --now pocketbase
msg_ok "Installed Pocketbase" msg_ok "Service created"
motd_ssh motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf /tmp/pocketbase.zip
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"

View File

@@ -14,12 +14,9 @@ network_check
update_os update_os
read -r -p "${TAB3}What public URL do you want to use (e.g. pocketid.mydomain.com)? " public_url read -r -p "${TAB3}What public URL do you want to use (e.g. pocketid.mydomain.com)? " public_url
msg_info "Setup Pocket ID" fetch_and_deploy_gh_release "pocket-id" "pocket-id/pocket-id" "singlefile" "latest" "/opt/pocket-id/" "pocket-id-linux-amd64"
RELEASE=$(curl -fsSL https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
mkdir -p /opt/pocket-id
curl -fsSL "https://github.com/pocket-id/pocket-id/releases/download/v${RELEASE}/pocket-id-linux-amd64" -o /opt/pocket-id/pocket-id
chmod u+x /opt/pocket-id/pocket-id
msg_info "Configuring Pocket ID"
cat <<EOF >/opt/pocket-id/.env cat <<EOF >/opt/pocket-id/.env
APP_ENV=production APP_ENV=production
APP_URL=https://${public_url} APP_URL=https://${public_url}
@@ -28,8 +25,7 @@ TRUST_PROXY=false
PORT=1411 PORT=1411
HOST=0.0.0.0 HOST=0.0.0.0
EOF EOF
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Configured Pocket ID"
msg_ok "Setup Pocket ID"
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/pocketid.service cat <<EOF >/etc/systemd/system/pocketid.service
@@ -63,6 +59,3 @@ msg_info "Cleaning up"
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"
motd_ssh
customize

View File

@@ -16,20 +16,11 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
nginx \ nginx \
php8.2-fpm \
php8.2-{common,cli,gd,mbstring,xml,fpm,curl,zip} \
openssl openssl
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing PrivateBin" PHP_VERSION="8.2" PHP_MODULE="common,fpm" setup_php
RELEASE=$(curl -fsSL https://api.github.com/repos/PrivateBin/PrivateBin/releases/latest | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/') fetch_and_deploy_gh_release "privatebin" "PrivateBin/PrivateBin" "tarball"
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
mkdir -p /opt/privatebin
cd /opt/privatebin
curl -fsSL "https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${RELEASE}.zip" -o "${RELEASE}.zip"
$STD unzip ${RELEASE}.zip
mv PrivateBin-${RELEASE}/* .
msg_ok "Installed PrivateBin"
msg_info "Generating Universal SSL Certificate" msg_info "Generating Universal SSL Certificate"
mkdir -p /etc/ssl/privatebin mkdir -p /etc/ssl/privatebin
@@ -96,12 +87,10 @@ rm -f /etc/nginx/sites-enabled/default
systemctl reload nginx systemctl reload nginx
msg_ok "Nginx Configured" msg_ok "Nginx Configured"
motd_ssh
customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf /opt/privatebin/${RELEASE}.zip
rm -rf /opt/privatebin/PrivateBin-${RELEASE}
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"
motd_ssh
customize

76
install/tududi-install.sh Normal file
View File

@@ -0,0 +1,76 @@
#!/usr/bin/env bash
# Copyright (c) 2025 Community Scripts ORG
# Author: vhsdream
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://tududi.com/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
sqlite3 \
yq
msg_ok "Installed Dependencies"
NODE_VERSION="20" setup_nodejs
fetch_and_deploy_gh_release "tududi" "chrisvel/tududi"
msg_info "Configuring Tududi"
cd /opt/tududi
$STD npm install
export NODE_ENV=production
$STD npm run frontend:build
mv ./dist ./backend
mv ./public/locales ./backend/dist
mv ./public/favicon.* ./backend/dist
msg_ok "Configured Tududi"
msg_info "Creating env and database"
DB_LOCATION="/opt/tududi-db"
UPLOAD_DIR="/opt/tududi-uploads"
mkdir -p {"$DB_LOCATION","$UPLOAD_DIR"}
SECRET="$(openssl rand -hex 64)"
sed -e 's/^GOOGLE/# &/' \
-e '/TUDUDI_SESSION/s/^# //' \
-e '/NODE_ENV/s/^# //' \
-e "s/your_session_secret_here/$SECRET/" \
-e 's/development/production/' \
-e "\$a\DB_FILE=$DB_LOCATION/production.sqlite3" \
-e "\$a\TUDUDI_UPLOAD_PATH=$UPLOAD_DIR" \
/opt/tududi/backend/.env.example >/opt/tududi/backend/.env
export DB_FILE="$DB_LOCATION/production.sqlite3"
$STD npm run db:init
msg_ok "Created env and database"
msg_info "Creating service"
cat <<EOF >/etc/systemd/system/tududi.service
[Unit]
Description=Tududi Service
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/tududi
EnvironmentFile=/opt/tududi/backend/.env
ExecStart=/usr/bin/npm run start
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now tududi
msg_ok "Created service"
motd_ssh
customize
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"

View File

@@ -1282,36 +1282,42 @@ EOF
if [ "$var_os" != "alpine" ]; then if [ "$var_os" != "alpine" ]; then
msg_info "Waiting for network in LXC container" msg_info "Waiting for network in LXC container"
for i in {1..10}; do for i in {1..10}; do
# 1. Primary check: ICMP ping (fastest, but may be blocked by ISP/firewall)
if pct exec "$CTID" -- ping -c1 -W1 deb.debian.org >/dev/null 2>&1; then if pct exec "$CTID" -- ping -c1 -W1 deb.debian.org >/dev/null 2>&1; then
msg_ok "Network in LXC is reachable" msg_ok "Network in LXC is reachable (ping)"
break
fi
if pct exec "$CTID" -- curl -fsSIL --max-time 10 deb.debian.org >/dev/null 2>&1; then
msg_ok "Network in LXC is reachable"
break break
fi fi
# Wait and retry if not reachable yet
if [ "$i" -lt 10 ]; then if [ "$i" -lt 10 ]; then
msg_warn "No network yet in LXC (try $i/10) waiting..." msg_warn "No network in LXC yet (try $i/10) waiting..."
sleep 3 sleep 3
else else
msg_error "No network in LXC after waiting." # After 10 unsuccessful ping attempts, try HTTP connectivity via wget as fallback
read -r -p "Set fallback DNS (1.1.1.1/8.8.8.8)? [y/N]: " choice msg_warn "Ping failed 10 times. Trying HTTP connectivity check (wget) as fallback..."
case "$choice" in if pct exec "$CTID" -- wget -q --spider http://deb.debian.org; then
[yY]*) msg_ok "Network in LXC is reachable (wget fallback)"
pct set "$CTID" --nameserver 1.1.1.1 else
pct set "$CTID" --nameserver 8.8.8.8 msg_error "No network in LXC after all checks."
if pct exec "$CTID" -- ping -c1 -W1 deb.debian.org >/dev/null 2>&1; then read -r -p "Set fallback DNS (1.1.1.1/8.8.8.8)? [y/N]: " choice
msg_ok "Network reachable after DNS fallback" case "$choice" in
else [yY]*)
msg_error "Still no network/DNS in LXC! Aborting customization." pct set "$CTID" --nameserver 1.1.1.1
exit 1 pct set "$CTID" --nameserver 8.8.8.8
fi # Final attempt with wget after DNS change
;; if pct exec "$CTID" -- wget -q --spider http://deb.debian.org; then
*) msg_ok "Network reachable after DNS fallback"
msg_error "Aborted by user no DNS fallback set." else
exit 1 msg_error "Still no network/DNS in LXC! Aborting customization."
;; exit_script
esac fi
;;
*)
msg_error "Aborted by user no DNS fallback set."
exit_script
;;
esac
fi
break
fi fi
done done
fi fi
@@ -1346,7 +1352,7 @@ EOF'
fi fi
msg_ok "Customized LXC Container" msg_ok "Customized LXC Container"
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"
} }
# This function sets the description of the container. # This function sets the description of the container.

View File

@@ -492,39 +492,50 @@ function setup_php() {
fi fi
fi fi
} }
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Installs or updates Composer globally. # Installs or updates Composer globally (robust, idempotent).
# #
# Description: # - Installs to /usr/local/bin/composer
# - Downloads latest version from getcomposer.org # - Removes old binaries/symlinks in /usr/bin, /bin, /root/.composer, etc.
# - Installs to /usr/local/bin/composer # - Ensures /usr/local/bin is in PATH (permanent)
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
function setup_composer() { function setup_composer() {
local COMPOSER_BIN="/usr/local/bin/composer" local COMPOSER_BIN="/usr/local/bin/composer"
export COMPOSER_ALLOW_SUPERUSER=1 export COMPOSER_ALLOW_SUPERUSER=1
# Clean up old Composer binaries/symlinks (if any)
for old in /usr/bin/composer /bin/composer /root/.composer/vendor/bin/composer; do
[[ -e "$old" && "$old" != "$COMPOSER_BIN" ]] && rm -f "$old"
done
# Ensure /usr/local/bin is in PATH for future logins (and current shell)
ensure_usr_local_bin_persist
export PATH="/usr/local/bin:$PATH"
# Check if composer is already installed # Check if composer is already installed
if [[ -x "$COMPOSER_BIN" ]]; then if [[ -x "$COMPOSER_BIN" ]]; then
local CURRENT_VERSION local CURRENT_VERSION
CURRENT_VERSION=$("$COMPOSER_BIN" --version | awk '{print $3}') CURRENT_VERSION=$("$COMPOSER_BIN" --version | awk '{print $3}')
$STD msg_info "Old Composer $CURRENT_VERSION found, updating to latest" $STD msg_info "Old Composer $CURRENT_VERSION found, updating to latest"
else else
msg_info "Setup Composer" msg_info "Installing Composer"
fi fi
# Download and install latest composer # Download and install latest Composer
curl -fsSL https://getcomposer.org/installer -o /tmp/composer-setup.php curl -fsSL https://getcomposer.org/installer -o /tmp/composer-setup.php
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer >/dev/null 2>&1 php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer >/dev/null 2>&1
if [[ $? -ne 0 ]]; then if [[ ! -x "$COMPOSER_BIN" ]]; then
msg_error "Failed to install Composer" msg_error "Composer was not successfully installed (no binary at $COMPOSER_BIN)"
return 1 return 1
fi fi
chmod +x "$COMPOSER_BIN" chmod +x "$COMPOSER_BIN"
composer diagnose >/dev/null 2>&1 $STD "$COMPOSER_BIN" self-update --no-interaction || true # safe if already latest
msg_ok "Setup Composer" $STD "$COMPOSER_BIN" diagnose
msg_ok "Composer is ready at $COMPOSER_BIN"
} }
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------

View File

@@ -98,11 +98,14 @@ turnkey=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "TurnKey LXCs
# Setup script environment # Setup script environment
PASS="$(openssl rand -base64 8)" PASS="$(openssl rand -base64 8)"
CTID=$(pvesh get /cluster/nextid) # Prompt user to confirm container ID
CTID=$(whiptail --backtitle "Container ID" --title "Choose the Container ID" --inputbox "Enter the conatiner ID..." 8 40 $(pvesh get /cluster/nextid) 3>&1 1>&2 2>&3)
# Prompt user to confirm Hostname
HOST_NAME=$(whiptail --backtitle "Hostname" --title "Choose the Hostname" --inputbox "Enter the containers Hostname..." 8 40 "turnkey-${turnkey}" 3>&1 1>&2 2>&3)
PCT_OPTIONS=" PCT_OPTIONS="
-features keyctl=1,nesting=1 -features keyctl=1,nesting=1
-hostname turnkey-${turnkey} -hostname $HOST_NAME
-tags proxmox-helper-scripts -tags community-script
-onboot 1 -onboot 1
-cores 2 -cores 2
-memory 2048 -memory 2048
@@ -199,6 +202,15 @@ pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/
# Save password # Save password
echo "TurnKey ${turnkey} password: ${PASS}" >>~/turnkey-${turnkey}.creds # file is located in the Proxmox root directory echo "TurnKey ${turnkey} password: ${PASS}" >>~/turnkey-${turnkey}.creds # file is located in the Proxmox root directory
# If turnkey is "OpenVPN", add access to the tun device
TUN_DEVICE_REQUIRED=("openvpn") # Setup this way in case future turnkeys also need tun access
if printf '%s\n' "${TUN_DEVICE_REQUIRED[@]}" | grep -qw "${turnkey}"; then
info "${turnkey} requires access to /dev/net/tun on the host. Modifying the container configuration to allow this."
echo "lxc.cgroup2.devices.allow: c 10:200 rwm" >> /etc/pve/lxc/${CTID}.conf
echo "lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file 0 0" >> /etc/pve/lxc/${CTID}.conf
sleep 5
fi
# Start container # Start container
msg "Starting LXC Container..." msg "Starting LXC Container..."
pct start "$CTID" pct start "$CTID"
@@ -239,4 +251,5 @@ info "Proceed to the LXC console to complete the setup."
echo echo
info "login: root" info "login: root"
info "password: $PASS" info "password: $PASS"
info "(credentials also stored in the root user's root directory in the 'turnkey-${turnkey}.creds' file.)"
echo echo