Skip to content
المشاريع

حول

Your own private Telegram bot that downloads videos, music and photos from almost anywhere. Self-hosted, powered by yt-dlp.

التصميم والوسائط

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Video: pick a quality, cut a clip, or save just the audio as MP3 or M4A.
  • Photos: Instagram carousels, TikTok slideshows, X and Reddit galleries, as albums.
  • Music: search songs, send Spotify or Apple Music links, recognise a song.
  • Languages: choose a dubbed audio track, embed subtitles in your languages.

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل


Fetchling

Send a link. Get the file in Telegram.

Your own self-hosted Telegram bot for videos, music and photos from YouTube, TikTok, Instagram, X, Reddit and 1000+ more sites. Files up to 2 GB. Only you and the people you choose can use it.

Tests Python 3.12+ MIT license

Install · Features · Docs · FAQ

How Fetchling works: send a link to your bot, the paper bird fetches it, and the video arrives in your chat, ready to play, with a More button under it.

Install

You need a Windows PC (the bot runs while it's on) or a Linux server (it runs 24/7), plus four values from Telegram:

  • BOT_TOKEN: message @BotFather, send /newbot, copy the token.
  • API_ID and API_HASH: log in at my.telegram.org → API development tools → create an app (any name).
  • OWNER_ID: your own user id. Message @userinfobot to see it.
Why does a bot need API_ID and API_HASH?

Normal bots use the Bot API, which limits uploads to 50 MB. Fetchling talks to Telegram directly (MTProto), so it can send files up to 2 GB. Keep the token and the hash secret.

Windows

  1. Code → Download ZIP, and unzip it (for example to C:\Fetchling).
  2. Right-click setup.ps1 → Run with PowerShell. It installs everything and opens .env.
  3. Fill in the four values, save, and close Notepad.
  4. Double-click run.bat. The bot runs while that window is open.

Linux (Ubuntu / Debian)

git clone https://github.com/Fetchlingg/fetchling.git && cd fetchling
bash setup.sh                  # installs everything and creates .env
nano .env                      # fill in the four values
sudo bash install-service.sh   # runs it in the background, starts on boot
Or let an AI assistant install it

Paste this into an AI coding assistant that can run commands (for example Claude Code or Codex):

Install Fetchling for me: https://github.com/Fetchlingg/fetchling
Clone it and follow its AGENTS.md step by step. Ask me where the bot should run,
and never ask me to paste passwords or tokens into this chat.

It works on your own computer or right on your server (start the assistant there and paste the same text). Some assistants refuse full permissions when logged in as root; then approve its commands as they come.

Check that it works: open your bot, send /start, then a video link. A playable video in your chat means you're done. More options and help: install guide. Prefer Docker? See the Docker guide.

What it can do

  • Video: pick a quality, cut a clip, or save just the audio as MP3 or M4A.
  • Photos: Instagram carousels, TikTok slideshows, X and Reddit galleries, as albums.
  • Music: search songs, send Spotify or Apple Music links, recognise a song.
  • Languages: choose a dubbed audio track, embed subtitles in your languages.
  • Playlists & bulk: a whole playlist, the tracks you pick, or a list of links.
  • Following: new uploads from channels you follow arrive automatically.
  • Speech to text: transcribe voice notes and videos, then translate them.
  • Convert: images, PDFs, audio, video and GIFs, right in the chat.
Every feature

Downloading

  • Quality picker with file sizes, MP3 / M4A audio, whole playlists or picked items
  • Clips with /cut, splitting a video into tracks by its chapters
  • Many links in one message, or a .txt file with one link per line
  • 🌙 Tonight: queue a download for the quiet hours
  • Per-site defaults: always video, always audio, or always ask
  • Stream links to play in VLC or mpv without downloading, and a list of every format
  • Instant re-sends of files it already sent, automatic retries and fallbacks
  • Your own cookies for sites that ask you to sign in

Photos and music

  • Instagram carousels, TikTok slideshows, X and Reddit galleries
  • Song search (/song); Spotify, Apple Music, Deezer and Tidal song links, matched to YouTube
  • Lyrics and song recognition

Languages and subtitles

  • Dubbed audio tracks: pick one, or keep up to four in one MKV
  • Subtitles embedded in the video, in the languages you choose
  • Video codec choice (H.264, AV1, VP9)

Tools

  • Speech to text with Google AI Studio, OpenAI (or a compatible API), or offline with Whisper
  • Translation of text and transcripts (Google or OpenAI)
  • Convert images, PDFs, audio, video and GIFs; Office documents on Linux (optional)
  • Unzip .zip, .tar and .7z files you send
  • #tags next to a link go under the caption and into your history

Following

  • Follow channels, playlists and profiles; new uploads arrive automatically
  • Wait for upcoming live streams
  • Send a feed's uploads to a group or channel you manage

You stay in control

  • Only you and people you /grant (forever, or for a number of days)
  • Groups you allow, and an optional must-join channel
  • Daily limits, file size caps and AI budgets
  • Simple by default, with an 🧪 Advanced switch in /settings
  • English and Dutch
  • /doctor, /health, /update (with automatic rollback) and optional database backups

Using it

Send a link and the video comes straight back. Open ➕ More under it for clips, song recognition, stream links and other formats. Prefer to choose the quality every time? Switch /settings to 🎚 Ask.

Commands
Command What it does
/tools All tools: convert, transcribe, translate, find a song, clip…
/song Find and download a song
/cut Download only part of a video
/transcribe · /translate Speech to text, translation
/convert Convert a file you send
/history Your recent downloads
/status What's running now, with cancel buttons
/following · /waiting Followed channels, upcoming live streams
/settings Language, default quality, Advanced mode

For you as the owner: /grant, /revoke, /users, /cookies, /doctor, /update and more. See all commands.

Private by design

  • Your bot, your rules. It ignores everyone except you and the people you /grant.
  • Your machine. Files, history and settings stay on your PC or server. Logs cut every link down to the site name.
  • No surprises. People you grant use your cookies, so use a spare account. Backups are off by default. Read exactly what's stored in privacy and security.

Docs

Install · Commands · Configuration · Cookies · Privacy and security · Updating · Troubleshooting · FAQ · Contributing

Credits

Fetchling is built on yt-dlp, gallery-dl, Kurigram, FFmpeg and other open-source projects, under their own licenses. Fetchling itself is MIT licensed.

If Fetchling is useful to you, a ⭐ helps other people find it. Like it? Support Fetchling with a small crypto tip.

[!NOTE] Only download content you have the right to download, and respect each site's terms and copyright law. You run this bot yourself, so you are responsible for how it is used.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…