Show HN: Gmessages-TUI, Google Messages (RCS and SMS) in the Terminal github.com...
Show HN @show
Show HN: Gmessages-TUI, Google Messages (RCS and SMS) in the Terminal github.com · 2 points · 0 comments · HN thread
TL;DR Show HN post for gmessages-tui, a terminal client for Google Messages (RCS and SMS) that pairs with an Android phone via Google's relay, supports images via the kitty graphics protocol, and stores history in an encrypted local SQLCipher database. The author wrote a clean-room protocol specification and a Rust library, gmessages-proto, built on the reverse-engineering work of mautrix-gmessages and libgm. The post received 2 points and no comments.
- Pairs with an Android phone through Google's relay, the same way Google Messages for web does; the phone must stay online since it holds and sends the messages.
- Manages SMS, RCS, groups, archive, spam and trash folders kept in sync with the phone, plus reactions, read state, typing and desktop notifications.
- Images show as thumbnails in kitty-protocol terminals (Ghostty, kitty, Rio); other terminals show [image #N] and open images with o.
- History is kept in a local SQLCipher store whose 32-byte key is held in the OS keyring; sign-in uses a private window and no browser profile is saved.
- Installable via cargo install --locked gmessages-tui or as deb, rpm and pacman packages for Linux x86-64; tested on Linux only.
- The project is unofficial, uses an undocumented API that Google may change, and is licensed AGPL-3.0; the protocol spec and gmessages-proto are published separately.
Links in the post
- Google Messages protocol specification: Clean-room specification of the Google Messages for web protocol: transport, cryptography, pairing, relay, actions and data model.
- mautrix-gmessages: Matrix-Google Messages puppeting bridge by the mautrix project, whose protocol work this project builds on.
- libgm (mautrix gmessages): Go library in mautrix-gmessages that reverse-engineers Google Messages for web; the page captured here shows only GitHub navigation and a directory listing.
- chat-tui-core: Shared terminal chat interface library used by gmessages-tui and signal-tui, exposing a Backend trait for clients.
Discussion No comments have been posted yet, so the thread has no discussion to summarise.