demo video
simplify tk dep too
WIP: simplify lua dependency
Quick demo:
https://user-images.githubusercontent.com/1446315/209965663-ace0b296-e0f6-4e5f-9529-7de0ebe59679.mp4
Very early WIP. The goal is to eventually become a user-friendly static site generator that:
The average computer-literate person deserves to completely own their blog publishing pipeline in $current_year!
This also doubles as my daily therapy session to recover from workday-induced architectureastronomyphobia. That means rejecting abstraction until it hurts, then we can consider a minimum viable refactor. This is half useful software, half contrarian art piece.
Current dev dependencies:
make watch
I've been developing mainly on Arch Linux, but the CI builds work on Debian 9 ("stretch") to ensure maximum glibc compatibiliy. Also cross-compiles to Windows just fine. MacOS is TODO.
make init-db
ln -s "$PWD/vendored/djot.lua" /usr/bin/djot.lua # or anywhere in your $PATH
make watch
Runtime dependencies:
bloghead.exe
.bloghead
assumes these executables are available from your $PATH:
tclsh
- must include tk
too.lua
djot.lua
- this is included in the zip, just put it somewhere in your $PATH.Things are especially messy right now. Proper desktop-friendly distribution will be done once core features are in place.
cd djot && git pull && cd ..
go run ./cmd/vendordjot
Although the Makefile works with plain Arch linux, there's a Dockerfile that's supposed to match the CI's build environment. Use it to quickly debug and iterate on CI tasks:
docker build -t bloghead .
docker run --rm -it bloghead bash
They're in the ./freedesktop/
dir.
Try editing the hardcoded paths there then stow freedesktop
.
Lektor is a heavy inspiration, but doesn't go far enough to accommodate non-developers IMHO.