Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Aug 01:36
· 25 commits to main since this release
91fd5f7

First release. wikiview --root my-kb serves a folder of markdown at http://localhost:8080, and you can read it.

New

  • Browse the tree, follow links between entries, and jump to headings. A folder opens its index.md, or gets a generated listing if it has none. Nothing is written to the bundle to make a folder look tidier.

  • Ticking a - [ ] edits the file, through the engine's write API: one character changes, atomically, and the entry re-parses itself. It is the only thing here that writes.

    Writes carry the version their data was read at. A checkbox is addressed by line number, and that number only means something against the content it came from, so if the entry changed underneath, the write is refused with the current version instead of landing on whatever now sits on that line.

  • A watcher keeps the index in step with the files, so an agent or an editor working on the same folder shows up without anything asking. A batch of filesystem events counts as one change: a single save is several events and a tidy --all is hundreds, and rebuilding per event would rebuild the bundle dozens of times over.

    Clients hear a version number over server-sent events, never a payload, and refetch whatever they are looking at. One that missed ten events pulls once and is correct again, which means no replay to design and no ordering to get wrong. The version only moves when content really changed, so a save that edited nothing does not churn every open tab.

  • Real routes. /wiki/notes/design.md is the bundle path verbatim, .md and all, and it survives a refresh or a pasted link. Hash routing was not available: the fragment carries heading anchors.

  • Light, dark and system themes, applied before the first paint so a stored preference does not flash the wrong one.