Telegram-Drive README

The project's README from github.com/caamer20/Telegram-Drive. As one markdown file: README.md.

Telegram Drive logo

Telegram Drive

A local-first file workspace powered by your own Telegram account

Organize, transfer, preview, stream, sync, and share the files you keep in Saved Messages and Telegram channels—on Windows, macOS, Linux, Android, and Google TV.

Latest release Platform GitHub Downloads (all assets, all releases) Release oosmetrics oosmetrics oosmetrics

Download for desktop · Find the latest Android preview · Product website · Changelog

Telegram Drive desktop dashboard

Telegram Drive turns Telegram's familiar file storage into a focused, desktop-style workspace. The app connects directly to Telegram with credentials you provide; it does not run a separate file-storage or relay service. Every application feature is available without payment.

[!IMPORTANT] Telegram Drive is an independent project and is not affiliated with Telegram FZ-LLC. Files remain subject to Telegram's account, service, and per-file limits. Telegram Drive should not be treated as literally unlimited storage or as the only backup of important data.

Contents

At a glance

Platforms Windows, macOS Intel, macOS Apple Silicon, Linux, Android, and Google TV
Storage model Saved Messages is the home location; Telegram channels can be presented as folders
Transfers Files, folders, drag and drop, remote URLs, durable queues, background operation, and retry controls
Media Image preview, PDF viewing, audio playback, video streaming, thumbnails, and archive tools
Desktop integrations Folder Sync, local REST API, WebDAV, local share links, tray controls, and native notifications
Privacy Local configuration and caches, opt-in crash reporting, loopback-only local servers, and no separate file relay
Languages 24 selectable locales plus automatic system-language selection
Price Every feature is free; an optional one-time $5 supporter license removes sponsor placements for life on up to three supported devices total

Download and install

Download prebuilt packages from the latest desktop release.

Platform Release asset Notes
Windows x64 Telegram.Drive_*_x64-setup.exe NSIS installer; the required Microsoft Visual C++ runtime is prepared by the installer
macOS — Apple Silicon Telegram.Drive_*_aarch64.dmg For M-series Macs
macOS — Intel Telegram.Drive_*_x64.dmg For Intel-based Macs
Linux x64 .AppImage, .deb, .rpm, or .pkg.tar.zst Choose the package suited to your distribution; Arch packages remain managed by pacman
Android / Google TV Signed APK from the latest applicable Android preview Android 7.0 or newer; sideloaded outside Google Play

Desktop release assets also include updater/signature sidecars where applicable. Download installers only from this repository's GitHub Releases page. See the Linux packaging and rendering guide for Arch installation, updater ownership, diagnostics, and AppImage safe mode.

First-time setup

Telegram requires third-party clients to use an application API ID and API hash. Telegram Drive does not provide shared credentials.

  1. Sign in at my.telegram.org and open API development tools.
  2. Create a Telegram application and copy its api_id and api_hash.
  3. Install and open Telegram Drive, then enter those credentials locally.
  4. Authenticate with your phone number and login code, or use QR login. If Telegram cloud-password protection is enabled, complete that step as well.
  5. Open Saved Messages or select/create Telegram channels to use as folders.

[!WARNING] Treat the API hash, Telegram login codes, session data, encryption credentials, REST keys, and WebDAV links as secrets. Do not paste them into issues, logs, screenshots, or support messages.

How it works

Telegram Drive uses Telegram's MTProto API for authentication and file operations:

The application caps a Telegram object at exactly 2,000,000,000 bytes. Encrypted files need additional envelope space, so their maximum original plaintext size is slightly lower.

Features

File management and organization

Reliable transfers and desktop operation

Viewing, playback, and archives

Some media depends on operating-system codec support or FFmpeg. Supported protected audio, video, and PDF content can use authenticated local byte-range streaming while the vault is unlocked, without publishing a persistent plaintext copy. See encrypted-file limitations.

Sharing and local integrations

[!NOTE] REST, WebDAV, and Telegram Drive share links are served by the running desktop application. They are not hosted public internet links. Keep the app open, do not forward its local ports, and protect every generated password, key, and capability URL.

Personalization, language, and network controls

Screenshots

Screenshots show representative workflows; small details may change between releases.

Desktop

Folder and list management Video playback
Telegram Drive desktop folder list Telegram Drive desktop video player

Android

Files Transfer queue
Telegram Drive Android file list Telegram Drive Android transfer queue

Additional desktop and mobile captures are available in the screenshots directory.

Folder Sync (desktop)

Folder Sync is an opt-in, bidirectional mapping between a local directory and one Telegram channel on Windows, macOS, or Linux. It compares three states—the current local tree, the current remote tree, and the last successfully synced tree—before changing either side.

Safety behavior includes:

Folder Sync is disabled until enabled in Settings → Folder Sync. Read the Folder Sync guide before mapping an important directory, and keep a separate tested backup.

Optional client-side encryption (alpha)

Telegram Drive includes opt-in encrypted transfers using the versioned TDENC2 envelope. Standard uploads remain the default. Encryption can be selected as a default for future uploads or chosen for an individual upload.

Mode Protection Required to unlock
Standard Existing plaintext Telegram upload Nothing
Vault Encrypts with a key held in the local encrypted vault Unlocked vault
File passphrase Adds a passphrase slot to the individual file File passphrase
Vault + file passphrase Adds both vault and per-file passphrase access Any supported valid slot

The implementation provides streaming XChaCha20-Poly1305 encryption before upload, authenticated streaming downloads, optional protection of the original filename and MIME type, vault auto-lock controls, recovery-bundle export/import, per-file state badges, and encryption-aware transfer queues.

[!CAUTION] Telegram Drive cannot recover, reset, or reconstruct a lost vault passphrase, file passphrase, encryption key, or unusable recovery bundle. Protect and test your recovery material and keep an independent backup of important files. Lost credentials or damaged recovery material can make encrypted data permanently unrecoverable.

The encryption design and implementation have not received an independent security audit. Use isolated test data first. This alpha feature is not a substitute for a tested backup strategy.

Current encrypted-file limitations

The following operations fail closed for encrypted objects while retaining their normal behavior for standard files:

TDENC2-protected audio, video, and PDF content can stream in supported in-app viewers while the vault is unlocked. The session-scoped credential is revoked when the vault locks, and the app does not publish a persistent plaintext copy. Download and authenticate other encrypted files before opening them in another application.

Privacy and security

Read the complete Privacy Policy, WebDAV guide, and REST API reference.

Languages

Telegram Drive supports a System language preference and these 24 selectable locales:

English Spanish Russian Ukrainian
Polish Persian Urdu Malay
Simplified Chinese Traditional Chinese French Italian
Arabic Brazilian Portuguese German Hindi
Bengali (Bangladesh) Indonesian Filipino (Philippines) Turkish
Thai (Thailand) Japanese Korean Vietnamese

Locale selection and formatting are production-supported. Some translated entries may still fall back to English, and full native-language, legal-copy, RTL, long-string, CJK, and accessibility review remains ongoing.

Optional $5 lifetime ad-free supporter license

Every Telegram Drive feature is available to non-paying users. Supported desktop and Android builds offer an optional $5.00 USD Lifetime Ad-Free Supporter License that removes sponsor placements on up to three supported Windows, macOS, Linux, or Android devices in total after one verified PayPal payment.

[!WARNING] Save the recovery code shown after activation. Payment alone does not bypass verification. Refunds are not automatic or guaranteed except where required by law. A refund, payment reversal, chargeback, or upheld dispute revokes the associated ad-free entitlement. Read the Supporter Terms before paying.

Android and Google TV (signed preview)

The Android build is currently distributed separately from the desktop release as a signed sideload preview. It is not available through Google Play.

  1. Open the Telegram Drive releases page and select the latest signed Android preview.
  2. Download the signed universal Android APK listed in that release.
  3. On Android, allow Install unknown apps for the browser or file manager you used.
  4. Open the APK and choose Install.
  5. Enter your own Telegram API ID and API hash on first launch.

Android requirements and notes:

Local REST API and WebDAV

Both integrations are desktop-only, disabled by default, and loopback-only.

Integration Default address Authentication Access
REST API http://127.0.0.1:8550/api/v1 X-API-Key header File/folder operations, bulk actions, storage data, thumbnails, and media metadata
WebDAV `http://127.0.0.1:8551/dav/<private-tok

Telegram-Drive (caamer20/Telegram-Drive)

Searching Database…

这是什么?Telegram Drive 是一款本地优先的桌面和移动应用(基于 Tauri、Rust 和 React 构建),它能把你自己 Telegram 账号的收藏夹和频道变成一个专注的文件工作区,用于整理、传输、预览、流式播放、同步和分享文件。
这是独立的云存储服务,还是只是我自己 Telegram 账号的客户端?它只是一个客户端:应用使用你提供的凭据直接连接 Telegram,不运行自己的文件存储或中继服务器。收藏夹会成为主要存储位置,Telegram 频道也可以当作文件夹使用。
我该如何让它运行起来?从 GitHub Releases 页面下载适用于你平台的预编译安装包(Windows 为 NSIS 安装程序,macOS 为 dmg,Linux 为 AppImage/deb/rpm/pkg,Android 为已签名的 APK),然后完成首次设置:填写你自己的 Telegram API 凭据,并用手机号、登录验证码或二维码登录。
我需要自己的 Telegram API 凭据吗?需要。Telegram 要求第三方客户端提供自己的应用 API ID 和 API hash,这些需要从 my.telegram.org 获取;Telegram Drive 不提供共享凭据。
文件大小有限制吗?它可以作为可靠的备份吗?每个 Telegram 对象的大小上限正好为 2,000,000,000 字节(加密文件因封装开销,可容纳的明文略少)。应用还明确提醒,不应把它当作无限存储,也不应作为重要数据唯一的备份。
它支持哪些平台?桌面版支持 Windows、macOS(Intel 和 Apple Silicon)和 Linux,另外还提供侧载安装的 Android/Google TV 预览版应用。
我的数据和凭据会怎样?应用设置、缓存、队列和同步状态都保存在本地设备上;崩溃报告为可选开启;本地的 REST/WebDAV 服务器只监听回环地址,不涉及任何单独的文件中继。
什么是文件夹同步?一种可选开启的双向映射,将本地目录与一个 Telegram 频道对应起来。在修改任何一端之前,它会比较本地、远端和上次同步的状态;冲突处理提供“保留本地”“保留远端”“两者都保留”选项,并带有大规模删除保护。
可选的加密是如何工作的?TDENC2 是一项 alpha 功能,它在上传前使用流式 XChaCha20-Poly1305 在本地加密文件,可通过保险库密钥和/或每个文件的口令解锁;该功能尚未经过独立的安全审计,丢失的口令无法找回。
我能像挂载网络驱动器一样挂载我的 Telegram 文件吗?可以。应用可以开启可选的本地 WebDAV 服务器,供兼容的文件管理器挂载;此外还提供本地 REST API,用于以编程方式操作文件、文件夹和媒体。
为什么要用 Telegram,而不是专门的云服务?它在你自己 Telegram 账号已有的存储之上,构建了一套类桌面文件管理器的文件管理、同步、流式播放和分享功能,所有功能免费,也无需运行单独的服务器。
Creator
caamer20
Size
154.4 MB
Stars
5.5K
Age
8mo
Commits · 90 Days