Home

Awesome

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

Other than that, the launch_in_editor client/server code will ping the localhost server running locally on my machine whenever I'm viewing any webpage with content, adding a button so I can quickly edit something if I want to:

<video src="https://github.com/purarue/exobrain/assets/7804791/7ab04b7e-8471-48b2-97ca-4779dd0d6e33" width=400></video>

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

rewrite ^/x$ /x/ permanent;
rewrite ^/rss.xml /x/rss.xml permanent;
rewrite ^/sitemap.xml$ /x/sitemap-index.xml permanent;

location /x {
  try_files $uri $uri.html $uri/ =404;
  error_page 404 /x/404.html;
  index index.html;
}