Compare commits

...

9 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
3044a774c2 Update CHANGELOG.md (#5165)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-16 01:16:08 +01:00
community-scripts-pr-app[bot]
65e4c027b8 Update versions.json (#5164)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-16 02:15:31 +02:00
community-scripts-pr-app[bot]
dabfb57173 Update CHANGELOG.md (#5158)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-15 19:56:47 +01:00
community-scripts-pr-app[bot]
63dfc2bd7b Update CHANGELOG.md (#5157)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-15 19:55:39 +01:00
community-scripts-pr-app[bot]
89399ef421 Update date in json (#5156)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2025-06-15 19:55:36 +01:00
push-app-to-main[bot]
d9474c3dd6 LibreTranslate (#5154)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-06-15 20:55:01 +02:00
community-scripts-pr-app[bot]
f5a5e4854c Update date in json (#5153)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2025-06-15 19:39:27 +01:00
CanbiZ
632e823749 Create nic-offloading-fix.json 2025-06-15 20:39:06 +02:00
community-scripts-pr-app[bot]
a128f3c43d Update versions.json (#5150)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-15 14:07:03 +02:00
7 changed files with 301 additions and 68 deletions

View File

@@ -14,8 +14,14 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
## 2025-06-16
## 2025-06-15
### 🆕 New Scripts
- LibreTranslate ([#5154](https://github.com/community-scripts/ProxmoxVE/pull/5154))
## 2025-06-14
### 🚀 Updated Scripts

View File

@@ -0,0 +1,6 @@
__ _ __ ______ __ __
/ / (_) /_ ________/_ __/________ _____ _____/ /___ _/ /____
/ / / / __ \/ ___/ _ \/ / / ___/ __ `/ __ \/ ___/ / __ `/ __/ _ \
/ /___/ / /_/ / / / __/ / / / / /_/ / / / (__ ) / /_/ / /_/ __/
/_____/_/_.___/_/ \___/_/ /_/ \__,_/_/ /_/____/_/\__,_/\__/\___/

61
ct/libretranslate.sh Normal file
View File

@@ -0,0 +1,61 @@
#!/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: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/LibreTranslate/LibreTranslate
APP="LibreTranslate"
var_tags="${var_tags:-Arr}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-20}"
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/libretranslate ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -s https://api.github.com/repos/LibreTranslate/LibreTranslate/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ "${RELEASE}" != "$(cat $HOME/.libretranslate)" ]] || [[ ! -f $HOME/.libretranslate ]]; then
msg_info "Stopping $APP"
systemctl stop libretranslate
msg_ok "Stopped $APP"
msg_info "Updating $APP to ${RELEASE}"
cd /opt/libretranslate
source .venv/bin/activate
$STD pip install -U libretranslate
msg_ok "Updated $APP to ${RELEASE}"
msg_info "Starting $APP"
systemctl start libretranslate
msg_ok "Started $APP"
msg_ok "Update Successful"
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}http://${IP}:5000${CL}"

View File

@@ -0,0 +1,44 @@
{
"name": "LibreTranslate",
"slug": "libretranslate",
"categories": [
0
],
"date_created": "2025-06-15",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 5000,
"documentation": "https://github.com/LibreTranslate/LibreTranslate?tab=readme-ov-file#settings--flags",
"website": "https://libretranslate.com/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/libretranslate.webp",
"config_path": "",
"description": "Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library.",
"install_methods": [
{
"type": "default",
"script": "ct/libretranslate.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 20,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "During the installation, application will download language models used for translation. Depending on how fast your internet/host is, this can take 5-10 minutes.",
"type": "info"
},
{
"text": "At every boot of LXC, application will look for updates for language models installed. This can prolong the startup of the LXC.",
"type": "info"
}
]
}

View File

@@ -0,0 +1,40 @@
{
"name": "NIC Offloading Fix",
"slug": "nic-offloading-fix",
"categories": [
1
],
"date_created": "2025-06-15",
"type": "pve",
"updateable": false,
"privileged": false,
"interface_port": null,
"documentation": null,
"config_path": "",
"website": null,
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/proxmox.webp",
"description": "This script automates the process of disabling network interface card (NIC) offloading features specifically for Intel e1000e network interfaces on Linux systems.",
"install_methods": [
{
"type": "default",
"script": "tools/pve/nic-offloading-fix.sh",
"resources": {
"cpu": null,
"ram": null,
"hdd": null,
"os": null,
"version": null
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Execute within the Proxmox shell",
"type": "info"
}
]
}

View File

@@ -1,4 +1,69 @@
[
{
"name": "jellyfin/jellyfin",
"version": "v10.10.7",
"date": "2025-04-05T19:14:59Z"
},
{
"name": "crafty-controller/crafty-4",
"version": "v4.4.11",
"date": "2025-06-15T21:41:02Z"
},
{
"name": "TriliumNext/Notes",
"version": "v0.95.0",
"date": "2025-06-15T21:12:04Z"
},
{
"name": "karakeep-app/karakeep",
"version": "cli/v0.25.0",
"date": "2025-06-15T17:48:29Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.1.9",
"date": "2025-03-01T02:24:33Z"
},
{
"name": "syncthing/syncthing",
"version": "2.0.0-rc.19",
"date": "2025-06-02T17:56:25Z"
},
{
"name": "Prowlarr/Prowlarr",
"version": "v1.37.0.5076",
"date": "2025-06-04T11:04:53Z"
},
{
"name": "Readarr/Readarr",
"version": "v2.0.0.4645",
"date": "2017-03-07T18:56:06Z"
},
{
"name": "Lidarr/Lidarr",
"version": "v2.12.4.4658",
"date": "2025-06-09T17:27:45Z"
},
{
"name": "Radarr/Radarr",
"version": "v5.26.2.10099",
"date": "2025-06-11T20:10:39Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2017",
"date": "2025-06-15T05:54:05Z"
},
{
"name": "traccar/traccar",
"version": "v6.7.3",
"date": "2025-06-15T05:46:17Z"
},
{
"name": "hyperion-project/hyperion.ng",
"version": "2.1.1",
"date": "2025-06-14T17:45:06Z"
},
{
"name": "advplyr/audiobookshelf",
"version": "v2.25.1",
@@ -9,11 +74,6 @@
"version": "v25.0",
"date": "2025-05-12T09:12:04Z"
},
{
"name": "hyperion-project/hyperion.ng",
"version": "2.1.1",
"date": "2025-06-14T17:45:06Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.2-rc5",
@@ -40,9 +100,9 @@
"date": "2025-06-11T12:07:38Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2016",
"date": "2025-06-14T05:59:28Z"
"name": "runtipi/runtipi",
"version": "v4.2.1",
"date": "2025-06-03T20:04:28Z"
},
{
"name": "FlareSolverr/FlareSolverr",
@@ -129,11 +189,6 @@
"version": "v1.12.0-rc.4",
"date": "2025-06-12T00:27:41Z"
},
{
"name": "Radarr/Radarr",
"version": "v5.26.2.10099",
"date": "2025-06-11T20:10:39Z"
},
{
"name": "TandoorRecipes/recipes",
"version": "2.0.0-alpha-4",
@@ -274,11 +329,6 @@
"version": "v0.28.3",
"date": "2025-06-09T18:11:46Z"
},
{
"name": "Lidarr/Lidarr",
"version": "v2.12.4.4658",
"date": "2025-06-09T17:27:45Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.8.0",
@@ -309,51 +359,26 @@
"version": "5.26.8",
"date": "2025-06-08T22:50:58Z"
},
{
"name": "karakeep-app/karakeep",
"version": "ios/v1.7.0-1",
"date": "2025-06-08T22:02:33Z"
},
{
"name": "Forceu/Gokapi",
"version": "v2.0.1",
"date": "2025-06-08T14:40:24Z"
},
{
"name": "Readarr/Readarr",
"version": "v2.0.0.4645",
"date": "2017-03-07T18:56:06Z"
},
{
"name": "matze/wastebin",
"version": "3.2.0",
"date": "2025-06-07T21:33:22Z"
},
{
"name": "jellyfin/jellyfin",
"version": "v10.10.7",
"date": "2025-04-05T19:14:59Z"
},
{
"name": "jordan-dalby/ByteStash",
"version": "v1.5.8",
"date": "2025-06-07T11:39:10Z"
},
{
"name": "syncthing/syncthing",
"version": "2.0.0-rc.19",
"date": "2025-06-02T17:56:25Z"
},
{
"name": "evcc-io/evcc",
"version": "0.204.2",
"date": "2025-06-07T11:38:28Z"
},
{
"name": "TriliumNext/Notes",
"version": "v0.94.1",
"date": "2025-06-07T10:32:38Z"
},
{
"name": "homebridge/homebridge",
"version": "v1.10.0",
@@ -439,11 +464,6 @@
"version": "340",
"date": "2025-06-04T16:41:44Z"
},
{
"name": "Prowlarr/Prowlarr",
"version": "v1.37.0.5076",
"date": "2025-06-04T11:04:53Z"
},
{
"name": "glpi-project/glpi",
"version": "10.0.18",
@@ -464,11 +484,6 @@
"version": "v4.100.3",
"date": "2025-06-03T21:06:41Z"
},
{
"name": "runtipi/runtipi",
"version": "v4.2.1",
"date": "2025-06-03T20:04:28Z"
},
{
"name": "influxdata/influxdb",
"version": "v1.12.1rc3",
@@ -499,11 +514,6 @@
"version": "v0.24.4",
"date": "2025-06-02T02:49:05Z"
},
{
"name": "traccar/traccar",
"version": "v6.7.2",
"date": "2025-06-01T20:40:00Z"
},
{
"name": "gethomepage/homepage",
"version": "v1.3.2",
@@ -644,11 +654,6 @@
"version": "v0.26.2",
"date": "2025-05-22T05:24:42Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.1.9",
"date": "2025-03-01T02:24:33Z"
},
{
"name": "apache/tika",
"version": "3.2.0-rc2",
@@ -669,11 +674,6 @@
"version": "v0.46.2",
"date": "2025-05-20T11:21:04Z"
},
{
"name": "crafty-controller/crafty-4",
"version": "v4.4.9",
"date": "2025-05-20T00:08:29Z"
},
{
"name": "Part-DB/Part-DB-server",
"version": "v1.17.1",

View File

@@ -0,0 +1,76 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG
# Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/LibreTranslate/LibreTranslate
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 --no-install-recommends \
pkg-config \
gcc \
g++ \
libicu-dev
msg_ok "Installed dependencies"
msg_info "Setup Python3"
$STD apt-get install -y \
python3-pip \
python3-dev \
python3-icu
msg_ok "Setup Python3"
setup_uv
fetch_and_deploy_gh_release "LibreTranslate/LibreTranslate"
msg_info "Setup LibreTranslate (Patience)"
cd /opt/libretranslate
$STD uv venv .venv
$STD source .venv/bin/activate
$STD uv pip install --upgrade pip setuptools
$STD uv pip install Babel==2.12.1
$STD .venv/bin/python scripts/compile_locales.py
$STD uv pip install torch==2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu
$STD uv pip install "numpy<2"
$STD uv pip install .
$STD uv pip install libretranslate
$STD .venv/bin/python scripts/install_models.py
msg_ok "Installed LibreTranslate"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/libretranslate.service
[Unit]
Description=LibreTranslate
After=network.target
[Service]
User=root
Type=idle
Restart=always
Environment="PATH=/usr/local/lib/python3.11/dist-packages/libretranslate"
ExecStart=/opt/libretranslate/.venv/bin/python3 /opt/libretranslate/.venv/bin/libretranslate --host * --update-models
ExecReload=/bin/kill -s HUP
KillMode=mixed
TimeoutStopSec=1
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now libretranslate
msg_ok "Created Service"
motd_ssh
customize
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"