tgt is a terminal user interface for Telegram built with Rust and TDLib.
It offers a keyboard-focused way to work with chats and messages while still handling richer Telegram content such as photos, pinned messages, files, and voice and audio playback. Its interface separates the chat list, conversation view and prompt, while flexible TOML files control keybindings, themes, logging and Telegram settings.
This is free and open source software.
Key Features
- Send, receive, edit, reply to, copy and delete Telegram messages from the terminal.
- Server-side message search with an overlay, jump-to-message support and restoration of normal message ordering.
- Photo viewer with keyboard navigation, lazy-loaded history and optional Chafa-based terminal image rendering.
- Browse pinned messages, jump directly to pins, and open pinned photos or voice content.
- Upload files and save photos or documents through a Ratatui file explorer.
- Optional playback of Telegram voice notes and other audio formats, including MP3.
- Mouse support for focusing panes, scrolling chats and opening items in the chat list.
- Customisable keybindings and themes, plus a command guide and dynamic theme selector.
- Multi-line message composition and display, clipboard support, and configurable prompt controls.
- SOCKS5, HTTP and MTProto proxy support through Telegram configuration.
- XDG-style paths, automatic config creation, versioned upgrades and commands for clearing configuration, data and logs.
- Downloaded, local or pkg-config-discovered TDLib with optional static linking.
Website: github.com/FedericoBruzzone/tgt
Support:
Developer: Federico Bruzzone and contributors
License: MIT License or Apache License 2.0

tgt is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Terminal-Based Matrix Clients | |
|---|---|
| Gomuks | Terminal Matrix client written in Go |
| iamb | Matrix client for Vim addicts |
| Ement.el | Matrix client for Emacs |
| matrix-commander | Simple but convenient CLI-based Matrix client |
| matrix-commander-rs | Command-line Matrix client written in Rust |
| GÅsuto | Lightweight terminal client for the Matrix communication protocol |
| mnotify | Send notifications from a headless server |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.