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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Static File Server

elias-sundqvistelias-sundqvist4k downloads

Host subfolders as static file servers.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

Obsidian Static File Server

This is a plugin for Obsidian (https://obsidian.md).

It allows you to host obsidian subfolders as static file servers.

Why?

There are a number of reasons why one might want to do this

  • Embed websites in your vault that work offline
  • Embed websites with CORS issues
  • Access your vault files from other applications

Demonstration

Getting Started

  1. Install the plugin
  2. Make a folder in your vault
  3. Put some files in the folder
  4. Open Static File Server Settings and enter the name of the folder and a port number.
  5. You can now display the files in an iframe
    • For example, a file called example.html could be accessed with
      <iframe src="http://localhost:1337/example.html"/>

FAQ

  • How could I visit the website like you did in GIF?

Contributing

Feel free to contribute.

You can create an issue to report a bug, suggest an improvement for this plugin, ask a question, etc.

You can make a pull request to contribute to this plugin development.

Changelog

0.0.4 (2021-06-08) Minor Bug fix

  • Hopefully resolved issue #1. Ports are now always validated before the servers are started.

0.0.3 (2021-05-04) Minor fixes

  • Fix various issues mentioned by lishind in (this the community plugin list PR)[https://github.com/obsidianmd/obsidian-releases/pull/304#issuecomment-846665181]
  • Remove error logging (error messages can still be found in the network tab of developer tools.)

0.0.2 (2021-05-04) Fixed misleading setting placeholder

  • The folder path should not be prefixed with a /. Changed the placeholder from e.g. /somepath to e.g. FolderName

0.0.1 (2021-05-04) First Release

  • Basic functionality of the plugin implemented

License

Obsidian Static File Server is licensed under the GNU AGPLv3 license. Refer to LICENSE for more information.

64%
HealthFair
ReviewCaution
About
Host a vault subfolder as a local static file server on a chosen port to serve HTML, CSS, JS and other files. Display served pages in iframes, bypass CORS for embedded sites, and access vault files from other apps via HTTP.
FilesIntegrationsHTML
Details
Current version
0.0.4
Last updated
5 years ago
Created
5 years ago
Updates
4 releases
Downloads
4k
Compatible with
Obsidian 0.9.12+
License
AGPL-3.0
Report bugRequest featureReport plugin
Author
elias-sundqvistelias-sundqvist
github.com/elias-sundqvist
GitHubelias-sundqvist
  1. Community
  2. Plugins
  3. Files
  4. Static File Server

Related plugins

Local REST API

Unlock your automation needs by interacting with your notes over a secure REST API.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Telegram Sync

Transfer messages and files from Telegram to Obsidian.

Nutstore Sync

Sync your vault with Nutstore (Jianguoyun) using WebDAV protocol.

Notebook Navigator

Alternative file browser with folders, tags, properties, shortcuts, previews, keyboard navigation, drag and drop, and pinned notes.

Recent Files

Display a list of recently opened files.

BRAT

Easily install a beta version of a plugin for testing.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.