README.md

May 14, 2026 ยท View on GitHub

Live at https://purarue.xyz/x/

Any code here is licensed under the MIT license, see LICENSE, feel free to steal whatever.

Any notes/blog posts/prose are licensed under the CC BY-NC-SA 4.0 license.

This uses astro's content collections, which is how all the markdown/template rendering happens.

Search works using stork - that builds an index at buildtime and uses wasm on the frontend to search

I deploy this to my site at /x/, with caddy:

redir /x /x/ permanent
redir /rss /x/rss.xml permanent
redir /rss.xml /x/rss.xml permanent
redir /sitemap.xml /x/sitemap-index.xml permanent
redir /blog /x/blog/ permanent
handle_path /x* {
    root /home/user/static_files/x/
    try_files {path} {path}.html {path}/ 404.html
}
handle_path /x/notes/personal* {
    root /home/user/static_files/x/notes/personal/
    try_files {path} {path}.html {path}/ 404.html
    basicauth {
        notes $<password_hash_here>
    }
}