This plugin allows you to distribute your Obsidian vault as a static HTML website.
It generates a standalone website mirroring your vault's structure, converting Markdown notes to HTML, and applying your current Obsidian theme's colors and fonts.
- Static Site Generation: Converts all your notes to HTML files.
- Style Replicaton: Inherits your vault's accent color and custom font (via Google Fonts).
- Navigation Tree: Generates a sidebar navigation matching your folder structure.
- Internal Links: Preserves links between notes.
- Private Directories: Enables a feature to prevent a root directory to be converted to HTML
This project is based on the Obsidian Sample Plugin.
- Go to Settings > Obsidian Dist.
- Set your desired Output Directory (default:
dist). - Click Generate Now.
- Open the
index.html(orWelcome.html) in your output folder to view your site.
npm ioryarnto install dependencies.npm run devto start compilation in watch mode.npm run buildto build for production.