The three About pages were scaffolding built out of Text() calls, which
made writing them a Python edit and capped what they could ever say. They
are markdown now — meshterm/assets/pages/*.md, drawn by ui/markdown.py
into the app's own language rather than markdown's: # the page's name in
brand, ## a section in the body accent (with the muted · aside), ###
indented with its prose, paragraphs and lists hanging as blocks, quotes
and fences behind a rail that survives wrapping, tables through Rich, and
links that say where they go — nothing is clickable on a framebuffer
console. Two paragraphs are page frame rather than body and sit flush and
muted: the standfirst under the title, the colophon under the closing
rule, which is where the copyright lands.
The pages stay scaffolded on purpose — the placeholders are unchanged —
but filling one in is now editing its .md, and the live package facts
arrive as {version}/{author}/{copyright} so a page still can't drift from
the build it describes.
Being a document earns the screen two things a block never had: its ##
headings are landmarks, so a heading pins while its own prose scrolls
under it and ^PgUp/^PgDn step by them, and the console lane claims
Sect ↑/Sect ↓ on the free F1/F2 pair once a page has more than one
section — dimmed while the whole page fits, since the lane never
advertises a dead key.
Parsing is markdown-it-py (already under Rich, now declared): a real
CommonMark parser, so an author writes ordinary markdown. The md.* styles
are defined in both themes; the new test renders the whole vocabulary at
53 cells and asserts it stays inside the console font and the 16 slots.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
4.4 KiB
MeshTerm v{version}
MeshTerm for MeshCore.
What it is
MeshTerm is a full-featured MeshCore client for the terminal. It talks to companion devices running the stock firmware over serial, Bluetooth, or TCP.
Everything MeshTerm can do thru its interactive Text-based User Interface (TUI), it can also do from the Command-Line Interface (CLI). The TUI runs the same code as the CLI, so you get the best of both worlds: a great user experience, and the ability to script or schedule tasks!
Everything the radio overhears is recorded to a local database from the moment it's turned on — adverts, telemetry, signal quality, positions, etc. Features like maps, dashboard, and route graphs read back from it, so the longer it runs, the more it know about the mesh!
Where it came from
The project had humble beginnings as a set of scripts in early 2026. As time passed, quality-of-life features were added, and at some point, the logical next step was to build a complete MeshCore client with all the features I felt were missing in other offerings.
I wanted something I could run from my computer. I wanted it to run on Windows, MacOS, and Linux, and I wanted it to work with any MeshCore companion device, via Bluetooth, USB, or TCP. I wanted a mouseless keyboard-driven MeshCore experience. I wanted something retro-futuristic. I wanted to push the envelope of what can be done on a text terminal, while keeping system requirements low so it could run on an older computer or a lower-end System on a Chip (SoC).
Platform-specific developments
In addition to generic Terminal setup, I wanted it to run on two devices I had lying around on my nerdcave.
Clockwork uConsole
MeshTerm is compatible with the HackerGadgets AIO board v1. The AIO board has just a raw LoRa radio, meaning it can't run MeshCore firmware. MeshTerm includes a script to run the mesh node in software, and expose it using a TCP port which MeshTerm can connect to.
MeshTerm feels right at home on the uConsole. Running MeshTerm on it makes it feel like a piece of gear straight out of a William Gibson novel.
Clockwork PicoCalc
Getting MeshTerm to run on the PicoCalc is a bit more involved, but totally worth it:
- Swap out the Raspberry Pi Pico for a Luckfox Lyra to run Calculinux.
- Add a compatible 3.3v USB wifi dongle (e.g.: TP-Link TL-WN725N N150 Nano) to the Lyra's internal USB port.
- Add a LoRa device. Here's a few options:
- Connect a companion via USB-C;
- add Seeed Studio XIAO nRF52840 + Wio-SX1262 internally, soldered to GPIO connectors' legs.
- In order to use the XIAO nRF52840 via GPIO, we do need to use a modified firmware. A PR https://github.com/meshcore-dev/MeshCore/pull/3191 has been submitted to MeshCore, but it might take a while for it to go through.
The UX is a bit different on the the PicoCalc's 16-color 53-column screen layout, but it's been tailored to make good use of the available space and the PicoCalc's F-keys. The result is, in my humble opinion, the best MeshCore experience you can get on a portable device. With two 18650 batteries, it'll run all day.
What the future holds
MeshTerm will evolve over time, it is a work in progress.
I've build MeshTerm for myself — I find that's when I produce my best work — but I sincerely hope it will be appreciated by others.
If you'd like a specific feature, pitch your idea on the Discord!
Licence
MeshTerm ships under the Apache License, Version 2.0 — free to use, change, and redistribute, commercially or otherwise, as long as the LICENSE and NOTICE files travel with it. The full terms: apache.org/licenses/LICENSE-2.0 https://www.apache.org/licenses/LICENSE-2.0.
The licence covers the code, not the name: MeshTerm and its logo are trademarks the author keeps, so a fork goes out under a name of its own. The donate link in this app supports this project and its original author — a fork that keeps soliciting through it, without pointing it at itself, isn't affiliated with MeshTerm.
Built on MeshCore https://meshcore.io/ — its firmware and companion library — with Rich, prompt_toolkit, Typer, bleak, pyserial, pycryptodome and Segno, each under its own terms.
Map data © OpenStreetMap contributors, served as vector tiles by OpenFreeMap https://openfreemap.org/, used under the ODbL https://www.openstreetmap.org/copyright.
{copyright}