Skip to main content
For exploring OpenWiki Markdown wikis, openwiki visualize serves a local interactive node graph beside a live Markdown reader in your browser. You can also export the same graph and reader as a static directory for hosting.

Open the visualizer

From a repository that already has an openwiki/ directory:
This serves ./openwiki on 127.0.0.1:4321 and opens your browser to the graph. Edits to wiki files are picked up automatically while the server runs. The graph panel is resizable and collapsible beside the Markdown reader.
The #page= URL fragment requires OpenWiki v0.9.0 or later.
Append a #page=<id> fragment to the visualizer URL to open a specific wiki page on first load instead of the default entry page. The <id> is the page path relative to the wiki root, without the .md extension:
The fragment is never sent to the server. If the id does not match a page in the loaded graph, the visualizer silently falls back to the default entry page.

Options

To explore a personal wiki:
OpenWiki visualizer with an interactive node graph beside a live Markdown reader
The visualizer shows:
  • An interactive node graph of wiki concepts and the Markdown links between them
  • A side-by-side live Markdown reader for the selected page
The graph does not show INSTRUCTIONS.md and other scaffolding files.

Export a static site

To publish the visualizer beside generated documentation, export a static directory instead of starting the server:
The export contains index.html, client.js, client-lib.js, styles.css, and graph.json. Its client reads the sibling graph file and does not use live reload, so the directory can be hosted by GitHub Pages, MkDocs, or any other static host.
The page loads its graph, Markdown, and diagram libraries from a public CDN, so an internet connection is required for both local and static viewers.

See also