Skip to content
TelegramDL

Getting Started & Installation

This guide walks you through the system requirements, initial setup, and methods to run and compile TelegramDL.


TelegramDL is optimized for cross-platform desktop environments:

  • Operating Systems: Windows 10/11, macOS 11+, Linux (Ubuntu, Debian, Fedora, Arch).
  • Go: Version 1.22 or higher (to build from source).
  • Node.js: Version 18 or higher with npm (to build the web dashboard).
  • Wails v2 CLI: Required for desktop compilation and packaging.
  • WebView: Requirements by operating system:
    • macOS: It already includes its own native WebView..
    • Windows: Requires installation Microsoft Edge WebView2 Runtime.
    • Linux: Requires WebKitGTK, QT WebEngine o WPE WebKit.

If you wish to compile the application

Ventana de terminal
go install github.com/wailsapp/wails/v2/cmd/wails@latest

To connect to the Telegram MTProto network, you need personal API ID and API HASH keys:

  1. Sign in to my.telegram.org with your phone number.
  2. Navigate to API development tools.
  3. Fill out the application registration form (any app name or short title is valid).
  4. Copy the generated values: App api_id and App api_hash.

When opening TelegramDL for the first time—whether via the native application or the browser using --server mode—the interface will display an interactive wizard that asks you to…:

  1. API ID and API HASH.
  2. International phone number format (e.g. +12025550123).
  3. Verification code (sent via the official Telegram app or SMS).
  4. Two-Factor Authentication (2FA) password, if enabled on your account.

Once finished, you can start using the program.


TelegramDL stores all application state, sessions, and SQLite databases in your user directory:

  • Windows: %USERPROFILE%\.tgdown\tgdown.sqlite3
  • Linux / macOS: ~/.tgdown/tgdown.sqlite3

Downloads default to your system’s Downloads/TelegramDL folder, which can be modified at any time in Settings.


Ventana de terminal
npm --prefix dashboard install
Ventana de terminal
wails dev

This runs the Go backend and Vite dev server concurrently, opening the desktop window with hot module replacement.

Ventana de terminal
npm --prefix dashboard run build
Ventana de terminal
wails build

The compiled binary will be placed inside build/bin/ (TelegramDL.exe on Windows, or the desktop executable on macOS/Linux).