A Static Site Generator for Org Mode
Currently, running the firn binary on a directory of org files performs the following:
Reads all .org files in the directory recursively.
Parses org-files into data structures with the lovely [[https://github.com/PoiScript/orgize][Orgize]].
Collects all file links, tags and logbooks across all files.
Passes files through a template system called [[https://github.com/Keats/tera][Tera]], and renders to HTML.
How do I use it?
Download the latest binary from the Github Releases page.
Add the binary to your path, or use the =-d= flag to pass a directory to Firn
firn new
ls -la _firn
firn serve
firn build
Read the full usage documentation [[https://theiceshelf.com/firn.html][here]].
Development & Contributing
Rust version =1.58.0=
see =Makefile= commands.
You'll need a folder of Org files to test on.
A small roadmap can be found [[https://theiceshelf.com/firn.html#Roadmap][here.]]
The development server is quite naive. There is no caching or diffing in the replacement of changed assets in the /static or /data folder. ** Footnotes Due to how the parser parses footnotes, they must look like so:
[fn:1]