olwb 1.0.0
Initial release of olwb — one line with benefits, a one-line-input notepad inside the micro editor. A reimplementation of the 2024 one-line-with-benefits Electron app as a ~zero-dependency Lua plugin.
Highlights
- Capture: type one line, press Enter — it lands in the feed with a timestamp and any active labels, newest at the top. The input auto-grows when text wraps.
- Domain model: Liner → Session → Message with inherited labels (
liner ∪ session ∪ message), filters, substring search, and md/json export. - Command language:
/opens a live, width-aware command menu; Tab/Shift-Tab/↑/↓ cycle completions (verbs, subcommands, liner names) with highlighted selection; Space expands liner details during/open;/setmanages options in-UI. - Layout: title, highlighted one line, feed with scrollbar and Shift-Tab browsing, shortcut reference, and a Liner/Session bar — self-healing across terminal resizes.
- Storage: file-per-liner JSON with atomic writes, timestamped backups, ULID-lite sortable ids, and an importer for the Electron app's flat userData files (
> olwb migrate). - Tested: pure modules run under plain
lua(make check, 89 unit + 8 harness assertions) plus in-editor> olwb selftest.
Install
git clone https://github.com/TGPSKI/olwb-micro-plugin
cd olwb-micro-plugin && make install # symlinks into ~/.config/micro/plug/olwbRequires micro ≥ 2.0.