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), которое превращает Saved Messages вашего аккаунта Telegram и его каналы в удобное рабочее пространство для файлов: их можно упорядочивать, передавать, просматривать, воспроизводить потоково, синхронизировать и делиться ими.
Это отдельный облачный сервис или просто клиент для моего аккаунта Telegram?Это только клиент: приложение подключается к Telegram напрямую, используя данные, которые вы укажете, и не запускает собственный сервер для хранения или передачи файлов. Saved Messages становится основным местом хранения, а каналы Telegram можно использовать как папки.
Как всё запустить?Скачайте готовый пакет для своей платформы на странице GitHub Releases (установщик NSIS для Windows, dmg для macOS, AppImage/deb/rpm/pkg для Linux или подписанный APK для Android), затем пройдите первоначальную настройку: введите свои API-данные Telegram и войдите по номеру телефона, коду входа или через QR-код.
Нужны ли мне собственные API-данные Telegram?Да. Telegram требует, чтобы сторонние клиенты использовали собственные API ID и API hash приложения, которые получают на my.telegram.org. Telegram Drive общих данных не предоставляет.
Есть ли ограничение на размер файла и можно ли считать это надёжной резервной копией?Каждый объект в Telegram ограничен ровно 2 000 000 000 байт (зашифрованные файлы допускают немного меньший объём открытых данных из-за служебной оболочки). Приложение прямо предупреждает, что его нельзя считать безлимитным хранилищем или единственной резервной копией важных данных.
На каких платформах работает?Настольные сборки есть для Windows, macOS (Intel и Apple Silicon) и Linux. Также есть предварительная версия приложения для Android и Google TV, которую устанавливают вручную (sideload).
Что происходит с моими данными и учётными данными?Настройки приложения, кэш, очереди и состояние синхронизации хранятся на локальном устройстве. Отправка отчётов о сбоях включается по желанию. Локальные серверы REST/WebDAV слушают только loopback и не используют отдельный сервер для передачи файлов.
Что такое Folder Sync?Необязательная двусторонняя связь между локальной папкой и одним каналом Telegram. Перед любыми изменениями на обеих сторонах она сравнивает локальное и удалённое состояние с состоянием на момент последней синхронизации. Конфликты решаются через Keep Local, Keep Remote или Keep Both, а защита от массового удаления не даёт случайно стереть много файлов.
Как работает необязательное шифрование?Альфа-функция TDENC2 шифрует файлы локально потоковым алгоритмом XChaCha20-Poly1305 перед загрузкой. Открыть их можно ключом хранилища и/или паролем для каждого файла. Функция не проходила независимую проверку безопасности, а утерянные пароли восстановить нельзя.
Можно ли подключить файлы Telegram как сетевой диск?Да. Приложение может включить необязательный локальный сервер WebDAV для подключения в совместимых файловых менеджерах, а также предоставляет локальный REST API для программной работы с файлами, папками и медиа.
Зачем использовать Telegram вместо специализированного облачного сервиса?Приложение добавляет к хранилищу, которое уже есть в вашем аккаунте Telegram, файловый менеджер в стиле настольных программ, синхронизацию, потоковое воспроизведение и обмен файлами. Все функции бесплатны, и не нужно запускать отдельный сервер.
Creator
caamer20
Size
154.4 MB
Stars
5.5K
Age
8mo
Commits · 90 Days