Telegram-Media-Downloader README

The project's README from github.com/Neet-Nestor/Telegram-Media-Downloader. As one markdown file: README.md.

Telegram Video Downloader / Telegram Media Downloader

Unlock Telegram: Download Anything You Like.

GitHub License Greasy Fork Version Greasy Fork Downloads

Overview

This user script unlocks and enables download of images, GIFs, audios, and videos in Telegram webapps from chats, stories, and even private channels where downloading is disabled or restricted.

(Note: some features are only available for specific Telegram webapp version. e.g. Audio message download is only available for the K webapp version.)

What are user scripts?

User scripts put you in control of your browsing experience. Once installed, they automatically make the sites you visit better by adding features, making them easier to use, or taking out the annoying bits. The user scripts on Greasy Fork were written by other users and posted to share with the world. They're free to install and easy to use.

Installation

Greasy Fork

  1. install a user script manager

    To use user scripts you need to first install a user script manager. Which user script manager you can use depends on which browser you use.

    (Note, If you are using Tampermonkey extension in a Chrome-based browser, following instructions to enable Developer Mode.)

  2. Install this script by visiting Greasy Fork: https://greasyfork.org/scripts/446342-telegram-media-downloader

Manual Installation

  1. install a user script manager

    To use user scripts you need to first install a user script manager. Which user script manager you can use depends on which browser you use.

    (Note, If you are using Tampermonkey extension in a Chrome-based browser, following instructions to enable Developer Mode.)

  2. Open Tampermonkey Dashboard, drag & drop src/tel_download.js into it and clicks the "install" button

How to Use

This script only works on Telegram Webapp.

For channels and chats that allow saving content, this script will have no effect. Please just use the official download button provided by the telegram webapp instead.

For channels and chats that disable downloading and restrict saving content, this script will add the download button back for images, GIFs and videos.

Image Download GIF Download Video Download Story Download

For videos, a progress bar will show on the bottom-right corder after you started downloading. For images and audios, there won't be a progress bar.

Supported Webapp Versions

There are 2 different versions of telegram webapps:

This script should work on both versions of webapp, but some features are only available in the /k/ version (such as voice message downloads). If certain features are not working, switching to the /k/ version is recommended.

Check Downloading Progress

A progress bar will show on the bottom-right of the screen for videos. You can also check DevTools console for logs.

Contributing

We welcome contributions from the community! If you’d like to contribute to Telegram Media Downloader, follow these steps:

Reporting Issues

If you find a bug, compatibility issue, or have a feature request, please:

  1. Check if the issue has already been reported in the Issues tab.
  2. If not, create a new issue with a clear title and description. Attach screenshots or logs if applicable.

Submitting Pull Requests

  1. Fork the repository: Click on the "Fork" button in the top-right of the repo.

  2. Clone your fork:

    git clone https://github.com/YOUR-USERNAME/Telegram-Media-Downloader.git
    cd Telegram-Media-Downloader
    
  3. Create a new branch for your feature or bugfix:

    git checkout -b feature-or-bugfix-name
    

    Make your changes and ensure the script still works correctly on supported Telegram webapps.

  4. Make your changes and ensure the script still works correctly on supported Telegram webapps.

  5. Commit your changes with a descriptive message:

    git commit -m "Add feature/fix issue: Brief description"
    
  6. Push to your fork:

    git push origin feature-or-bugfix-name
    
  7. Submit a Pull Request (PR):

Development Guidelines

Help with Translations

We want Telegram Media Downloader to be accessible to users worldwide! If you’d like to help translate the script’s Greasy Fork page, follow these steps:

How to Contribute a Translation

Check for existing translations in the docs/greasyfork folder of the repository.

Add a new file in docs/.md, using the appropriate language code (e.g., docs/fr-FR.md for French, docs/de-DE.md for German).

Translate the content from docs/greasyfork/en-US.md into your language while keeping the formatting intact. Submit a Pull Request following the steps in the Submitting Pull Requests section above.

Language Codes

Use standard IETF Language Tag (e.g., es-ES for Spanish, ja-JP for Japanese). You can find a full list of codes here.

Support Author

If you like this script, you can support me via Venmo or buy me a coffee :)

Telegram-Media-Downloader (Neet-Nestor/Telegram-Media-Downloader)

Searching Database…

这是什么?一个用户脚本,当聊天或频道禁用了内容保存时,它可以在 Telegram Web 上恢复图片、GIF、音频和视频的下载按钮。
这是浏览器扩展,还是在浏览器里运行的用户脚本?它是一个用户脚本(不是独立扩展):你需要先在浏览器中安装 Tampermonkey、Violentmonkey 或 Greasemonkey 之类的用户脚本管理器,然后把该脚本装进去。
怎么安装和设置?先安装一个用户脚本管理器(视浏览器而定,可选 Tampermonkey/Violentmonkey/Greasemonkey),然后从脚本的 Greasy Fork 页面安装,或者手动把 src/teldownload.js 拖入 Tampermonkey 管理面板并点击安装。
支持哪些浏览器和脚本管理器?支持 Chrome、Firefox、Safari、Microsoft Edge、Opera 和 Maxthon(傲游),每种浏览器搭配兼容的管理器:Tampermonkey 或 Violentmonkey(部分浏览器还支持 Greasemonkey/Userscripts)。
它对所有 Telegram 聊天和功能都有效吗?它只在限制保存的地方补回下载按钮;本来就允许下载的聊天不受影响,而且部分功能(如语音消息下载)只能在“K”版 Web 应用上使用。
它能在 Telegram 桌面客户端上用,还是只支持网页版?它只能在 Telegram Web(浏览器中的网页版)上使用,不适用于原生桌面或移动应用。
怎么知道视频下载是否正在进行?视频下载时屏幕右下角会出现进度条,你也可以查看 DevTools 控制台的日志。
如果语音消息下载之类的功能用不了怎么办?从默认的 Telegram 网页版切换到 /k/ 版本,因为语音消息下载等部分功能只在该版本上可用。
我可以改用 Telegram 官方的下载按钮吗?可以。如果聊天或频道本身允许保存内容,这个脚本不会做任何事,直接使用 Telegram 内置的下载按钮即可。
Size
1 MB
Stars
6.1K
Updated
CommitMar 09
Age
4y
Commits · 90 Days