Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Vercel Publish

yannaneryannaner17 downloads

Turn your vault into a browsable website hosted on Vercel with one-command publish.

  • Overview
  • Scorecard
  • Updates1

Vercel Publish for Obsidian

Transform your Obsidian vault into a beautiful, published website with one command

Features • Installation • Quick Start • Documentation • Contributing


Overview

Vercel Publish is an Obsidian plugin that seamlessly transforms your personal knowledge base into a professional website. With a single command, your notes are synced, optimized, and deployed to Vercel—perfect for digital gardens, documentation sites, or public knowledge bases.

Why Vercel Publish?

  • One-Click Publishing - Sync and deploy in seconds
  • Beautiful UI - Modern Next.js template with dark mode support
  • Full-Text Search - Find notes instantly with built-in search
  • Folder Structure - Maintains your vault organization
  • Smart Link Conversion - Wikilinks automatically converted to web-friendly URLs
  • Privacy First - Choose exactly what to publish
  • Free Hosting - Deploy to Vercel at no cost
  • Lightning Fast - Static site generation for optimal performance

Features

Core Features

Feature Description
One-Command Publish Sync notes and push to GitHub with a single command
Setup Wizard Guided step-by-step setup for non-technical users
Wikilink Conversion Automatically converts [[Note]] links to proper markdown
Folder Navigation Browse notes with a collapsible folder tree sidebar
Dark Mode Beautiful dark/light theme toggle with persistence
Search Real-time search across all published notes
Template Updates Update your site template while preserving content

Privacy & Control

  • Selective Publishing - Choose which folders to include/exclude
  • Default Exclusions - Configuration folder (e.g. .obsidian), private, journal folders excluded by default
  • Custom Configuration - Fine-grained control via publish.config.json

Modern Tech Stack

  • Next.js 15 - React framework with App Router
  • TypeScript - Type-safe development
  • Static Export - Fast, secure, SEO-friendly pages
  • Vercel Edge - Global CDN for instant page loads

Installation

From Obsidian Community Plugins

  1. Open Obsidian Settings
  2. Navigate to Community Plugins and disable Safe Mode
  3. Click Browse and search for "Vercel Publish"
  4. Click Install, then Enable

Manual Installation

  1. Download the latest release from GitHub Releases
  2. Extract the files to your vault's plugins folder: <vault>/.obsidian/plugins/vercel-publish/ (or your custom configuration folder)
  3. Reload Obsidian
  4. Enable the plugin in Settings → Community Plugins

Quick Start

1. Initialize Your Website

Open the command palette (Cmd/Ctrl+P) and run:

Vercel Publish: Setup Wizard

The wizard will:

  • Create a /site directory with a Next.js template
  • Generate publish.config.json for customization
  • Guide you through GitHub and Vercel setup

2. Configure What to Publish

Edit publish.config.json in your vault root:

{
  "include": [],  // Empty = publish all notes (recommended)
  "exclude": [".obsidian", "site", "private", "journal"],
  "siteDir": "site",
  "contentDir": "site/content",
  "assetsDir": "site/public/assets",
  "baseRoute": "/notes",
  "slugStyle": "kebab"
}

Tip: Leave include empty to publish all notes. Notes outside the site folder will automatically be synced.

3. Publish Your Notes

Run the publish command:

Vercel Publish: Publish (Sync + Push)

This command:

  1. Syncs your notes to /site/content
  2. Converts wikilinks to proper markdown links
  3. Commits and pushes to GitHub
  4. Triggers automatic Vercel deployment

4. Deploy to Vercel

  1. Go to vercel.com/new
  2. Import your GitHub repository
  3. Important: Set Root Directory to site
  4. Click Deploy

Your site will be live in minutes!


Documentation

Available Commands

Command Description Shortcut
Setup Wizard Guided setup for first-time users -
Initialize Website Create /site directory with Next.js template -
Sync Notes Copy notes to /site/content with link conversion -
Publish (Sync + Push) Sync notes and push to GitHub -
Update Template Update site template while preserving content -
Show Current Config Display current publish configuration -

Configuration Options

publish.config.json

{
  include: string[];    // Folders to include (empty = all)
  exclude: string[];    // Folders to exclude (default: config folder, site, private)
  siteDir: string;      // Site directory (default: "site")
  contentDir: string;   // Content directory (default: "site/content")
  assetsDir: string;    // Assets directory (default: "site/public/assets")
  baseRoute: string;    // Base URL path (default: "/notes")
  slugStyle: 'kebab' | 'original';  // URL slug style
}

How It Works

graph LR
    A[Your Vault] -->|Sync| B[site/content]
    B -->|Git Push| C[GitHub]
    C -->|Webhook| D[Vercel]
    D -->|Deploy| E[Live Website]
  1. Sync: Plugin copies markdown files to site/content/ and converts wikilinks
  2. Push: Changes are committed and pushed to GitHub
  3. Build: Vercel receives webhook and builds the Next.js site
  4. Deploy: Site is deployed to Vercel's global CDN

Customization

Update Site Template

Run the update command to get the latest features:

Vercel Publish: Update Template

This preserves your content and customizations while updating:

  • UI components
  • App logic
  • Dependencies
  • Configuration files

Local Development

Test your site locally before publishing:

cd <vault>/site
npm install
npm run dev

Open http://localhost:3000 to preview.


Troubleshooting

Notes Not Syncing

  1. Run Vercel Publish: Show Current Config
  2. Check that include is empty [] or contains your note folders
  3. Verify notes aren't in exclude list

"Not a git repository"

Initialize git in your vault:

cd <vault>
git init
git add -A
git commit -m "Initial commit"

"No git remote configured"

Add GitHub remote:

git remote add origin https://github.com/username/repo.git

Vercel Build Fails

  • Verify Root Directory is set to site in Vercel project settings
  • Check build logs in Vercel dashboard
  • Ensure site/package.json exists and has correct dependencies

Dev Mode Errors

If you see errors like "missing param" in dev mode:

  • These are harmless Next.js quirks with output: 'export'
  • Production builds work perfectly
  • Only affects npm run dev, not deployed site

Contributing

We love contributions! Here's how you can help:

Reporting Bugs

Open an issue with:

  • Clear description of the problem
  • Steps to reproduce
  • Expected vs actual behavior
  • Screenshots if applicable

Suggesting Features

We're always looking for ways to improve! Open an issue with:

  • Use case description
  • Proposed solution
  • Alternative approaches considered

Pull Requests

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes
  4. Run tests: npm run build
  5. Commit: git commit -m 'Add amazing feature'
  6. Push: git push origin feature/amazing-feature
  7. Open a Pull Request

Development Setup

# Clone the repo
git clone https://github.com/Yannaner/Vercel-Publish.git
cd Vercel-Publish

# Install dependencies
npm install

# Build the plugin
npm run build

# Development mode (auto-rebuild)
npm run dev

License

This project is licensed under the MIT License - see the LICENSE file for details.


Acknowledgments

  • Built with Obsidian Plugin API
  • Powered by Next.js
  • Hosted on Vercel
  • Inspired by the amazing Obsidian community

Back to Top

Made by Ian

HealthExcellent
ReviewRisks
About
Publish your Obsidian vault to Vercel with one command, converting wikilinks to web-friendly URLs and preserving folder structure. Deploy a Next.js static site with dark mode, full-text search, selective publishing, and instant CDN delivery.
PublishingExportGit
Details
Current version
1.0.0
Last updated
11 months ago
Created
11 months ago
Updates
1 release
Downloads
17
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
yannaneryannaner
github.com/Yannaner
GitHubyannaner
  1. Community
  2. Plugins
  3. Publishing
  4. Vercel Publish

Related plugins

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信(weixin/wx)公众号(支持自定义 CSS和公众号贴图)、飞书、小红书(rednote)、知乎、微博、CSDN等20+平台。

Quartz Syncer

Manage and publish your notes to Quartz, the fast, batteries-included static-site generator.

GitHub

Share as Gist

Share a note as a GitHub.com Gist.

Document Exporter

Export notes, folders, and query results into Markdown bundles, HTML documents, and print-ready exports.

Publish to Telegram

Allows you to post notes directly to Telegram channels, groups and personal messages with different presets and advanced publishing settings.

NoteRelay

将 Obsidian 笔记排版后复制到公众号、小红书和 X。

Live PDF Preview

Real-time PDF preview and export plugin.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Git

Integrate Git version control with automatic backup and other advanced features.

Fit

Minimalist File gIT (FIT) to sync your files across mobile and desktop devices using GitHub.