cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm leaflet readability golang

Publishing Examples#

Publishing a Blog Post#

Write the post locally:

noteleaf note create "Understanding AT Protocol" --editor

Write in markdown, save, and close editor.

Preview the conversion:

noteleaf pub post <note-id> --preview

Review the output to ensure formatting is correct.

Publish:

noteleaf pub post <note-id>

Update later:

noteleaf note edit <note-id>
# Make changes
noteleaf pub patch <note-id>

Draft Workflow#

Create draft:

noteleaf note create "Work in Progress" --editor
noteleaf pub post <note-id> --draft

Iterate locally:

noteleaf note edit <note-id>
noteleaf pub patch <note-id>  # Updates draft

Publish when ready: Use leaflet.pub web interface to change draft to published status (CLI command coming in future versions).

Syncing Existing Content#

Pull all leaflet documents:

noteleaf pub pull

List synced documents:

noteleaf pub list

Read a synced document:

noteleaf pub read <note-id>

Edit locally and push updates:

noteleaf note edit <note-id>
noteleaf pub patch <note-id>