https://github.com/elias-sundqvist/obsidian-static-file-server
Serve obsidian vault subfolders with a static web server
https://github.com/elias-sundqvist/obsidian-static-file-server
Last synced: 29 days ago
JSON representation
Serve obsidian vault subfolders with a static web server
- Host: GitHub
- URL: https://github.com/elias-sundqvist/obsidian-static-file-server
- Owner: elias-sundqvist
- License: agpl-3.0
- Created: 2021-05-17T20:20:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T19:34:47.000Z (about 2 years ago)
- Last Synced: 2025-03-01T17:47:40.426Z (about 2 months ago)
- Language: TypeScript
- Size: 21.8 MB
- Stars: 43
- Watchers: 2
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
- jimsghstars - elias-sundqvist/obsidian-static-file-server - Serve obsidian vault subfolders with a static web server (TypeScript)
README
[](https://github.com/elias-sundqvist/obsidian-static-file-server/releases/latest)

# Obsidian Static File ServerThis 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
``## FAQ
* [How could I visit the website like you did in GIF?](https://github.com/elias-sundqvist/obsidian-static-file-server/issues/3#issuecomment-857964429)
## Contributing
Feel free to contribute.
You can create an [issue](https://github.com/elias-sundqvist/obsidian-static-file-server/issues) to report a bug, suggest an improvement for this plugin, ask a question, etc.
You can make a [pull request](https://github.com/elias-sundqvist/obsidian-static-file-server/pulls) 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](https://github.com/elias-sundqvist/obsidian-static-file-server) is licensed under the GNU AGPLv3 license. Refer to [LICENSE](https://github.com/elias-sundqvist/obsidian-static-file-server/blob/master/LICENSE.TXT) for more information.