Esker is a static site generator for Obsidian.
Esker is alpha software and might not work for your Obsidian vault. Continue at your own peril (not recommended for non-technical users). Please note that filing issues will not be replied to until documentation is written (and who knows if even then). Good luck 😘!
Esker was built to work with Obsidian, however it does not work out of the box without having Obsidian settings changed to work with Esker (at this moment).
Before using Esker, you will need to meet the following pre-requisites:
- you have an obsidian vault (or a structure similar to one) with the following settings:
- in Files & Links,
New Link Format
should be set to “Absolute path in vault” Use wikilinks
is set to “false”- have your attachments in a specific directory.
- in Files & Links,
Once the above have been met, the following steps should build a static site for your obsidian vault:
- Get a release of esker from Github Releases. Currently only Linux and Mac are available.
- Move the release into your path
- Navigate in your terminal to wherever your obsidian vault is
- run the command
esker new
- You should notice that a new folder in your vault is created called
_esker
- try running
esker watch
to create a live server for your site (viewable at localhost:8080) (or whatever--port
you provide it). - You can also run
esker build
to just build your site, which should be available at<your vault directory>/_esker/_site
- If you are not seeing anything, you’ll need to ensure that your markdown files have valid frontmatter (see frontmatter section).
Additional documentation can be found here
Want to try hacking on this project? To get going with development you will need:
- Rust >= 1.64
If you are doing cross compilation the following are needed:
- Cargo ZigBuild
- Zig 0.10 (only needed for cross compilation)
Most of the building of this project was documented on youtube if that tickles your fancy.