Turn your Obsidian vault into a beautiful digital garden. Build, preview, and deploy your notes as a static website—all without leaving Obsidian.
Sample garden at leafpress.in
- One-click publishing — Build and deploy your vault without touching the command line
- Live preview — Start a local server to preview your site before publishing
- Deploy anywhere — GitHub Pages, Vercel, or Netlify with built-in deployment support
- Full theme control — Customize fonts, colors, backgrounds, and navigation styles
- Wiki-links support — Your
[[links]]just work - Graph visualization — Interactive graph view of your notes
- Table of contents — Auto-generated TOC for long-form content
- Backlinks — See what links to the current page
- Full-text search — Built-in search across all your published notes
- Change tracking — See pending changes before you deploy
- Open Settings → Community plugins
- Search for "leafpress"
- Click Install, then Enable
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create folder:
<your-vault>/.obsidian/plugins/leafpress/ - Copy the downloaded files into this folder
- Restart Obsidian and enable the plugin in Settings → Community plugins
- Install BRAT from Community Plugins
- Open BRAT settings → Add Beta Plugin
- Enter:
shivamx96/leafpress-obsidian
- Initialize your site — Open the leafpress panel and click "Initialize" to create
leafpress.json - Configure — Set your site title, description, and theme in plugin settings
- Preview — Click "Start Server" to preview at
http://localhost:3000 - Deploy — Connect a deployment provider and click "Deploy"
All site configuration is stored in leafpress.json at your vault root. You can edit this directly or use the plugin settings panel.
| Option | Description | Default |
|---|---|---|
fontHeading |
Google Font for headings | Crimson Pro |
fontBody |
Google Font for body text | Inter |
fontMono |
Google Font for code | JetBrains Mono |
accent |
Accent color (hex) | #50ac00 |
background.light |
Light mode background | #ffffff |
background.dark |
Dark mode background | #1a1a1a |
navStyle |
Navigation style: base, sticky, glassy |
base |
navActiveStyle |
Active link style: base, box, underlined |
base |
| Feature | Description | Default |
|---|---|---|
graph |
Interactive graph visualization | false |
toc |
Table of contents on pages | true |
search |
Full-text search | true |
wikilinks |
Process [[wiki-links]] |
true |
backlinks |
Show backlinks section | true |
leafpress supports multiple deployment providers:
- GitHub Pages — Free hosting directly from your repository
- Vercel — Fast edge network with automatic deployments
- Netlify — Simple deploys with form handling and more
Configure your provider in plugin settings, then use the Deploy button in the leafpress panel.
- Obsidian 1.11.0 or higher
- Desktop only (macOS, Windows, Linux)
For full documentation on leafpress, visit the leafpress docs.
- Issues & Bugs — GitHub Issues
- Discussions — GitHub Discussions
Contributions are welcome! Please read our contributing guidelines before submitting a PR.
# Clone the repo
git clone https://github.com/shivamx96/leafpress-obsidian.git
# Install dependencies
pnpm install
# Development build with watch
pnpm run dev
# Production build
pnpm run buildMade with ♥ by Shivam Shekhar

