1
0
Fork 0

公告 && 支持应用

LinkDing
Docker Mailserver
Pixman
DeepLX API
Cookie Cloud
Telegram Bot Api

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-07-29 17:26:39 +08:00
parent 990cd1d727
commit 68f675ed39
18 changed files with 206 additions and 9 deletions

View File

@ -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)
## 浏览器插件

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)
## 简介

View File

@ -6,7 +6,7 @@ additionalProperties:
key: deeplx
name: DeepLX
tags:
- WebSite
- Tool
- Middleware
- Local
shortDescZh: DeepL 免费API

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -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

View File

@ -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 客户端注册或登录的用户会自动放入在监视下以避免违反规定服务条款。

18
telegram-bot-api/data.yml Normal file
View File

@ -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/

BIN
telegram-bot-api/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB