termchat.app

not audited · experimental

termchat.app

An encrypted messenger without a phone number:
in your terminal, in a window and on your phone.

End-to-end encrypted text and documents, no accounts. You are a key pair and a nickname you choose; the server only ever sees ciphertext.

What it is

Text and documents, in a terminal, a window and on Android

A chat where you already work, a desktop app if you prefer a window, and an app for your phone, all on the same engine. Files are opaque bytes, never opened or previewed; a received image opens only when you click View, decoded by our own Rust code. No inline images, no link previews, no formatting: less to leak, less to exploit.

No one to sign up with

No phone number, email or name. Your identity is a key pair made on your device, plus a nickname only your contacts see.

A server that knows nothing

The relay passes along envelopes it cannot open, between anonymous queues. Seizing it gives ciphertext and random queue IDs, nothing more.

Everything is a contact

A friend, a server that reports a failed backup, an AI model if you want one: each is a contact you added with an invite, with keys you can verify. A group is a few contacts in one room. No bot platform, no channels, no directory: nobody reaches you unless you let them in.

What it can do

End-to-end encryption

Olm from vodozemac, the library behind Matrix: an X3DH-style handshake and the Double Ratchet, the design behind Signal. No cryptography of our own.

The relay does not know who talks to whom

It sees anonymous queues, not people: no accounts, no keys, no senders. Each contact writes to a queue made just for them.

Tor built in

One switch hides your IP address from the relay and your provider, with a circuit per contact. Where Tor is blocked, obfs4, webtunnel or snowflake bridges get through.

Your own relay

One small binary with SQLite, on any server, with an onion address if you like. It stores queues and ciphertext, nothing about people. Your queues stay on it while friends keep theirs on the public relay, so no single server sees both sides of a conversation.

Invites, not a directory

Nobody can find you: people join with an invite you give them, one-time or public, and wait as a request until you accept. Block, reject or report.

Safety numbers

Compare 60 digits with a friend once, or scan the QR code on their screen, and rule out anyone in the middle.

Introductions with consent

Introduce two of your contacts: the one introduced is asked first, the other decides whether to add them, and nobody can be reached without saying yes. The relay cannot tell an introduction from any other invite.

Incognito contacts

Talk to someone from a separate identity of your own: other keys, another name. Your contacts cannot link you to each other.

Small private groups

Up to 32 devices (32 people with one each), by invitation only, and nobody can find the group. Up to four admins: the main one removes, sets the timer and hands over; the others invite their own contacts. Megolm from the same vodozemac; new members do not read the old history, removed ones not the new. Documents go there as in a chat.

Phone and laptop, one identity

Link up to four devices with a code and a fingerprint check on both screens. Contacts write to each of them; each device has keys of its own, and a lost one is removed from the main device. Groups, documents and what you send reach all of them.

Duress password

A second password that silently erases everything and shows a fresh install.

Auto-lock and disappearing messages

Keys leave memory after 1 to 30 idle minutes, or at once with Ctrl+K. Messages can vanish after 5 minutes to a week, or never touch the disk.

Backups and moving

Back up your identity and restore it on a new device; the old one is wiped without telling anyone.

Terminal, desktop and Android

The same engine in a terminal, a window on macOS, Linux and Windows, and an app for your phone without Google services. Mouse, themes and UnifiedPush wake-ups if you want them.

Scripts and servers

Send and read encrypted messages from shell, cron or CI. With termchat ask, a deploy can wait for a verified contact to approve it in chat on their main device, such as their phone. Use termchat watch to hear when a server goes quiet, and termchat run to learn how a job ended. Set up chat approvals

Alerts and on-call, without a SaaS

termchat hook turns Alertmanager, Grafana and Uptime Kuma webhooks into encrypted messages to a verified contact or a private group. termchat page repeats an alert until someone answers ack, passes it to the next person, and says when it resolved. Connect your monitoring

Private groups in scripts

Send backup reports from cron or CI to a private group. List your groups with termchat groups and use termchat recv --group to read new messages and replies as JSON. Use groups from scripts

Answers, edits and reactions

Answer a particular message, edit or delete your own for both of you, react with one of seven pixel sprites. All inside the encryption; the relay sees an ordinary message.

Markdown that opens nothing

Bold, italic, code, quotes, lists and links, with buttons above the input. A link always shows its full address, and a click only copies it: the app never opens a browser around Tor.

Delivered and read

Two checks when a message is on their device; read receipts only if both of you turn them on. Off by default for read, never in groups, and the docs say what their timing shows the relay.

Documents, offline, searchable

Files up to 25 MiB in chats and 1 MiB in groups, never opened by the app; on the desktop pick one in the system dialog or drop it on the window. Messages wait on the relay for up to 14 days. Search runs on your device only.

Notes to yourself

A chat with yourself for links, drafts and reminders, kept on the device and sent only to your own linked devices, never stored on a server. #tags, filters and stars keep it from turning into a heap.

A tidy chat list

Drafts stay with their chat, encrypted. Mute a chat for an hour, a day or always, pin the ones you need, archive the rest. Mark a chat with an icon instead of its letter, seen only on your device. Forward a message with no mark of where it came from, or export a chat to a text file when you ask for it.

termchat.app in a window

Not everyone likes a terminal. The desktop app for macOS, Linux and Windows is the same messenger in a window: the same account, encryption and relay, with the look of the Android app and this site's synthwave.

The termchat.app desktop app: a contact list on the left and a chat with alice on the right

Everything the terminal client does

Requests, chats, disappearing messages, documents, the safety number, backups, the duress password, Tor and bridges, wipe.

Invites with a QR code

Show your invite on screen and scan it with the Android app, or copy the text.

One account, one client at a time

The terminal client and the app open the same account, but not together: the second one says it is already open.

Honest about a window

Screenshots and screen recording can see it, and the text passes through the window system and the graphics driver. A terminal shows less.

How to install →

termchat.app on Android

The same messenger in your pocket: chats, small groups, answers and reactions, Tor, and the colour themes of the terminal. The release app blocks screenshots of itself, so these come from a test build.

The chat list on Android: Notes, three contacts with their icons and the group Saturday hikeA chat with bob: bold text from Markdown and a pixel reactionThe group Saturday hike with four members: names over messages, an @mention, an answer and a reactionThe same group in the dracula theme

How to install →

What it protects, and what it does not

The goal is not “impossible to break” but “breaking the server is pointless”.

Protected

  • Message contents, from your provider, Wi-Fi, the relay operator and anyone who seizes the relay.
  • Old messages if a key leaks later, and new ones once the attacker loses access.
  • Tampering, replays and reordering; dropped messages are shown.
  • Impersonation, once you compare the safety number.
  • Your IP address, from the relay and your provider, with Tor on.
  • Your data at rest: encrypted with your password (Argon2id).

Partly

  • Metadata: the relay knows anonymous queues, not who writes to whom; it sees when each queue is written and read, and the size rounded up to 512 / 4096 / 16384 bytes. Each contact gets a connection of its own; over Tor, a circuit of its own.
  • Someone at your unlocked computer: auto-lock, disappearing messages, chats without history.
  • Being forced to give a password: the duress password does not help if the disk was copied first.
  • A lost device: only with a backup of your identity.

Not protected

  • Malware, a keylogger, a compromised terminal or OS.
  • A global observer correlating traffic timing.
  • Keys in swap or a hibernation file: use disk encryption.

Full threat model → · Compared with Signal, Session, SimpleX and Briar →

How it works

  1. 01

    Exchange invites

    Send your invite, a line starting with termchat:, by any channel. It holds public keys and a code that works once.

  2. 02

    Verify once

    Compare the safety number in person or by phone. Same digits: nobody is in the middle.

  3. 03

    Talk

    Messages travel encrypted through the relay, with a new key for every message.

Install

With Homebrew

brew install prophecy1345/tap/termchat

Or with one command

curl -fsSL https://raw.githubusercontent.com/prophecy1345/termchat/main/scripts/install.sh | sh

In PowerShell

irm https://raw.githubusercontent.com/prophecy1345/termchat/main/scripts/install.ps1 | iex

Or download the .zip, open it and double-click termchat.exe.

macOS, Linux: with Homebrew

brew install prophecy1345/tap/termchat-gui

Or with one command: termchat.app goes to ~/Applications on macOS, into the app menu on Linux

curl -fsSL https://raw.githubusercontent.com/prophecy1345/termchat/main/scripts/install.sh | TERMCHAT_GUI=1 sh

Windows, in PowerShell: with a Start menu entry

$env:TERMCHAT_GUI = 1; irm https://raw.githubusercontent.com/prophecy1345/termchat/main/scripts/install.ps1 | iex

Not signed with a paid Apple or Microsoft certificate: installed these ways it opens straight away. Downloaded through a browser, macOS asks once (System Settings → Privacy & Security → Open Anyway), and so does Windows SmartScreen. Linux needs glibc 2.28 or newer and X11 or Wayland.

Download termchat-…-android-arm64.apk from the releases page and open it; Android asks once to allow installs from your browser. No Google services needed. For messages while the app is closed, install ntfy and turn on wake-ups in the app's settings.

Releases

Download the archive for your system from the releases page, check it against SHA256SUMS and run termchat.

Releases

Then type termchat. The setup screen is already filled in with the public relay.

Verify a release →

Run your own relay

The relay is one binary next to termchat.app in every release: SQLite, rate limits, an optional onion address. Your queues stay on your server and friends on the public relay keep theirs there, so neither server sees both sides of a conversation. Or your friends join your server too.

Self-hosting guide →