A viewer for superlore docs — desktop app and web app, one codebase.
superlore is a content model for docs that are readable by both humans and AI agents from the same source. A superlore doc is MDX plus a typed frontmatter schema and a library of "dual-representation" components — cards, timelines, boards, entity cards, tables, and an interactive Canvas — each of which renders a polished page for people and serializes to a typed knowledge graph an agent can query over MCP. One file, two audiences, never out of sync.
The atom of superlore is a single .mdx file: no project, no deploy, no build step required to read one.
folklore is that reading experience, taken out of the browser. Open a .superlore bundle or a plain .mdx file and it renders using superlore's own official runtime — the exact same components, Canvas, and syntax highlighting as the hosted docs site and the online Viewer — just running natively, with your own files, in a window instead of a tab.
- Open
.superlorebundles and plain.mdxfiles. A.superlorefile is a zip bundle — the doc, its images, comment threads, and metadata all in one — for when a doc needs to travel with its assets. A bare.mdxjust opens straight up. - Live-reload. Edit the file in your own editor and the view updates automatically — no manual refresh, no re-opening. Works on both desktop (a real filesystem watch) and the web (polling a File System Access handle in Chromium-based browsers).
- Desktop and web from one codebase. Ships as a native Tauri app (Linux/macOS/Windows) with a native open dialog, drag-and-drop, and "open with" / CLI launching — or as a plain static web app you can host anywhere, with the same file picker and drag-and-drop experience in the browser.
- Word-style reading layout. A centered, paginated content column with a left-hand outline sidebar (built from the doc's own headings) — closer to a document than a docs-site sidebar-and-hero layout.
- 7 color schemes, 14 accents. Catppuccin's four flavors (Latte, Frappé, Macchiato, Mocha) plus Darcula, VS Code, and Adwaita, each with the full accent palette — switch live from Settings, no restart.
- A flat, consistent design language. 2px border radius everywhere in the app's own chrome, while still letting superlore's Canvas diagrams render their real shapes (circles, diamonds, pills) undistorted.
- Arch Linux:
folklore-binon the AUR —yay -S folklore-bin(or your favorite AUR helper). - Other Linux / Windows / macOS: grab an installer from the latest release (
.deb,.rpm,.AppImage,.msi,.exe,.dmg). - Web: piyushxcoder.github.io/folklore — no install, runs in the browser.
pnpm install
# web dev server
pnpm dev
# desktop dev (wraps the same dev server in a native window)
pnpm tauri dev# web — static output in dist/
pnpm build
# desktop installer for your current OS
pnpm tauri buildLinux AppImage note: if bundling fails with
failed to run linuxdeploy, run withNO_STRIP=1 pnpm tauri build. linuxdeploy's bundledstripcan't parse the ELF.relr.dynsection some modern system libraries emit — this skips its (redundant) strip pass. SeeCLAUDE.mdfor details.
Pushing a v*.*.* tag (or running the Release workflow manually from the Actions tab) builds installers for Linux, macOS (Intel + Apple Silicon), and Windows, and publishes them as a draft GitHub Release. The web build deploys to GitHub Pages separately (its own Deploy web app to GitHub Pages workflow), on every push to master — kept apart from tag releases because GitHub Pages' environment protection only allows deploys from the default branch, not tags.
See CLAUDE.md for the full architecture rundown, and progress.md for a running log of what's built and what's next.
MIT © Piyush Raj — see LICENSE.
