piewpiew

A Tiny LoRa BBS Running on Linux on My Old Android Phone

Blogg /

A Tiny BBS Running on Android over LoRa

I recently got a question on Mastodon from someone wondering whether I’d actually built a BBS running on Android and if they could try it.

The short answer is yes! And since someone asked, I thought I’d share a little more about how it works.

A BBS in my pocket

The whole thing runs on my Google Pixel 7 Pro, with a LilyGO T-Echo connected over USB. The T-Echo handles radio communication using Meshtastic, while the phone runs the BBS and stores the messages.

My node, !ac81bba0, is connected to Göteborgsmeshen, the local Meshtastic network around Gothenburg, Sweden.

Other nodes can reach it directly or through multiple hops across the mesh. No internet connection is needed for the basic BBS functions.

It’s a bit like running a tiny dial-up BBS, except there are no phone lines, no modems, and everything travels over LoRa radio.

What can you do with it?

The interface is deliberately simple. You send a direct message to my node with a command, and the BBS replies.

Here’s what’s currently available:

You can also send ordinary text and receive a conversational response.

The commands are in Swedish, mostly because I built this for our local mesh. But they’re simple enough to learn!

Store-and-forward mail

One of my favourite features is private mail.

You can write a message to another node even if it isn’t currently reachable. The BBS saves the message in its SQLite database and delivers it when that node is heard again.

It’s a small and simple mail system, but I like the idea of messages waiting for someone to come back on the air.

A little help from my home server

The basic BBS runs locally on the Pixel, but it also has a connection to my Debian home server, named jelly.

The server provides a few extras, including news, poetry and conversational responses. Those features require a working connection to my home server, but the bulletin board and private mail don’t.

I also have a Matrix bridge so I can monitor the mesh, see which nodes are active, check signal quality and send messages without sitting next to the radio.

Everything is stored in SQLite, including messages, known nodes, radio packets and GPS tracks.

The BBS doesn’t broadcast messages to the public channel on its own. It only responds when someone sends it a direct message.

Can you try it?

Absolutely — if you can reach my node!

The catch is that LoRa is a radio network, so being on a Meshtastic mesh somewhere else in the world doesn’t automatically mean you can reach Göteborgsmeshen in Sweden.

If you’re within radio range, or connected through a suitable network bridge, you can send a direct message to !ac81bba0 and try hj.

73 from Gothenburg!


A more technical overview

PiewPiew BBS on the Pixel — How it works

Hardware and transport

Storage — SQLite

Everything is stored in a single SQLite database at ~/mesh/mesh.db.

The daemon maintains a write connection, while CLI and reporting commands use read-only connections.

The database contains five main tables:

Accessing the BBS

Any Meshtastic radio that can reach the node can send it a direct message.

The BBS recognises the following commands, handled by kommando():

The BBS never sends unsolicited messages on the public channel. It responds only to direct messages.

Matrix integration

I manage the system through a Matrix room called 📡 Mesh.

Messages written in this room can be transmitted to the public LongFast channel, with rate limits of three messages of up to 200 bytes each and a maximum of 20 messages per hour.

The room also supports owner-only commands, handled by rum_kommando():

Phone monitoring

A separate bot, fraga-bot.py, runs through JellyPoOp and listens in another Matrix room called Status.

The !pixel command provides information about:

This monitoring bot is separate from the BBS itself.

##LoRa ##BBS

← blogg