MIT License

项目介绍

kalanakt/All-Url-Uploader 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 539 个 Star、1.1k 次 Fork。

仓库全名
kalanakt/All-Url-Uploader
开源许可证
MIT License
Star 数
539
Fork 数
1.1k
未关闭 Issue
1

README 摘要

All Url Uploader Upload direct links and supported media sources back to Telegram. Built with aiogram, yt-dlp, and uv for a cleaner local workflow. Docs · Contributing · Docker · Issues · Discussions All Url Uploader is a Telegram bot that accepts direct file URLs and supported media links, downloads them with the right tool for the job, and sends the result back to Telegram with the correct media type, metadata,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

All-Url-Uploader 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 539 个 Star。

All-Url-Uploader 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 All-Url-Uploader 的源码?

可以直接克隆仓库:git clone https://github.com/kalanakt/All-Url-Uploader.git,默认分支为 main;安装与运行步骤见仓库 README。

All-Url-Uploader 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 1 个未关闭 Issue;Star 数为 539,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Dockerfile
Python

Release

README

All Url Uploader banner

All Url Uploader

Upload direct links and supported media sources back to Telegram.

Built with aiogram, yt-dlp, and uv for a cleaner local workflow.

CI CodeQL Python 3.11 License GitHub stars

Docs · Contributing · Docker · Issues · Discussions

All Url Uploader is a Telegram bot that accepts direct file URLs and supported media links, downloads them with the right tool for the job, and sends the result back to Telegram with the correct media type, metadata, and optional custom thumbnail.

What It Handles

  • direct file links
  • url|filename
  • url|filename|username|password
  • url * filename
  • YouTube quick audio and quick video downloads
  • format selection for supported yt-dlp sources
  • custom per-user thumbnails with /thumb and /delthumb

Bot Commands

  • /start - welcome message, shortcuts, and usage guidance
  • /help - supported link formats and flow overview
  • /about - runtime details, repo link, and project notes
  • /thumb - show the currently saved custom thumbnail
  • /delthumb - remove the saved custom thumbnail

Quick Start

  1. Clone the repository and move into it:
git clone https://github.com/kalanakt/All-Url-Uploader.git
cd All-Url-Uploader
  1. Create a .env file in the project root:
BOT_TOKEN=
OWNER_ID=
AUTH_USERS=
DOWNLOAD_LOCATION=./DOWNLOADS
CHUNK_SIZE=128
HTTP_PROXY=
PROCESS_MAX_TIMEOUT=3700
  1. Install dependencies:
uv sync --group dev
  1. Start the bot:
uv run python bot.py

Environment

  • BOT_TOKEN - required Telegram bot token
  • OWNER_ID - required Telegram user ID for the bot owner
  • AUTH_USERS - optional comma-separated list of user IDs that bypass the cooldown
  • DOWNLOAD_LOCATION - optional base directory for temporary downloads and uploads
  • CHUNK_SIZE - optional direct-download chunk size; values below 1024 are treated as kilobytes for backward compatibility
  • HTTP_PROXY - optional proxy URL passed to network requests and yt-dlp
  • PROCESS_MAX_TIMEOUT - optional process timeout in seconds for external tools

Project Layout

  • root runtime entrypoints: bot.py, app.py, config.py
  • routers: routers/
  • services: services/
  • shared helpers and models: utils/
  • tests: tests/
  • external documentation site: docs/

Docker

Build and run the container with your existing .env file:

docker build -t all-url-uploader .
docker run --env-file .env all-url-uploader

Checks

Run the same core checks used in GitHub Actions:

uv run pytest
uv run pylint $(git ls-files '*.py')
cd docs && npm run build

Deploy

Deploy on Railway Deploy on Koyeb Deploy on Heroku
Deploy on Railway Deploy to Koyeb Deploy to Heroku

Contributors

kalanakt
kalana kt
tromcho
tromcho
fzsouser
Fzso
hybridvamp
HYBRID
Divarion-D
Danil
AvikaTrivedi
Avika Trivedi
libresoul
Damindu Dhananjitha
ImgBotApp
Imgbot
satyanandatripathi
Parthiv Katapara
IndrajeethY
Indrajeeth

Star History

Star History Chart

评论

暂无评论