Skip to content

My Own Signal App – In a Linux Terminal

Sometimes a small frustration turns into an unexpectedly enjoyable software experiment. This one started with a messaging app that kept crashing and ended with a surprisingly usable version of Signal running entirely inside my Linux terminal. Over the past few years, I’ve been trying to move as many of my contacts as possible from WhatsApp...

@
Nov 19, 20263 min read

ometimes a small frustration turns into an unexpectedly enjoyable software experiment. This one started with a messaging app that kept crashing and ended with a surprisingly usable version of Signal running entirely inside my Linux terminal.

Over the past few years, I’ve been trying to move as many of my contacts as possible from WhatsApp to Signal. Not everyone is willing to make the switch, of course, but quite a few people have. As a result, Signal has become an increasingly important part of my everyday communication.

There was just one problem. The Signal desktop app I installed from the Linux Mint app store on my laptop wasn’t exactly reliable. In fact, it seemed to crash more often than I could actually use it. Not particularly helpful when you’re trying to convince yourself that moving away from WhatsApp was a good idea.

Then, somewhere on the internet, I came across a mention of using Signal from the command line. Signal in a terminal? That sounded like a fun little experiment.

Signal without the desktop app

It turns out there’s an open-source project called signal-cli (https://github.com/AsamK/signal-cli). It allows you to communicate through Signal without using its conventional graphical application. You can send and receive messages, work with contacts and groups, and connect it to your existing Signal account.

Of course, signal-cli isn’t really a chat application in the traditional sense. It’s a command-line interface. You type commands, supply telephone numbers and message text, and receive rather technical-looking output in return.

Perfectly functional, but not quite what I had in mind. So I opened an AI tool and started experimenting. Could we turn signal-cli into something that felt more like an actual messaging application, while keeping everything inside the terminal? As it turned out, we could.

A little app of my own

Within an hour, I had a working Signal application running in my Linux Mint terminal. Nothing particularly fancy, but surprisingly practical. It has a simple two-column interface. On the left are my conversations, on the right are the messages belonging to whichever conversation I’ve selected. I can search for people by name rather than having to remember or type their telephone numbers. My existing Signal contacts are available, and I can participate in group chats as well.

There are even desktop notifications when new messages arrive. And if I want to find something in an earlier conversation, I can search through the messages the application has stored locally. In other words, it does most of the things I actually need from a desktop messaging application. Except that it runs in a terminal window.

Underneath, it’s still signal-cli doing the actual communication. The little Python application we built simply provides a more convenient interface around it. Signal’s encryption and messaging infrastructure remain the same. I haven’t invented a new messaging protocol. And because the application is built around an existing command-line tool, it doesn’t need a complicated graphical framework either.

Not quite finished

There is one fairly important limitation. Photos and other attachments aren’t yet saved to my Linux laptop by the application. Text messages work, group conversations work, and notifications work, but multimedia messages still need some attention. That’s already on the list for the next version.

There are also a few things I want to observe over time, particularly how reliably the application receives messages during longer sessions and how the local conversation history develops. This is still a personal experiment, after all, rather than a polished alternative to Signal Desktop. But that’s also part of the fun.

Did you enjoy this article?

Recommend it — Standard Reader surfaces well-loved writing to more readers across the network.

Across the AtmosphereDiscussions