← All projects
Project record1 mention
Originally shared on Hacker News

Gmessages-TUI

A terminal (TUI) client for Google Messages supporting SMS and RCS, pairing with an Android phone that must remain on. Manages groups, images in kitty-compatible terminals, reactions, archives, spam, trash, searches, and notifications. Built on a protocol specification written by the author (based on the protocol decoded by mautrix-gmessages) and gmessages-proto, a clean-room client crate in Rust. Messages are stored in a local encrypted database with the key in the system keystore. Installable via cargo or deb/rpm/pacman packages; tested on Linux only.

Last shared
01 / The problem

What it addresses

Google Messages could not be read in a terminal and has no public interface, so the author wrote a protocol specification and built a terminal client on top of it.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Gmessages-TUI

    A terminal (TUI) client for Google Messages supporting SMS and RCS, pairing with an Android phone that must remain on. Manages groups, images in kitty-compatible terminals, reactions, archives, spam, trash, searches, and notifications. Built on a protocol specification written by the author (based on the protocol decoded by mautrix-gmessages) and gmessages-proto, a clean-room client crate in Rust. Messages are stored in a local encrypted database with the key in the system keystore. Installable via cargo or deb/rpm/pacman packages; tested on Linux only.

    Problem: Google Messages could not be read in a terminal and has no public interface, so the author wrote a protocol specification and built a terminal client on top of it.

    Posted by @louis_ · Original source ↗

    Story title · @louis_ · · Source ↗

    Show HN: Gmessages-TUI, Google Messages (RCS and SMS) in the Terminal

    Submitted URL · @louis_ · · Source ↗

    https://github.com/louisrubet/gmessages-tui

    Source text · @louis_ · · Source ↗

    As a big TUI fan I've been complaining for a long time about not being able to read my Google Messages in a terminal. I wrote a client.

    Source text · @louis_ · · Source ↗

    It pairs with the Android phone, Google connection then emoji, the phone must remain on.

    Source text · @louis_ · · Source ↗

    The client manages SMS and RCS and groups, images (if you have a kitty compatible terminal), reactions, archives, spam, trash, searches, notifications...

    Source text · @louis_ · · Source ↗

    Google Messages having no public interface, I wrote a specification https://github.com/louisrubet/gmessages-tui/tree/main/doc/protocol from the protocol decoded by mautrix-gmessages

    Source text · @louis_ · · Source ↗

    This allowed me to write gmessages-proto, a clean-room client crate in Rust and a separated interface https://github.com/louisrubet/chat-tui-core

    Source text · @louis_ · · Source ↗

    Messages are stored in a local encrypted database, whose key is stored in the system keystore.

    Source text · @louis_ · · Source ↗

    Installation through cargo is `cargo install --locked gmessages-tui`.

    Source text · @louis_ · · Source ↗

    There are deb, rpm and pacman packages if you prefer.

    Source text · @louis_ · · Source ↗

    Tested on Linux only, please dare to install it on macOS or Windows, and open GitHub tickets!