Todo
The checklist icon opens the overview’s Kanban tab (see
the overview). The number beside it counts open cards due today
or overdue. No settings in config.toml.
The sidebar on the left switches between Kanban (the board), Announcements and Backups. The arrow at its foot collapses it to icons; Escape on another page goes back to the board.
The board has five columns: Inbox, Todo, In Progress, Finished, Abandoned.
- Drag cards between columns; + adds one. Click a card to edit its title, details, column, due date and repeat, or read its history of column moves.
- Lines like
- [ ] Send itin the details are drawn as a checklist. - Overdue cards sit at the top of Inbox, Todo and In Progress. Finished shows today’s cards and folds earlier ones by day; Abandoned folds every day.
- At start-up and each midnight the shell posts one notification of what is due today and still open from earlier.
- Repeat every N days, weeks or months from a start day. Each scheduled day a copy, due that day, is added to the top of Todo and carries the repeat; edit or delete the newest copy to change or stop it. A monthly repeat on the 31st uses the last day of shorter months. Days missed while the shell was off produce one copy, for the latest.
- Search (Ctrl+F) filters every column to cards whose title or details contain all the words typed, anywhere in a word, ignoring case. Escape clears it, then closes the overview.
- Web addresses in a card are links. While a GitHub account is signed in, links
to GitHub issues and pull requests show as chips with title, number and
state, refreshed when the board is opened more than ten minutes later. Links
into private repositories need the
reposcope (see GitHub).
Announcements lists your standup summaries; New summary writes one:
cards moved to Finished since the last summary, everything In Progress (marked
started if new), everything in Todo with due dates, and cards moved to
Abandoned. The first covers the last 24 hours. Inbox and Google calendar
meetings are left out. Edit changes the one shown, to add anything else
worth saying (Ctrl+S saves, Escape cancels). Links show as on a card, GitHub
chips included. Select and copy with Ctrl+C (needs wl-clipboard). Nothing is
sent anywhere.
Storage. The board is saved as you go to
~/.local/share/moonkan/notes.db (SQLite, bundled; or under
$XDG_DATA_HOME). A board kept in ~/.local/share/moonswing/ by an older
version is moved there on first start, backup folder included, and links are
left at the old paths. An old todo.json is imported once and renamed
todo.json.imported. If the database cannot be read, the board says why and
saves nothing until it can. The standalone Moonkan app (moonkan) is this same
board over the same file; with both open, each shows the other’s changes.
Backups
Section titled “Backups”Every change is also written to
~/.local/share/moonkan/backup/todo-backup.json, shown at the bottom of the
board.
-
If
notes.dbis missing at start-up, the board is restored from the backup. If it is damaged, it is renamednotes.db.damaged-<time>and rebuilt from the backup. Either way the board tells you. A database from a newer shell version is left alone. -
The folder holds only that file, so you can keep it in Git. The file is pretty-printed in board order and rewritten only on change, so each commit is a clean diff. A symlink in its place is written through.
Terminal window cd ~/.local/share/moonkan/backupgit initgit add todo-backup.jsongit commit -m "Todo backup" -
Backups in the sidebar (or Backups… under the board) shows the file, and Restore from this file… replaces the board with it after saving the current board beside it.
Task list sync
Section titled “Task list sync”The board can sync with a CalDAV task list (Radicale, Baïkal, Nextcloud, Fastmail, iCloud, …), so phones (DAVx⁵ with jtx Board or Tasks.org) and other clients (Thunderbird, Evolution) share the cards. The local database stays the source of what is on screen and works offline.
Sign in under Settings › Accounts › CalDAV with the server or
collection address, user name and password (an app password where offered). The
server is checked before the account is saved. Add account adds another;
signing in again with the same address and user replaces it. Credentials are
stored, private to you, in ~/.local/state/moonswing/caldav-account.json. The
same accounts can show events on the Calendar tab.
Self-signed certificates. Certificates are checked against
/etc/ssl/certs. One it cannot verify is refused with
CERTIFICATE_VERIFY_FAILED and its SHA-256 fingerprint shown. Compare it with
openssl x509 -in cert.pem -noout -fingerprint -sha256 on the server, then
click Trust certificate and connect (or Trust on an existing account).
Only that exact certificate is pinned; a renewed one must be trusted again.
Alternatively serve the full chain or add your CA to the system store
(update-ca-certificates on Debian/Ubuntu, trust anchor on Fedora/Arch).
Link a list from Backups in the board’s sidebar. With several accounts, every account’s lists are offered. Linking merges both sides; with the switch on it replaces the board with the list instead (saving the board beside the backup first). Unlink stops syncing and changes nothing.
What syncs:
- Title, notes, column, due day and simple repeats (every N days, weeks, months or years). Columns map to status: Todo = needs action, In Progress = in process, Finished = completed, Abandoned = cancelled; Inbox is needs action plus a marker other apps ignore.
- Complex repeats stay on the server; the card does not repeat.
- Move history and in-column order stay local. Server fields the board doesn’t use (alarms, categories, …) are kept. Google calendar meetings are never sent.
When it syncs: a few seconds after a change, on opening the board, on Sync now, and every five minutes while a list is linked.
Conflicts:
- Changes to different fields on both sides are both kept. The same field changed on both sides takes the server’s value, and the board lists the affected cards.
- A task deleted on the server deletes its card, unless the card changed here since (it is re-sent). A card deleted here deletes the task, unless the task changed there since.
- An unreachable server shows in red at the bottom of the board; pending changes go on the next successful sync.