|
2 weeks ago | |
---|---|---|
out-gmi | 2 weeks ago | |
out-html | 2 weeks ago | |
scripts | 2 weeks ago | |
Gemfile | 2 weeks ago | |
README.md | 2 weeks ago | |
Rakefile | 2 weeks ago | |
mkfile | 2 weeks ago | |
tasks.py | 2 weeks ago |
You create new notes with rake new
.
A card will be created with a timestamp and a CUID for a filename.
Plan 9 mk
is used to compile each card to a text/html
and text/gemini
representation.
This representation is then uploaded to respective web servers with mk deploy
.
A single Nim or Janet application that processes the files instead.
Currently site generation is very Unix-like but also very slow. It is slow because a Ruby interpreter is spun up twice for each card. When all the files are processed by a single worker set up one time then generation is very fast.
The move from Ruby to Janet is mostly to do with unifying around Nim and Lisp.