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.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.