一个简单的Telegram Jellyfin/Emby Bot
技术栈: Docker · Python · Jellyfin-ApiClient-Python · Python-Telegram-Bot · EmbyAPI
开发者:
如果您的运行环境无法直接连接Telegram,请选择以下任一方案:
- 在
config.toml中配置代理 - 使用自定义Telegram API地址
- 将运行环境切换至可访问Telegram的网络
wget -O docker-compose.yml https://raw.githubusercontent.com/Prejudice-Studio/Telegram-Jellyfin-Bot/refs/heads/emby/docker-compose.yml
wget -O Dockerfile https://raw.githubusercontent.com/Prejudice-Studio/Telegram-Jellyfin-Bot/refs/heads/emby/Dockerfile
docker-compose build
docker-compose up -ddocker run -d \
--name Telegram-Jellyfin-Bot \
--restart always \
-v $(pwd)/config.toml:/app/config.toml \
enlysure/telegram-jellyfin-bot:latest前置步骤:
- 下载
config.production.toml - 重命名为
config.toml并修改配置 - 确保配置文件位于当前目录
# 1. 安装Python 3.10+
# 2. 克隆项目
git clone https://github.com/Prejudice-Studio/Telegram-Jellyfin-Bot.git
cd Telegram-Jellyfin-Bot
# 3. 安装依赖
pip install -r requirements.txt
# 4. 配置
cp config.production.toml config.toml
# 编辑config.toml文件
# 5. 运行
python bot.py感谢所有贡献者!✨
详细配置选项请参考config.production.toml中的注释说明。