`--mock` is a fake radio, not a fake MeshTerm: what it adverted was recorded to `meshterm.db` like anything a real companion said, so its four invented contacts turned up in the mesh walk, the dashboard and the map of the mesh actually being run. A `--mock` run that names no database now records to `<config_dir>/meshterm-mock.db`, created on first use. `--db` still wins — where a run records and which radio it talks to are different questions, so an explicit path is a precedence rule and not the usage error `--mock --port` is. `$MESHTERM_HOME` remains the only thing that isolates a run whole: the contact and channel caches, the outbox and the remembered devices are untouched by this, and the docs say so where they used to warn that `--mock` recorded into the real history. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
5.0 KiB
Changelog
Notable changes to MeshTerm, newest first.
The format follows Keep a Changelog, and the
version numbers follow Semantic Versioning — with
one caveat SemVer makes for a leading zero: while the major version is still 0, a
minor bump is allowed to change how things behave, not just add to them.
Unreleased
Changed
--mockkeeps its invented mesh out of your history. The simulator is a fake radio, not a fake MeshTerm: what it adverted was written tomeshterm.dblike anything a real companion said, and its four invented contacts then turned up in the mesh walk, the dashboard and the map of the mesh you actually run. A--mockrun now records tomeshterm-mock.dbbeside it, created on first use. Naming a database with--dbstill wins, and$MESHTERM_HOMEis still the only thing that isolates a run whole — the contact and channel caches, the outbox and the remembered devices are untouched by this.
0.9.0 — 2026-09-22
The first public release. Everything in MeshTerm is new today, so instead of a list of changes, here is what it does.
MeshTerm is a program you run in a terminal to work with a MeshCore radio — one of the small LoRa boards people use to build long-range mesh networks. A mesh like that needs no internet, no phone signal, and nobody in the middle: the radios pass messages along to each other until they arrive. You plug one into your computer, start MeshTerm, and it shows you what the mesh is doing.
What you can do with it
-
Run it two ways, and it behaves the same either way. Type
meshtermon its own and you get a full-screen menu you drive with the arrow keys. Type a command instead —meshterm contacts,meshterm map— and it prints an answer and exits, which is what you want in a script. Add--jsonto any command and the answer comes back as data for another program to read. -
It listens all the time, and writes down what it hears. Radios on a mesh announce themselves. From the moment yours is connected, MeshTerm notes down every announcement it overhears: which radio it was, how strong the signal was, and where it said it was. All of it is saved on your own computer. That is why the lists and charts can show you not only what is happening now, but what was happening last Tuesday.
-
You can see where everyone is. There is a street map, drawn in the terminal, with the radios on it. You can pan it, zoom it, and search it. There is also a Time Machine that winds the map back so you can watch the mesh change over days.
-
You can talk to people. Group channels and one-to-one messages, both live. If someone is out of range right now, the courier holds your message and delivers it when they come back. Channels can be shared as a QR code someone else scans, or as a link.
-
You can measure the mesh, not just guess at it. Trace a message's route and see which hop is the weak one. Sweep your transmit power from coarse to fine to find the lowest setting that still gets through. Walk a map of how the whole mesh actually hangs together, which is often not how you thought it did.
-
It talks to your radio however your radio talks. USB cable, Bluetooth, or over the network. It finds the ones it can find on its own and asks you to pick. If a connection drops it reconnects by itself. No radio yet?
meshterm --mockruns the whole program against a simulated mesh. -
It runs on the small machines too. There is a second layout built for handheld consoles — the PicoCalc's 53-column screen and the uConsole — with its own fonts, colours and on-screen key labels, not just the desktop screen squeezed.
-
It works with no internet. Map tiles are kept on disk once fetched, and when there is no network at all the map falls back to a plain grid. Nothing about MeshTerm needs to phone home.
-
When something goes wrong, it can describe itself.
meshterm diagnostics, or the Diagnostics page in the menu, puts everything a bug report opens with in one block: which build this is and how it was installed, the operating system, the terminal and how big it is, and whether the radio answered. It names nothing private — no keys, no passwords, no positions, no contacts — and describes your mesh as counts rather than names. One keypress saves it to a file you can attach to an issue.
Getting it
One file to download, with nothing else to install, for Windows, macOS (both Intel and
Apple silicon) and Linux (including 64-bit ARM, so handhelds are covered). If you would
rather use Python, pipx install works too. The README has the exact commands.
MeshTerm is free and open source under the Apache 2.0 licence. The name and the logo are
not — see NOTICE — so a fork is welcome, under its own name.