📥 Telegram Downloader, but more than a downloader 🚀
Go to file
2022-09-16 00:04:27 +08:00
.github/workflows ci(actions): release action 2022-09-04 23:45:37 +08:00
app fix(iter): ctx select 2022-09-16 00:04:27 +08:00
cmd chore(cmd): examples and desc 2022-09-15 15:51:06 +08:00
docs/command docs(cmd): update 2022-09-15 15:52:03 +08:00
img docs(README.md): add preview 2022-09-05 23:08:51 +08:00
pkg fix(uploader): nil media 2022-09-15 23:56:55 +08:00
.editorconfig feat(prj): init 2022-09-01 15:16:59 +08:00
.gitattributes feat(prj): init 2022-09-01 15:16:59 +08:00
.gitignore chore(gitignore): add downloads and *.exe 2022-09-04 10:55:41 +08:00
.goreleaser.yaml refactor(consts): separate 2022-09-05 19:14:21 +08:00
go.mod chore(dep): update 2022-09-14 09:18:02 +08:00
go.sum chore(dep): update 2022-09-14 09:18:02 +08:00
LICENSE chore(LICENSE): add AGPL-v3.0 2022-09-05 22:07:31 +08:00
main.go feat(prj): init 2022-09-01 15:16:59 +08:00
Makefile ci(Makefile): init 2022-09-04 20:39:45 +08:00
README.md docs(README): update 2022-09-15 15:52:53 +08:00

Intro

📥 Telegram Downloader, but more than a downloader 🚀

⚠ Note: Command compatibility is not guaranteed in the early stages of development

Features

  • Single file start-up
  • Low resource usage
  • Take up all your bandwidth
  • Faster than official clients
  • Download files from (protected) chats
  • Upload files to Telegram

Preview

It reaches my proxy's speed limit, and the speed depends on whether you are a premium

Install

Go to GitHub Releases to download the latest version

Usage

# check the version
tdl version

# use proxy, only support socks now
tdl --proxy socks5://localhost:1080

# specify the account namespace
tdl -n my-tdl

# login your account
tdl login -n iyear

# list your chat
tdl chat ls -n iyear

# download files in url mode, url is the message link
tdl dl url -n iyear -u https://t.me/tdl/1 -u https://t.me/tdl/2

# full examples in download url mode
tdl dl url -n iyear --proxy socks5://localhost:1080 -u https://t.me/tdl/1 -u https://t.me/tdl/2 -s 262144 -t 16 -l 3

# upload files to 'Saved Messages', exclude the specified file extensions
tdl up -n iyear -p /path/to/file -p /path -e .so -e .tmp

# full examples in upload mode
tdl up -n iyear --proxy socks5://localhost:1080 -p /path/to/file -p /path -e .so -e .tmp -s 262144 -t 16 -l 3

Data

Your account information will be stored in the ~/.tdl directory.

Commands

Go to command documentation for full command docs.

LICENSE

AGPL-3.0 License