A multi-backend chat client for the terminal. Manage chats and AI powered chat bots easily, written in Go.

Wiregram demo: the home screen's plugin widgets, a DM, the game picker, a group thread, search, mentions, Mattermost, an email folder and reply, and approving a chat bot's reply
Chats and email on five networks in one sidebar, games, threads, search, mentions and a chat bot's reply, all from the keyboard.

What it does

Multi-backend

Telegram, WhatsApp, Matrix, Mattermost and email accounts side by side in one sidebar, with Unread and Mentions views for each.

Terminal powered

Keyboard first, with clicks and the wheel where they help. Replies, threads, reactions, search and uploads, with media in mpv and images inline.

AI Powered Chat Bots

Bots that answer your DMs through any OpenAI-compatible provider, or draft replies for you to approve. Register one on Mattermost or Telegram and people can message it directly.

Lua plugins & games

Widgets on the home screen: unread chats, the weather and Hacker News built in, or your own in a sandboxed Lua script. Two-player games are Lua scripts too.

Chats and bots

Chat mode: a group chat with replies, beside the account sidebar
Chats: read and write your chats yourself.
A chat bot's settings beside the account sidebar
AI Powered Chat Bots: several per account, each answering its own DMs, set up from the sidebar's Bots section. You approve their suggested replies; registered on Mattermost or Telegram, a bot answers people as itself from its own inbox. Never groups or channels.

Multiplayer games, inside your chats

Challenge anyone in a DM or group to Chess, Battleship, Snake, Pong, Connect Four or Tic-tac-toe: type game+ in the composer or press Alt+G, pick a game, and the invite lands in the chat. They click it and you're playing, side by side with the conversation. Real-time games run at full speed, and each is a small Lua script.

How games work →


        

Download

One file, no installer and no runtime. Pick your platform from the latest release.

Or from the terminal:

# Linux x86_64; swap the suffix for your platform
$ curl -fLo wiregram https://github.com/lebmatter/wiregram/releases/latest/download/wiregram-linux-amd64
$ chmod +x wiregram
$ ./wiregram

Build from source

Requires Go 1.26 or newer and an interactive terminal.

$ git clone https://github.com/lebmatter/wiregram
$ cd wiregram
$ make
$ ./wiregram

Run wiregram -h for every shortcut. Install mpv to play media; kitty and Ghostty draw images inline at full resolution.