tangyoha/telegram_media_downloader — reverse-engineered prompt

Reverse engineered prompt

Build me a simple cross platform Telegram media downloader that I can run on my computer or a server.

I want to sign in with my Telegram account using my API ID and API hash, choose one or more chats, channels, or groups, and download media like videos, photos, documents, audio, voice messages, and gifs to a folder I pick. It should work as a one time download tool, but also support a bot mode where I can send commands like download or forward to trigger jobs.

Please include a small web page on localhost so I can see download progress, current tasks, and basic status in the browser. I also want config options for chat IDs, date or message filters, file type filters, file naming, hidden file names, concurrency, allowed users, and saving progress so it can continue from the last read message. If possible, support downloading from private groups or channels I have already joined.

Make it easy to run locally and with Docker. Look up current Telegram login details online if you need to.

Want more depth? Deep Reverse