Hi HN, I’ve been working on docmd, a static site generator for documentation that feels like a native app.
The biggest challenge with SSGs is the "blink" between pages or the heavy hydration cost of using React/Vue. In v0.4.11, we implemented an intent-based prefetching router. It monitors link hovers (with a 65ms intent delay) and caches the HTML in memory. The result is a site that swaps content instantly without the overhead of a heavy JS framework.
Key Tech:
- No React/Vue/Svelte. Standard EJS + Vanilla JS.
- Isomorphic: The parser engine runs in Node.js AND the browser (check out our Live Editor).
- Custom depth-tracking parser to handle complex Markdown container nesting.
- 100% Offline Search (MiniSearch-based indexing at build time).
- I’d love to get your feedback on the performance and the isomorphic architecture.
enigmazi•2h ago
The biggest challenge with SSGs is the "blink" between pages or the heavy hydration cost of using React/Vue. In v0.4.11, we implemented an intent-based prefetching router. It monitors link hovers (with a 65ms intent delay) and caches the HTML in memory. The result is a site that swaps content instantly without the overhead of a heavy JS framework.
Key Tech: - No React/Vue/Svelte. Standard EJS + Vanilla JS. - Isomorphic: The parser engine runs in Node.js AND the browser (check out our Live Editor). - Custom depth-tracking parser to handle complex Markdown container nesting. - 100% Offline Search (MiniSearch-based indexing at build time). - I’d love to get your feedback on the performance and the isomorphic architecture.
GitHub Repo: https://github.com/docmd-io/docmd
Experience the Docs: https://docs.docmd.io