leafpress

unlisted

by Shivam Shekhar

Build and deploy your vault as a leafpress digital garden.

3 starsUpdated 3mo agoMIT
View on GitHub

leafpress for obsidian

Turn your Obsidian vault into a beautiful digital garden. Build, preview, and deploy your notes as a static website—all without leaving Obsidian.

GitHub Release License

Screenshot

leafpress Panel

Sample garden at leafpress.in

leafpress sample

Features

  • 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

Installation

From Obsidian Community Plugins (Coming Soon)

  1. Open Settings → Community plugins
  2. Search for "leafpress"
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create folder: <your-vault>/.obsidian/plugins/leafpress/
  3. Copy the downloaded files into this folder
  4. Restart Obsidian and enable the plugin in Settings → Community plugins

Using BRAT (Beta Testing)

  1. Install BRAT from Community Plugins
  2. Open BRAT settings → Add Beta Plugin
  3. Enter: shivamx96/leafpress-obsidian

Quick Start

  1. Initialize your site — Open the leafpress panel and click "Initialize" to create leafpress.json
  2. Configure — Set your site title, description, and theme in plugin settings
  3. Preview — Click "Start Server" to preview at http://localhost:3000
  4. Deploy — Connect a deployment provider and click "Deploy"

Configuration

All site configuration is stored in leafpress.json at your vault root. You can edit this directly or use the plugin settings panel.

Theme Options

OptionDescriptionDefault
fontHeadingGoogle Font for headingsCrimson Pro
fontBodyGoogle Font for body textInter
fontMonoGoogle Font for codeJetBrains Mono
accentAccent color (hex)#50ac00
background.lightLight mode background#ffffff
background.darkDark mode background#1a1a1a
navStyleNavigation style: base, sticky, glassybase
navActiveStyleActive link style: base, box, underlinedbase

Feature Toggles

FeatureDescriptionDefault
graphInteractive graph visualizationfalse
tocTable of contents on pagestrue
searchFull-text searchtrue
wikilinksProcess [[wiki-links]]true
backlinksShow backlinks sectiontrue

Deployment

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.

Requirements

  • Obsidian 1.11.0 or higher
  • Desktop only (macOS, Windows, Linux)

Documentation

For full documentation on leafpress, visit the leafpress docs.

Support

Contributing

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 build

License

MIT


Made with ♥ by Shivam Shekhar

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.