README.md
whatsapp-tui
A vim-style WhatsApp client for the terminal: modal keys, inline images, animated stickers and GIFs, replies, reactions, search and file sending, in Rosé Pine colours. Built on whatsmeow.
Tour of every feature, with a playable demo: the website
(source in site/; make site previews it locally).
Install
Arch Linux (AUR):
yay -S whatsapp-tui-git # or paru, or any AUR helper
From source: you need the Go version declared in go.mod (Go can fetch the required
toolchain) and a C compiler (for SQLite).
git clone git@github.com:sambuaneesh/whatsapp-tui.git
cd whatsapp-tui
make install # installs to ~/.local/bin + a launcher entry (rofi, app menus)
whatsapp-tui # scan the QR code: WhatsApp → Settings → Linked devices
~/.local/bin needs to be on your PATH (make install tells you if it
isn't). For all users: sudo make install PREFIX=/usr/local.
On Omarchy, use the fork's local development workflow to keep the app launcher updated as you change the source.
Dependencies
| Package | Needed for | |
|---|---|---|
| Go, gcc/clang | building | required |
| kitty (or another kitty-graphics terminal) | sharp images, animations, profile pictures | recommended; other terminals get block-character images |
| yazi | attaching files (a) | optional |
| ffmpeg | making stickers/GIFs, playing GIFs | optional |
| mpv | playing videos (space in visual mode) | optional; otherwise your default player |
| wl-clipboard | clipboard on Wayland (X11 works without it) | optional |
Debian / Ubuntu
sudo apt install golang gcc ffmpeg mpv wl-clipboard
# yazi: https://yazi-rs.github.io/docs/installation
Arch
sudo pacman -S go gcc ffmpeg mpv yazi wl-clipboard
Fedora
sudo dnf install golang gcc ffmpeg-free wl-clipboard # yazi: see its docs
macOS
xcode-select --install # C compiler
brew install go ffmpeg mpv yazi
Pasting images from the clipboard isn't supported on macOS yet.
Windows: use WSL with the Ubuntu steps above (images fall back to block characters outside kitty). Native Windows is untested.
Use
The full guide is in USAGE.md; press ? in the app for every key. Like VS Code, ctrl+p goes to any
chat or contact (fuzzy: hrsh finds Hari Shankar) and F1 /
ctrl+shift+p runs any feature by name. The basics: j/k move, enter opens a
chat, i writes, esc goes back to normal mode, v selects messages
(enter reply, r react, e edit, f forward, y copy, s save, d delete, P pin), / searches,
S searches all chats, :q closes the window (it keeps running in the
background, like tmux; the next launch picks up where you were) and :q! quits.
kitty: so shift+enter makes a new line and ctrl+v pastes images, add
to kitty.conf (only affects whatsapp-tui):
map --when-focus-on var:whatsapp_tui shift+enter send_text all \x1b\r
map --when-focus-on var:whatsapp_tui ctrl+v
map --when-focus-on var:whatsapp_tui ctrl+shift+p send_text all \e[25~
map --when-focus-on var:whatsapp_tui ctrl+shift+f send_text all \e[26~
map --when-focus-on var:whatsapp_tui ctrl+comma send_text all \e[28~
Your own space: 📋 Today is pinned on top of your chats, and your task
lists, notes and saved messages are chats of their own: type call mom 6pm #family ! and it's a task due at 18:00; x ticks it off. They can
mirror to an Obsidian vault both ways. See USAGE.md.
Scripts and tools can use it through a local API and hooks: see docs/API.md.
ctrl+, (or :settings) opens the settings: theme, the space between
messages, bubble borders, notifications, search and more, changed with the
arrow keys. They live in ~/.config/whatsapp-tui/config.ini (on macOS:
~/Library/Application Support/whatsapp-tui/): theme, images, mouse,
download folder. --debug writes logs to ~/.cache/whatsapp-tui/debug.log.
Credits
Based on whatscli (MIT). Colours by Rosé Pine (MIT). Unofficial client: using it may break WhatsApp's terms of service.