Go to file
Krzysztof kuhy Rudnicki 41947463c5
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
file-length / file length <= 250 lines (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
release-apk / release (APK) (push) Has been cancelled
repo-contract / repo contract (push) Has been cancelled
Bump flutter 3.47.7, gradle 9.8.1, pub deps to latest
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 15:41:06 +02:00
.agents/skills Add Flutter/Dart agent skills and AI rules for Claude Code 2026-06-22 22:53:03 +02:00
.github/workflows Bump flutter 3.47.7, gradle 9.8.1, pub deps to latest 2026-10-16 15:41:06 +02:00
android Bump flutter 3.47.7, gradle 9.8.1, pub deps to latest 2026-10-16 15:41:06 +02:00
assets/icon Regenerate launcher icon with the unified-design-system warm palette 2026-07-21 21:18:04 +02:00
bin Add headless note CLI (bin/todo_note.dart) reusing app CRDT sync 2026-10-16 15:35:46 +02:00
desktop Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 19:49:03 +02:00
docs Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 19:49:03 +02:00
lib Add headless note CLI (bin/todo_note.dart) reusing app CRDT sync 2026-10-16 15:35:46 +02:00
mcp Repo-contract rollout and dependency bumps (github_device_auth v0.3.2, url_launcher 6.3.3) 2026-10-04 18:23:25 +02:00
packaging/aur Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 19:49:03 +02:00
prompts Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 19:49:03 +02:00
scripts Repo-contract rollout and dependency bumps (github_device_auth v0.3.2, url_launcher 6.3.3) 2026-10-04 18:23:25 +02:00
test Add headless note CLI (bin/todo_note.dart) reusing app CRDT sync 2026-10-16 15:35:46 +02:00
tool Attach images to notes, stored on dufs and kept offline 2026-09-25 14:11:15 +02:00
web Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
.fvmrc Bump flutter 3.47.7, gradle 9.8.1, pub deps to latest 2026-10-16 15:41:06 +02:00
.gitignore Latest stable dependencies, and the gate that keeps them there 2026-08-28 14:46:50 +02:00
.mcp.json Add read-only MCP server for the backlog 2026-07-10 21:20:39 +02:00
.metadata Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
.pre-commit-config.yaml Repo-contract rollout and dependency bumps (github_device_auth v0.3.2, url_launcher 6.3.3) 2026-10-04 18:23:25 +02:00
AGENTS.md Repo-contract rollout and dependency bumps (github_device_auth v0.3.2, url_launcher 6.3.3) 2026-10-04 18:23:25 +02:00
analysis_options.yaml Exclude platform dirs from analysis; refresh the lockfile 2026-08-14 17:20:51 +02:00
CLAUDE.md Adopt the four markdown namespaces and gate them 2026-08-24 15:54:35 +02:00
install_arch.sh Package the desktop app as the web build, and delete the Linux embedder 2026-07-20 14:08:00 +02:00
LICENSE Add MIT license 2026-06-14 14:42:45 +02:00
pubspec.lock Bump flutter 3.47.7, gradle 9.8.1, pub deps to latest 2026-10-16 15:41:06 +02:00
pubspec.yaml Bump flutter 3.47.7, gradle 9.8.1, pub deps to latest 2026-10-16 15:41:06 +02:00
README.md Add headless note CLI (bin/todo_note.dart) reusing app CRDT sync 2026-10-16 15:35:46 +02:00
run.sh Export the backlog to ~/src/todo, not the pre-reorganisation ~/todo 2026-09-12 17:13:21 +02:00
skills-lock.json Add Flutter/Dart agent skills and AI rules for Claude Code 2026-06-22 22:53:03 +02:00
TODO-design-audit.md Adopt the four markdown namespaces and gate them 2026-08-24 15:54:35 +02:00

todo

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Headless note CLI

bin/todo_note.dart adds, lists, reads and deletes notes from the PC without the app, as one more sync node (own node_id and CRDT log under $XDG_DATA_HOME/todo-cli, or ~/.local/share/todo-cli). It needs the desktop Firebase session at ~/.config/todo/firebase_auth.json (seed it with python3 ~/src/utils/crdt-sync/tool/seed_session.py --app todo).

dart run bin/todo_note.dart --text "Title

body" --priority high --status in_progress     # prints the new note id
echo "Title" | dart run bin/todo_note.dart     # text from stdin
dart run bin/todo_note.dart --list             # id, priority, status, title
dart run bin/todo_note.dart --get <id>         # full note
dart run bin/todo_note.dart --delete <id>

--list and --get never push; --data-dir <dir> selects a throwaway node. Exit codes: 0 ok, 1 sync/auth failure or note not found, 2 bad arguments. All logic is in lib/cli/ (tested in test/cli/); --help lists every flag.