Skip to content
Page011Public

About

A CLI/TUI for your messaging platforms

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

chatcli

CI Release License

WhatsApp and Microsoft Teams in your terminal. One interface for chats, messages, replies and files, without keeping either desktop app open.

chatcli: a WhatsApp group chat with avatars and reactions next to the chat list (demo data)

Features

  • Teams and WhatsApp direct/group chats in separate tabs
  • Replies, reactions, editing, deleting, mentions and attachments
  • Search, unread counts, notifications, configurable themes and keybindings
  • Rebindable keys, keyboard navigation and local message storage
  • Local-first: connect your own accounts; no chatcli-hosted messaging service

Get started

Windows 10/11: Download the Windows ZIP from Releases, extract chatcli.exe, and run it in your terminal. Windows builds are not code-signed; verify the release's SHA-256 checksum before running.

Build from source (Rust stable and platform C build tools required):

git clone https://github.com/Page011/chatCLI.git
cd chatCLI
cargo build --release

Then launch target/release/chatcli (Windows: target\\release\\chatcli.exe).

Try the app without accounts or network access:

chatcli --demo --tour

Linux and macOS builds are experimental and must currently be built from source.

Connect your accounts

WhatsApp: Run chatcli, select WhatsApp, press Enter, then scan the QR code using WhatsApp → Linked devices → Link a device.

Microsoft Teams: Requires a work/school account and your own Microsoft Entra app registration. Set the app's desktop redirect URI to http://localhost and add delegated Microsoft Graph permissions: User.Read, Chat.ReadWrite, ChatMessage.Send, offline_access. Then:

chatcli teams setup <client-id> <tenant-id>
chatcli teams login
chatcli

Teams works without a relay; press r to refresh chats. For automatic live updates, deploy the optional Cloudflare Worker using the relay setup guide.

Essential keys

Key Action
Tab Switch network
↑ / ↓ or j / k Move through chats or messages
Enter Go into a chat and select a message to reply/react/edit
i Type in the chat's message box
Esc Back out: message box, selection, chat list
Enter Send message (in the message box)
Ctrl+J New line
/ Filter chats (in a selected chat: search it)
: Commands
Ctrl+O Attach a file
Ctrl+F Search saved messages
F2 Settings
? / F1 Help
Ctrl+C Quit

Important notes

  • Early release: Some features need more live-account testing.
  • Unofficial WhatsApp client: Uses a linked device via whatsapp-rust; this may violate WhatsApp's terms and risks account suspension. Avoid automated or high-volume sending.
  • Teams limitations: Work/school accounts only; supports 1:1 and group chats, not channels or meeting chats. Live updates require the optional relay.
  • Privacy: Chat history and downloaded media are stored locally without encryption. Protect your device with full-disk encryption. Avoid syncing the chatcli data folder to the cloud.

More: Full setup and reference guide · Troubleshooting · Report an issue · Contributing · License

About

A CLI/TUI for your messaging platforms

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Contributors

Languages