My personal blog, written as a custom Rust backend that produces HTML. https://sitegui.dev
  • Rust 78.4%
  • Jinja 16.5%
  • CSS 4.5%
  • Dockerfile 0.5%
Find a file
sitegui 0243f8d1c0 Add one more step in the newsletter form
I see bot activity that uses a real browser to fill in the newsletter form and submit it. The current proof of work protection is not enough, since the bot seems to use a JS-capable browser.
2026-06-16 14:25:51 +02:00
content Efficiently ingesting thousands of JSON files into a Delta table 2026-06-09 16:09:44 +02:00
docs Allow posting comments 2026-03-01 19:05:12 +01:00
src Add one more step in the newsletter form 2026-06-16 14:25:51 +02:00
web Add one more step in the newsletter form 2026-06-16 14:25:51 +02:00
.gitignore Add scratch folder for my tests 2026-01-25 14:55:18 +01:00
Cargo.lock Use proof of work to block spam 2026-04-02 10:33:40 +02:00
Cargo.toml Use proof of work to block spam 2026-04-02 10:33:40 +02:00
default.env Add start-post CLI subcommand 2026-03-21 13:08:22 +01:00
deploy.sh Simplify deploy.sh 2026-02-07 03:11:27 +01:00
Dockerfile Transform into a CLI with serve as the subcomand 2026-03-21 12:17:24 +01:00
README.md Efficiently ingesting thousands of JSON files into a Delta table 2026-06-09 15:59:41 +02:00
rust-toolchain Initial commit 2025-12-31 15:23:00 +01:00

Personal blog

My personal blog, written as a custom Rust backend that produces HTML.

I'm using this format instead of static HTML because I've added some interactive content like comments and newsletter.

Run locally

cargo install watchexec-cli
watchexec --restart --socket 8080 -- cargo run --release -- serve

Deploy

Set git alias with:

git config alias.deploy '!git push && ssh -4 sitegui@ssh.sitegui.dev ./deploy sitegui/blog'

then simply run git deploy to push and deploy.

Future ideas

  • auto-resize images and remove EXIF tags