This is the source code for my personal website. I post thoughts, hobbies, and other random things here.
twos.dev is a low-tech website. It does not require JavaScript and it is composed entirely of static files served by GitHub Pages.
These static files are built by Winter.
- Go 1.18+
go install
go install github.com/mitranim/gow@latest
make serve
Files will be watched for changes. Changes to documents or graphics will automatically trigger the right transformations. Changes to the generator itself will trigger a program recompilation and restart. In both cases, a WebSocket connection on the local page will listen for the change and trigger a refresh automatically.
Winter is the bespoke static website generator that powers twos.dev. It can be
used to power your static website as well, as a CLI or Go library. See
winter/README.md
for details.