diff --git a/.github/ISSUE_TEMPLATE/01-idea.yml b/.github/ISSUE_TEMPLATE/01-idea.yml new file mode 100644 index 00000000..1ce7b909 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-idea.yml @@ -0,0 +1,72 @@ +name: 提交应用 +description: 提交您想要添加到 1Panel 的应用 +title: "[应用提交]" +labels: app +assignees: qyg2297248353 +body: + - type: markdown + id: environment + attributes: + value: "## 基本信息" + - type: input + id: version + validations: + required: true + attributes: + label: "1Panel 版本号" + description: "请提供您的 1Panel 版本号" + - type: input + id: email + validations: + required: true + attributes: + label: "邮箱" + description: "请提供您的邮箱" + - type: markdown + id: details + attributes: + value: "## 需求应用信息" + - type: dropdown + id: app_type + attributes: + label: "应用类型" + multiple: true + options: + - 开源 + - 闭源 + - type: input + id: app_url + validations: + required: true + attributes: + label: "Docker Hub 或 GitHub 链接" + description: "请提供应用的 Docker Hub 或 GitHub 链接" + - type: input + id: app_name + validations: + required: true + attributes: + label: "应用名称" + description: "请提供应用的名称" + - type: input + id: app_version + validations: + required: true + attributes: + label: "应用版本" + description: "请提供应用的版本" + - type: markdown + id: details + validations: + required: true + attributes: + label: "应用描述" + description: "请提供应用的描述" + - type: checkboxes + id: authorization + attributes: + label: 上架通知授权 + description: "是否授权 1Panel 在应用上架时通知您" + options: + - label: "是" + required: true diff --git a/.github/README.md b/.github/README.md index bbf3dbcb..4559a17d 100644 --- a/.github/README.md +++ b/.github/README.md @@ -5,6 +5,17 @@ 本仓库中的所有应用不会与 `1Panel` 官方应用商店冲突(存在相同应用并不影响后续的安装与升级,择优选择你需要的版本即可) ,我们会定期更新应用,如果您有任何问题,请联系我们。 +> [!NOTE] +> ## 2024年07月29日 公告 +> +> 版本 `v1.10.13-lts` 已经支持 `env_file` 文件,但是迫于稳定性考虑,我们依旧采用固定环境变量文件的方式解决问题。 +> +> 近期我们上架了很多新应用,如果您有任何问题,请联系我们。 +> +> 欢迎投稿,我们会根据您的需求,上架更多的应用。 +> +> 🥰 [新疆萌森软件开发工作室](https://blog.lifebus.top/) 祝您生活愉快! + > [!NOTE] > ## 2024年07月17日 公告 > diff --git a/README.md b/README.md index ee68ab07..35a1bdf5 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,16 @@ 本仓库中的所有应用不会与 `1Panel` 官方应用商店冲突(存在相同应用并不影响后续的安装与升级,择优选择你需要的版本即可) ,我们会定期更新应用,如果您有任何问题,请联系我们。 +--- + +
+

2024年07月29日 公告

+

版本 v1.10.13-lts 已经支持 env_file 文件,但是迫于稳定性考虑,我们依旧采用固定环境变量文件的方式解决问题。

+

近期我们上架了很多新应用,如果您有任何问题,请联系我们。

+

欢迎投稿,我们会根据您的需求,上架更多的应用。

+

🥰 新疆萌森软件开发工作室 祝您生活愉快!

+
+

2024年07月17日 公告

正式开始维护,新老用户推荐使用自动化脚本完成软件订阅。

@@ -49,6 +59,8 @@

警告 请勿升级 1Panelv1.10.10-lts 版本,否则会导致应用商店无法使用!

+--- + ## 维护状态 | 状态 | 图标 | 应用名称 | 应用官网 | 短的描述 | 集合 | @@ -56,8 +68,8 @@ | 🟢 | | AList | https://alist.nn.ci/ | 一款支持多重存储的文件列表程序 | | | 🟢 | | Bark | https://bark.day.app/ | 一款注重隐私、安全可控的自定义通知推送工具 | | | 🟢 | | Casdoor | https://casdoor.org/ | 身份和访问管理(IAM)/单点登录(SSO)平台 | | -| 🔴 | | Cookie Cloud | https://github.com/easychen/CookieCloud/ | CookieCloud是一个和自架服务器同步浏览器Cookie和LocalStorage的小工具 | | -| 🔴 | | DeepLX | https://deeplx.owo.network/ | DeepL免费API(无需TOKEN) | | +| 🟢 | | Cookie Cloud | https://github.com/easychen/CookieCloud/ | CookieCloud是一个和自架服务器同步浏览器Cookie和LocalStorage的小工具 | | +| 🟢 | | DeepLX | https://deeplx.owo.network/ | DeepL免费API(无需TOKEN) | | | 🟢 | | Dockge | https://dockge.kuma.pet/ | 面向堆栈的管理器 | | | 🟢 | | Elasticsearch | https://www.elastic.co/elasticsearch/ | Elasticsearch 是一个分布式、RESTful 风格的搜索和数据分析引擎 | Elastic | | 🟢 | | Kibana | https://www.elastic.co/kibana/ | Kibana 针对大规模数据快速运行数据分析 | Elastic | @@ -92,6 +104,7 @@ | 🔴 | | SpeedTest | https://www.speedtest.net/ | 互联网速度测试 | SpeedTest | | 🔴 | | SpeedTest-Tracker | https://docs.speedtest-tracker.dev/ | Speedtest Tracker 是一款自托管互联网性能跟踪应用程序,可针对 Ookla 的 Speedtest 服务运行速度测试检查 | | | 🟢 | | Stream-Rec | https://github.com/hua0512/stream-rec/ | Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | | +| 🟢 | | Telegram Bot Api | https://telegram.org/ | 自建 Telegram Bot API 服务器 | | | 🟢 | | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | | | 🟢 | | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | | | 🟢 | | Umami | https://umami.is/ | 为速度和效率而构建的网站分析 | | @@ -104,6 +117,8 @@ > > 维护状态:🟢 维护中 🔴 未维护 🟡 表示不定期维护 +--- + ## 应用安装 > 温馨提示: @@ -111,9 +126,11 @@ > > 我们建议您在安装之前备份您的数据,或手动安装。 -### 方案一:自动化安装 +### 自动化安装 -如果您不想每次都手动执行命令,可以使用一键式安装。我们优先推荐此方式。 +一键式安装,无需手动操作,自动完成 1Panel应用 上架应用商店。 + +每三小时自动更新一次应用列表。 ```shell curl -sSL https://install.lifebus.top/auto_install.sh | bash @@ -133,33 +150,38 @@ curl -sSL https://install.lifebus.top/auto_uninstall.sh | bash + 应用数据目录:`${应用持久化目录}` -### 方案二:手动安装 +### 手动安装模式 -应用的升级与更新均需要重新执行安装脚本。 - -#### 手动执行模式 +更新时机由自己把握,手动执行命令。 ```shell curl -sSL https://install.lifebus.top/app_install.sh | bash ``` -### 方案三:计划任务模式 +### 计划任务模式 将内容写入Shell计划任务中,设定定期执行。 ```shell #!/bin/bash +# 此处可以定义代理方案 + script_url="https://install.lifebus.top/app_install.sh" echo "Downloading and executing script from $script_url..." bash <(curl -sL "$script_url") echo "Script execution completed." + ``` #### 配置脚本网络代理 +如果您的网络环境需要代理,请在脚本执行前配置代理。 + +可将以下脚本插入到 `计划任务模式` 的脚本中。 + ```sh proxy_protocols="http" proxy_server="server address" @@ -168,6 +190,8 @@ export http_proxy="$proxy_protocols://$proxy_server:$proxy_port" export https_proxy="$proxy_protocols://$proxy_server:$proxy_port" ``` +--- + ## 安装 `Pre 尝鲜版` 应用 > 说明: @@ -186,6 +210,20 @@ curl -sSL https://install.lifebus.top/pre_app_install.sh | bash curl -sSL https://install.lifebus.top/pre_app_uninstall.sh | bash ``` +--- + +## 卸载所有本地应用 + +通过此脚本,您可以卸载所有本地应用,但是不会删除数据。 + +可能您的库中遗留了一些无用的应用,您可以通过此脚本进行清理。该脚本不影响 `自动化脚本` 的应用更新。 + +```sh +curl -sSL https://install.lifebus.top/local_app_uninstall.sh | bash +``` + +--- + ## 常见问题 + 升级失败 @@ -203,12 +241,16 @@ curl -sSL https://install.lifebus.top/pre_app_uninstall.sh | bash + 关于 `前置检查` 依旧需要填写 `数据库` 相关连接信息,是因为其提供的能力并不是完全可靠,避免后期出现问题,我们采用持久化的方式存储。 + 如果您的环境符合要求,但是依旧无法安装,请联系我们。 +--- + ## 温馨提示 安装应用前请查看应用说明,了解应用的使用方法和注意事项。 当前第三方库应用均为开源应用,我们不对应用的安全性和稳定性负责。 如果您在使用过程中遇到问题,请查看应用的官方文档或社区,或者联系我们。 +--- + ## 联系我们 diff --git a/apps/cookie-cloud/README.md b/apps/cookie-cloud/README.md index ef0fa387..4746bd83 100644 --- a/apps/cookie-cloud/README.md +++ b/apps/cookie-cloud/README.md @@ -3,7 +3,7 @@ CookieCloud 是一个用于将 cookie 与您的自托管服务器同步的小工具,允许您将浏览器 cookie 和本地存储同步到您的手机和云端。它具有内置的端到端加密功能,并允许您设置同步间隔。 -![CookieCloud](https://github.com/easychen/CookieCloud/blob/master/images/20230121092535.png) +![CookieCloud](https://file.lifebus.top/imgs/cookie_cloud_cover.png) ## 浏览器插件 diff --git a/apps/cookie-cloud/latest/docker-compose.yml b/apps/cookie-cloud/latest/docker-compose.yml index aa678ed6..14bdaa54 100644 --- a/apps/cookie-cloud/latest/docker-compose.yml +++ b/apps/cookie-cloud/latest/docker-compose.yml @@ -15,7 +15,8 @@ services: - 1panel-network ports: - ${PANEL_APP_PORT_HTTP}:8088 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} volumes: - ${COOKIECLOUD_ROOT_PATH}/data:/data/api/data - env_file: - - .env diff --git a/apps/cookie-cloud/latest/scripts/init.sh b/apps/cookie-cloud/latest/scripts/init.sh index c86c4fbc..77b84912 100644 --- a/apps/cookie-cloud/latest/scripts/init.sh +++ b/apps/cookie-cloud/latest/scripts/init.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else diff --git a/apps/cookie-cloud/latest/scripts/upgrade.sh b/apps/cookie-cloud/latest/scripts/upgrade.sh index c86c4fbc..77b84912 100644 --- a/apps/cookie-cloud/latest/scripts/upgrade.sh +++ b/apps/cookie-cloud/latest/scripts/upgrade.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else diff --git a/apps/deeplx/0.9.5.1/docker-compose.yml b/apps/deeplx/0.9.5.1/docker-compose.yml index 18812d58..b3ceac9c 100644 --- a/apps/deeplx/0.9.5.1/docker-compose.yml +++ b/apps/deeplx/0.9.5.1/docker-compose.yml @@ -14,8 +14,9 @@ services: networks: - 1panel-network ports: - - ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP:-1188} - environment: - - PORT=${PANEL_APP_PORT_HTTP:-1188} + - ${PANEL_APP_PORT_HTTP}:1188 env_file: - - .env + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + environment: + - PORT=1188 diff --git a/apps/deeplx/0.9.5.1/scripts/init.sh b/apps/deeplx/0.9.5.1/scripts/init.sh index c86c4fbc..77b84912 100644 --- a/apps/deeplx/0.9.5.1/scripts/init.sh +++ b/apps/deeplx/0.9.5.1/scripts/init.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else diff --git a/apps/deeplx/0.9.5.1/scripts/upgrade.sh b/apps/deeplx/0.9.5.1/scripts/upgrade.sh index c86c4fbc..77b84912 100644 --- a/apps/deeplx/0.9.5.1/scripts/upgrade.sh +++ b/apps/deeplx/0.9.5.1/scripts/upgrade.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else diff --git a/apps/deeplx/README.md b/apps/deeplx/README.md index 19a6f228..a7245ba0 100644 --- a/apps/deeplx/README.md +++ b/apps/deeplx/README.md @@ -2,7 +2,7 @@ 强大的 DeepL 翻译 API -![DeepLX](https://static.deepl.com/img/appDownload/macos_app_download.svg) +![DeepLX](https://file.lifebus.top/imgs/deeplx_cover.png) ## 简介 diff --git a/apps/deeplx/data.yml b/apps/deeplx/data.yml index 71525533..2819edb8 100644 --- a/apps/deeplx/data.yml +++ b/apps/deeplx/data.yml @@ -6,7 +6,7 @@ additionalProperties: key: deeplx name: DeepLX tags: - - WebSite + - Tool - Middleware - Local shortDescZh: DeepL 免费API diff --git a/apps/linkding/logo.png b/apps/linkding/logo.png index 4eef9ed1..fe99a6cd 100644 Binary files a/apps/linkding/logo.png and b/apps/linkding/logo.png differ diff --git a/apps/telegram-bot-api/7.7/data.yml b/apps/telegram-bot-api/7.7/data.yml new file mode 100644 index 00000000..9facd808 --- /dev/null +++ b/apps/telegram-bot-api/7.7/data.yml @@ -0,0 +1,46 @@ +additionalProperties: + formFields: + - default: "/home/telegram-bot-api" + edit: true + envKey: TELEGRAM_BOT_API_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8082 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: API 端口 + labelEn: API port + required: true + rule: paramPort + type: number + - default: 8081 + edit: true + envKey: PANEL_APP_PORT_HTTPS + labelZh: API 端口 (HTTPS) + labelEn: API port (HTTPS) + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: TELEGRAM_API_ID + labelZh: Telegram Bot 应用 ID + labelEn: Telegram Bot Application ID + required: true + type: text + - default: "" + edit: true + envKey: TELEGRAM_API_HASH + labelZh: Telegram Bot 应用 Hash + labelEn: Telegram Bot Application Hash + required: true + type: password + - default: "" + edit: true + envKey: TELEGRAM_PROXY + labelZh: 网络代理 + labelEn: Network proxy + required: false + type: text diff --git a/apps/telegram-bot-api/7.7/docker-compose.yml b/apps/telegram-bot-api/7.7/docker-compose.yml new file mode 100644 index 00000000..2b8767fa --- /dev/null +++ b/apps/telegram-bot-api/7.7/docker-compose.yml @@ -0,0 +1,31 @@ +version: "3.8" + +networks: + 1panel-network: + external: true + +services: + telegram-bot-api: + image: aiogram/telegram-bot-api:7.7 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTPS}:8081 + - ${PANEL_APP_PORT_HTTP}:8082 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${TELEGRAM_BOT_API_ROOT_PATH}/data:/var/lib/telegram-bot-api + - ${TELEGRAM_BOT_API_ROOT_PATH}/logs:/var/log/telegram-bot-api + environment: + - TELEGRAM_STAT=1 + - TELEGRAM_LOCAL=1 + - TELEGRAM_VERBOSITY=1 + - TELEGRAM_MAX_WEBHOOK_CONNECTIONS=100000 + - TELEGRAM_LOG_FILE=/var/log/telegram-bot-api/telegram-bot-api.log + - TELEGRAM_MAX_CONNECTIONS=1024 diff --git a/apps/telegram-bot-api/7.7/scripts/init.sh b/apps/telegram-bot-api/7.7/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/telegram-bot-api/7.7/scripts/init.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/telegram-bot-api/7.7/scripts/uninstall.sh b/apps/telegram-bot-api/7.7/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/telegram-bot-api/7.7/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/telegram-bot-api/7.7/scripts/upgrade.sh b/apps/telegram-bot-api/7.7/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/telegram-bot-api/7.7/scripts/upgrade.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/telegram-bot-api/README.md b/apps/telegram-bot-api/README.md new file mode 100644 index 00000000..74b5566e --- /dev/null +++ b/apps/telegram-bot-api/README.md @@ -0,0 +1,40 @@ +# Telegram Bot API 服务器 + +Telegram Bot API 提供了一个 HTTP API 用于创建电报机器人。 + +机器人是小应用程序完全在 Telegram 应用程序中运行。用户通过以下方式与机器人交互灵活的接口可以支持任何类型的任务或服务。 + +## 特性 + ++ 下载文件没有大小限制。 ++ 上传最多 2000 MB 的文件。 ++ 使用本地路径上传文件并文件 URI 方案。 ++ 使用 Webhook 的 HTTP URL。 ++ 使用 Webhook 的任何本地 IP 地址。 ++ 使用 Webhook 的任何端口。 ++ 放最大网络钩子连接数最多 100000。 ++ 接收绝对本地路径作为值文件路径字段,无需下载文件后获取文件要求。 + +Telegram Bot API 服务器仅接受 HTTP 请求,因此需要使用 TLS 终止代理来处理远程 HTTPS 请求。 + +## 使用说明 + +### 获取 `api_id` + +为了获得API ID并使用 Telegram API 开发您自己的应用程序,您需要执行以下操作: + ++ 使用任何应用程序注册 Telegram。 ++ 登录您的 Telegram 核心: [https://my.telegram.org](https://my.telegram.org) 。 ++ 去《API开发工具》并填写表格。 ++ 您将获得基本地址以及 `api_id` 和 `api_hash` 用户授权所需的参数。 ++ 目前每个号码只能有一个 `api_id` 连接到它。 + +我们将向您在此过程中使用的电话号码发送重要的开发者通知,因此请使用连接到您的活跃 Telegram 帐户的最新号码。 + +### 使用 `api_id` + +在使用 MTProto Telegram API 之前,请注意,所有 API 客户端库都受到严格监控,以防止滥用。 + +如果您使用 Telegram API 进行洪泛、垃圾邮件、伪造订阅者和查看频道计数器,您将被 `永久禁止`。 + +由于过度滥用 Telegram API,所有帐户使用非官方 Telegram API 客户端注册或登录的用户会自动放入在监视下以避免违反规定服务条款。 diff --git a/apps/telegram-bot-api/data.yml b/apps/telegram-bot-api/data.yml new file mode 100644 index 00000000..863e4d5b --- /dev/null +++ b/apps/telegram-bot-api/data.yml @@ -0,0 +1,18 @@ +name: Telegram Bot Api +title: Telegram Bot API 服务器 +description: Telegram Bot API 服务器 +additionalProperties: + key: telegram-bot-api + name: Bark + tags: + - Middleware + - Tool + - Local + shortDescZh: Telegram Bot API 服务器 + shortDescEn: Telegram Bot API Server + type: tool + crossVersionUpdate: true + limit: 0 + website: https://telegram.org/ + github: https://github.com/tdlib/telegram-bot-api/ + document: https://core.telegram.org/bots/ diff --git a/apps/telegram-bot-api/logo.png b/apps/telegram-bot-api/logo.png new file mode 100644 index 00000000..53f07ffe Binary files /dev/null and b/apps/telegram-bot-api/logo.png differ