Colophon
Or About This Site
This website is written in HTML, with text pages (like this one) in Markdown. Styled with CSS, and made fun with a bit of JavaScript. It uses Liquid for templating.
11ty makes it all happen, and compiles it to a bunch of static files.
These are then hosted on OSCloud.
DNS is managed by Cloudflare (icky, I should really move away already)
You can browse through the source files over on Codeberg.
Libraries #
Client side JavaScript libraries in use:
-
Surreal - Tiny jQuery alternative for plain Javascript with inline Locality of Behavior.
-
CSS Scope Inline for scoping inline
<style>tags without having dozens of classes. -
Planetary - for the rotating globe on the frontpage.
-
Mastodon Timeline - for embedding Mastodon feeds, used on the frontpage and in some blog posts.
-
Simple Notify - notifications. I made a two line css fix for it, but they still haven't merged my PR.
-
JS Confetti - try to click on some of the 88x31 buttons :)
Comments #
I use my own weird DIY comment system. Since the page is static (no server side code), the comments cannot be submitted to my server. I could use some third party comment widget, but I don't like those. I want the comments to be a part of my website.
When you submit a comment, it's sent to https://jsonbin.io/. A random service with free tier, that I can change at any time. When I have time, I run a python script that fetches the comments and lets me approve or deny them, and delete from the service afterwards. Approved comments are added to a json file and from that to the website as HTML on every build. They are part of the website, forever.
The main drawback is that there are no advanced features. Not even replies, in fact. But I don't really mind.
Workflow #
I edit the code in Neovim, and draft text posts in Obsidian. Source control is done with Git, using LazyGit. I deploy the build site to OSCloud's webserver with RClone.
No comments yet...