Loquax: one messenger on every target

Lew's product rule (2026-10-25, restated 2026-11-02 21:40): the full messenger on the phone, the Linux window, the terminal and the embedded screen (the ThinkNode M9 today), from one core. Every feature moves its platform layer on all of them where that is technically possible. This page is the measured state of that rule, feature by feature (1341).

How the table was measured

Each row is a user-facing feature of the phone build, found by walking the Android facade's Request and Query enums (loquax-android/src/schema.rs:265, loquax-android/src/schema.rs:698), the bridge methods Java calls (Core.java), the activities that call them, and the scene's node kinds (loquax/src/ui/scene.rs). For every target a cell names the place that does it, file:line, or says MISSING. A MISSING is a grep that found nothing, with a positive control beside it: for the terminal's keys and palette, Reply, Forward, SendAgain, Mute, Verify, MarkUnread and Share match zero times in leviculum-ui/src/keymap.rs and loquax/src/keys.rs, while Copy matches 14 and 8 times there. For the window, a MISSING intent is one that falls into the catch-all arm of App::intent (loquax/src/gui.rs) and has no other handler in loquax/src/gui.rs or loquax/src/gui/chat.rs.

Columns:

  • Scene: the decision lives in the shared core (loquax::ui, the scene, the intents); yes for every row, which is the point of the core.
  • Android: the Java call site of the bridge method, under loquax-android/android/src/network/leviculum/loquax/.
  • Window: loquax gui (iced), under loquax/src/; plain loquax on a desktop since 1342.
  • Terminal: loquax tui (ratatui), under loquax/src/, and plain loquax where there is no display; ui.rs is the model's palette and keys, which only the terminal reads.

Window and terminal are one binary in the amd64 and arm64 packages (1342): built against glibc 2.31 with both features, since winit opens X11 and Wayland by dlopen, which a musl-static binary cannot. Plain loquax picks by WAYLAND_DISPLAY and DISPLAY (loquax/src/front.rs); the armhf package and the static tarballs stay musl with the terminal alone.

  • M9: see "The M9" below; the firmware has no messenger screen yet.

"CLI" means the target has it as a loquax subcommand (loquax/src/main.rs), not on its screen. "n/a" means the target lacks the hardware, which is no gap.

The table

Rows marked (1341) or (1371) were MISSING before that pass and are closed by it.

#FeatureAndroidWindowTerminal
1Chats: list, open, send textChatActivity.java:1825loquax/src/gui.rs:1190loquax/src/ui.rs:2236
2DraftsChatActivity.java:2354loquax/src/gui.rs:984loquax/src/ui.rs:1042
3ReactChatActivity.java:1952loquax/src/gui.rs:1302loquax/src/ui.rs:3674 (palette react)
4ReplyChatActivity.java:1825loquax/src/gui.rs:1083loquax/src/ui.rs:3602 (palette reply) (1371)
5ForwardChatActivity.java:2053loquax/src/gui/chat.rs:1265, loquax/src/gui.rs:1260 (1371)loquax/src/ui.rs:3604 (palette forward) (1371)
6Send againChatActivity.java:2478loquax/src/gui.rs:1117loquax/src/ui.rs:3603 (palette send again) (1371)
7Delete a messageChatActivity.java:2129loquax/src/gui.rs:1373loquax/src/ui.rs:3592
8Copy a messageChatActivity.java:2073loquax/src/gui.rs:1352loquax/src/ui.rs:2427 (OSC 52)
9SearchConversationsActivity.java:65loquax/src/gui.rs:1180loquax/src/ui.rs:3588
10Read receipts on/offSettingsActivity.java:589loquax/src/gui.rs:1164loquax/src/ui.rs:3566
11Send a picture (Gallery)ChatActivity.java:1355loquax/src/gui.rs:957, loquax/src/desktop.rs:158 (1341)loquax/src/ui.rs:3631 (palette send picture, a typed path), loquax/src/shell.rs:380 (1371)
12Photo size, three tiersSettingsActivity.java:316loquax/src/gui/chat.rs:384 (settings) (1371)loquax/src/ui.rs:3617 (palette photo size) (1371)
13View a photoChatActivity.java:1675loquax/src/gui.rs:1363 (own viewer)loquax/src/ui.rs:2455, loquax/src/shell.rs:410 (system viewer)
14CameraChatActivity.java:988n/an/a
15Send a fileChatActivity.java:1408loquax/src/gui.rs:960, loquax/src/shell.rs:782 (1341)loquax/src/ui.rs:3635 (palette send file, a typed path), loquax/src/shell.rs:380 (1371)
16Open and save a received fileChatActivity.java:1575loquax/src/gui.rs:1364, loquax/src/shell.rs:417loquax/src/ui.rs:2466, loquax/src/shell.rs:348
17Record a voice messageRecordingBar.java:369loquax/src/gui/chat.rs:1433, loquax/src/shell.rs:504, mic.rsloquax/src/ui.rs:2938, loquax/src/shell.rs:435, mic.rs
18Play a voice messageChatActivity.java:1526loquax/src/gui.rs:1367, loquax/src/shell.rs:436loquax/src/ui.rs:2475, loquax/src/shell.rs:367
19Groups: new, join, members, add, remove, leave, delete, start againGroupDialogs.java:34loquax/src/gui.rs:1157 (all verbs)loquax/src/ui.rs:3701 to loquax/src/ui.rs:3783
20Map with positionsMapPane.java:350loquax/src/gui.rs:1219loquax/src/ui.rs:3652, tui/map.rs
21Buildings on the maploquax/src/picture.rs:44 (shared)loquax/src/picture.rs:44loquax/src/picture.rs:44 (sixel, kitty)
22Load the map areaMapPane.java:35 (autoload)loquax/src/gui.rs:1388loquax/src/ui.rs:3648
23Delete all downloaded mapsSettingsActivity.java:513loquax/src/gui.rs:999loquax/src/ui.rs:3627 (palette delete all maps), loquax/src/shell.rs:398 (1371)
24Mesh positions (nodes nearby)MapPane.java:370loquax/src/gui.rs:1703loquax/src/tui/map.rs:1398
25Share the position, once or timedChatActivity.java:910, ShareService.java:39loquax/src/gui.rs:1088, loquax/src/gui.rs:1096, position by hand loquax/src/ui/by_hand.rs:27 (1371)loquax/src/ui.rs:3618 (palette position), loquax/src/ui.rs:3622 (share position, stop sharing) (1371)
26PinConversationsActivity.java:551row menu loquax/src/gui/chat.rs:1136, loquax/src/gui.rs:1287 (1371)loquax/src/ui.rs:3512
27MuteContactActivity.java:444row menu (1371)loquax/src/ui.rs:3608 (palette mute) (1371)
28ArchiveConversationsActivity.java:555row menu (1371)loquax/src/ui.rs:3539
29BlockContactActivity.java:353row menu (1371)loquax/src/ui.rs:3546
30VerifyContactActivity.java:299row menu (1371)loquax/src/ui.rs:3609 (palette verify) (1371)
31Mark unreadConversationsActivity.java:549row menu (1371)loquax/src/ui.rs:3613 (palette mark unread) (1371)
32RenameContactActivity.java:493row menu, its field (1371)loquax/src/ui.rs:3544
33Forget a conversationContactActivity.java:411row menu, asked once (1371)loquax/src/ui.rs:3534
34Add a contact by code, typed or pastedAddContact.java:76loquax/src/gui.rs:957loquax/src/ui.rs:3695
35A contact code from a QRloquax-android/src/lib.rs:327 (the scanner screen's decoder)loquax/src/gui.rs:1344, loquax/src/gui/chat.rs:441, loquax/src/scan.rs:39 (1341)loquax/src/ui.rs:3639 (palette code in a picture, a typed path), loquax/src/shell.rs:383 (1371)
36My codeProfileActivity.java:232loquax/src/gui.rs:1114, loquax/src/gui.rs:2095 (settings row, QR) (1371)loquax/src/ui.rs:3695
37Home setupWelcomeActivity.java:528CLI (loquax/src/main.rs:195)CLI (loquax/src/main.rs:193)
38Link a deviceProfileActivity.java:319CLI (loquax/src/main.rs:209, loquax/src/main.rs:225)CLI (loquax/src/main.rs:207, loquax/src/main.rs:223)
39Move the phoneProfileActivity.java:346MISSINGMISSING
40BackupBackupActivity.java:117MISSINGMISSING
41HelpConversationsActivity.java:491loquax/src/gui.rs:1110, loquax/src/gui.rs:2163 (the shared overlay) (1371)loquax/src/ui.rs:3472
42SettingsSettingsActivity.javaloquax/src/gui.rs:1755palette (loquax/src/ui.rs:3810, loquax/src/ui.rs:3566)
43Browse tabBrowsePane.java:187 (behind browse_tab)loquax/src/gui.rs:2188, behind browse_tab (1369)loquax/src/tui.rs:1382, behind browse_tab (1369)
44Notifications of new messagesLoquaxService.java:305loquax/src/gui.rs:310, loquax/src/desktop.rs:118 (1341)loquax/src/tui.rs:417, bell and loquax/src/desktop.rs:118 (1341)
45Icon and application idAndroidManifest.xml:67loquax/src/gui.rs:401 (1341)n/a
46Rooms tab (RRC)RoomsPane.java:171, behind rooms_hub (1384)loquax/src/gui.rs:2202, behind rooms_hub (1379)loquax/src/tui.rs:1405, behind rooms_hub (1379)

Counts

MISSING before 1341after 1341after 1371
Window20152
Terminal15142

Counted are the MISSING cells of the table; "CLI" and "n/a" are no gaps. A cell marked (1371) names its place as of that pass; the unmarked ones name it as 1341 measured it, and those lines have moved since. The Browse tab (row 43) was off on both desktop targets until 1369 and was not counted; since 1369 it is built on all three, behind the same browse_tab switch, which stays off until Lew flips it. The Rooms tab (row 46, 1379) is Reticulum Relay Chat on the hub the config's rooms_hub names; without one there is no tab. The model, the scene's RoomsNode and the hub link (loquax/src/rooms_link.rs, over the node the engine lends to Lender::Rooms) are shared; the window and the terminal draw the node. The phone draws it since 1384: the schema's RoomsScreen (loquax-android/src/rooms.rs) flattens the node, the session lends the phone's node (the mailbox's when it is on the phone, else the leaf's) to the Rooms and runs the same hub link, and RoomsPane.java draws it beside BrowsePane, its tab shown only where rooms_hub is set, as on the desktop. The M9 needs a renderer screen for the node in loquax-m9, rows in its key table, and the hub link over its own node; what each takes is written down on the handheld page, "The Rooms on the M9".

What 1341 brought, and how

  • Pictures and files in the window. The window sets the core's Abilities::picker (loquax/src/gui.rs:224), so the scene gives it the plus and the attachment sheet with Gallery and File, which the window draws over the bar (loquax/src/gui/chat.rs:1333). A row asks the XDG desktop portal's FileChooser.OpenFile over the session bus (loquax/src/desktop.rs:158), the dialog the desktop draws for every program. The crate is zbus, already in the lock through the window's theme reader (leviculum-ui-iced, mundy); neither rfd nor another dialog crate is in the tree, and zbus needs no GTK. The shell sends the pick as the phone sends its picker's (loquax/src/shell.rs:847): a picture scaled at the reader's photo size, a file whole up to what a receiver takes. Saving a received file is the existing save under the home's files/ and the system's handler (loquax/src/shell.rs:417), the same in both desktop targets.
  • Voice was already on both desktop targets: recording through the system's recorder (pw-record, parecord, arecord, mic.rs), playback as a WAV file for the system's player (loquax/src/shell.rs:436). No audio crate was added.
  • QR without a camera. The phone's decoder (rqrr) moved from loquax-android into loquax::scan, and scan::image_codes reads a PNG, JPEG, WebP or GIF of a code (loquax/src/scan.rs:39). The window's new conversation offers "Read a code from a picture"; pasting a code's text already worked in both desktop targets.
  • Notifications follow the phone's rule (LoquaxService.java:305): a grown unread count, not muted, not at the first look, not while the screen is in front (desktop.rs, Notices). The window posts through org.freedesktop.Notifications while it lacks the focus; the terminal, which cannot tell whether it is in front, rings its bell for every chat but the open one and posts the same notification where a session bus exists.
  • The application id is loquax, the desktop file's basename (packaging/loquax/loquax.desktop), so Wayland matches the window to the launcher entry and its icon. No asset moved.

The position on the desktop

A desktop has no receiver, and that is no gap (1371): the core takes the own fix by hand (loquax/src/ui/by_hand.rs). A shell that has no receiver sets Abilities::manual, and its position sheet offers "Type my position" (latitude and longitude, typed or pasted, geo: links too, read digit by digit without a float) and, once the map was shown, "The map's centre". From then on the sheet offers "Now, once" and the four timed shares, and the fix goes out as the phone's GNSS fix does, the same telemetry report. The sheet says "Set by hand" over them. The terminal has the same through its palette: position asks for it (Enter alone takes the map's centre), share position asks how long (now, 15m, 1h, 8h, until), stop sharing ends it. A chat's report is telemetry, which carries no source; where the fix goes into a lev.position announce it is Source::Manual (loquax/src/mesh_position.rs).

The Browse tab

Before 1369, 1337b's fetch through the phone's own node lived in the Android crate and the desktop shell dropped the browser's effects. 1369 moved the fetch into the shared crate (loquax/src/browse_fetch.rs, feature browse), which the phone, the terminal and the window now run alike over the node each already has; the desktop shell drains the browser's effects (loquax/src/browsing.rs:128) as the phone's session does. The window draws the tab with lnomad's window view (lnomad/src/gui.rs:681), pictures included, and the terminal with lnomad's terminal view (loquax/src/tui.rs:1382); neither has a renderer of its own. The switch is the phone's, browse_tab, off by default on all three until Lew flips it. Details in lnomad-everywhere.md, "The tab on the desktop".

What 1371 brought, and how

  • The terminal's verbs. Reply, send again, forward, mute, verify, mark unread, the photo size, the position, sharing it, deleting all maps, and a picture, a file or a code by a typed path are palette commands (leviculum-ui/src/commands.rs, loquax/src/ui/verbs.rs), each the handler the phone's request reaches. The terminal has no picker, so a path typed into the palette goes to the shell as UiEffect::Attach or UiEffect::ScanCode, read by the attach the window's chooser uses (loquax/src/shell.rs).
  • The window's row menu. A right click on a conversation opens the scene's row verbs (mark unread, pin, mute, archive, forget) and the contact's the phone keeps on its contact screen (block, verify, rename). They reach the model as UiEvent::PeerWord, resolved by UiModel::peer_verb, the terminal's resolver too; forget asks once, rename opens a field.
  • The window's forward, help, photo size and code. The bubble menu's Forward lists the conversations; the keys' help is the shared overlay lnomad's window draws; the settings page has the photo size's three tiers, My code (the code and a QR the test scans back) and Help.

The remaining gaps, with their reason

  • Both desktop targets, rows 39 and 40 (move the phone, backup): not built in 1371; both are possible, but each is a flow of its own (the phone's transfer by code with its guard against two live copies, and a backup file with its restore), and on a computer the identity lives in Loquax's home directory, which the system's backup already copies.

The M9

The firmware has no messenger screen yet: the order of work (The handheld messenger, "Order of work") puts the M9 frontend at step 5, after the status screen and the core taken out of loquax, and the tree holds no M9 binary today (leviculum-esp/src/bin has the Heltec V4 alone). What the board can carry once it has one, from The ThinkNode M9: a 240x320 screen without touch and a 37-key keyboard, GNSS, a buzzer.

  • Rows 1 to 10, 19, 26 to 34, 36, 41 and 42 (text, groups, the contact verbs, settings): the core's scene on the 240x320 screen, driven by the keyboard as the terminal is.
  • Rows 11 to 15 and 35 (pictures, files, camera, QR): the board has no camera; a received photo can be drawn small, a file only listed.
  • Rows 17 and 18 (voice): the board has no microphone and only a buzzer, so it neither records nor plays a voice message; it shows that one came. This is the one hardware reason; everything else is order of work.
  • Rows 20 to 25 (map, positions, sharing): the GNSS gives an own fix, as the desktop's is typed by hand since 1371; the map is steps 6 and 7.
  • Row 44 (notifications): the buzzer and the screen.
  • Rows 37 to 40 (home setup, link, move, backup): through the phone or the CLI, not on the device.