a small site generator for my obsidian wiki written in fish shell
Go to file
protodrew 042b032728 fix index files being ignored 2024-06-08 17:44:02 -04:00
.gitignore initial commit 2024-02-24 01:20:43 -05:00
README.md 1.0 fr 2024-03-29 20:55:14 -04:00
obsidian-linter-data.json updates, samples, readme improvements 2024-03-29 19:46:58 -04:00
obsidian-ssg.fish fix index files being ignored 2024-06-08 17:44:02 -04:00
sample_obsidian_note.md updates, samples, readme improvements 2024-03-29 19:46:58 -04:00
sample_pandoc_template.html updates, samples, readme improvements 2024-03-29 19:46:58 -04:00

README.md

This is a highly opinionated (read: entirely based on my config and not super flexible yet) WIP way to turn an obsidian vault into a static site. It also generates a couple (mostly) compliant atom feeds, and more will be improved in the future. This is written in fish cause it's the shell I use and I don't want to use full programming languages atm if I can avoid it. It could probably be improved and any feedback is welcome.

If you want to see my website's code you can find it here and my wiki can be found here

requires

how to use

create an obsidian vault and add some notes to it, a sample note is provided.

move obsidian-ssg.fish to your config

git clone 'https://git.merveilles.town/proto/obsidian-ssg'
cd obsidian-ssg
cp obsidian-ssg.fish ~/.config/fish/functions/obsidian-ssg.fish

run with the arguments

obsidian-ssg /path/to/wiki /path/to/website /path/to/pandoc_template.html

optional

I also have my config for obsidian-linter provided so copy that to /path/to/wiki/.obsidian/plugins/obsidian-linter/data.json and lint all files in the vault in order to ensure all markdown is formatted correctly