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)

file-sharing
Searching Database…

What is this?Telegram Drive is a local-first desktop and mobile app (built with Tauri, Rust, and React) that turns your own Telegram account's Saved Messages and channels into a focused file workspace for organizing, transferring, previewing, streaming, syncing, and sharing files.
Is this a separate cloud storage service or just a client for my own Telegram account?It is only a client: the app connects directly to Telegram with credentials you provide and does not run its own file-storage or relay server. Saved Messages becomes the main storage location, with Telegram channels usable as folders.
How do I get it running?Download the prebuilt package for your platform from the GitHub Releases page (NSIS installer for Windows, dmg for macOS, AppImage/deb/rpm/pkg for Linux, or signed APK for Android), then complete first-time setup by entering your own Telegram API credentials and logging in with your phone number, login code, or QR login.
Do I need my own Telegram API credentials?Yes. Telegram requires third-party clients to supply their own application API ID and API hash obtained from my.telegram.org; Telegram Drive does not provide shared credentials.
Is there a file size limit, and is this a reliable backup?Each Telegram object is capped at exactly 2,000,000,000 bytes (encrypted files allow slightly less plaintext due to envelope overhead), and the app explicitly warns it should not be treated as unlimited storage or as the sole backup of important data.
Which platforms does it run on?Desktop builds cover Windows, macOS (Intel and Apple Silicon), and Linux, plus a sideloaded Android/Google TV preview app.
What happens to my data and credentials?App settings, caches, queues, and sync state stay on the local device, crash reporting is opt-in, and any local REST/WebDAV servers only listen on loopback with no separate file relay involved.
What is Folder Sync?An opt-in, bidirectional mapping between a local directory and one Telegram channel that compares the local, remote, and last-synced states before changing either side, with Keep Local/Keep Remote/Keep Both conflict handling and a mass-deletion guard.
How does the optional encryption work?An alpha feature called TDENC2 encrypts files locally with streaming XChaCha20-Poly1305 before upload, unlockable via a vault key and/or per-file passphrase; it has not had an independent security audit and lost passphrases cannot be recovered.
Can I mount my Telegram files like a network drive?Yes, the app can expose an opt-in local WebDAV server for mounting in compatible file managers, plus a local REST API for programmatic file, folder, and media operations.
Why use Telegram instead of a dedicated cloud service?It builds a desktop-style file manager, sync, streaming, and sharing layer on top of storage you already have in your own Telegram account, with every feature free and no separate server to run.
Creator
caamer20
Size
154.4 MB
Stars
5.5K
Age
8mo
Commits · 90 Days