VoIP

tgt – terminal user interface for Telegram

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 in action
Click animation for full size

tgt is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Terminal-Based Matrix Clients
GomuksTerminal Matrix client written in Go
iambMatrix client for Vim addicts
Ement.elMatrix client for Emacs
matrix-commanderSimple but convenient CLI-based Matrix client
matrix-commander-rsCommand-line Matrix client written in Rust
GōsutoLightweight terminal client for the Matrix communication protocol
mnotifySend notifications from a headless server

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted