Exobrain
something like a public wiki, - a place to store notes, ideas, blogposts, photography, or writing
Install / Use
/learn @purarue/ExobrainREADME
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 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/astrid/static_files/x/
try_files {path} {path}.html {path}/ 404.html
}
handle_path /x/notes/personal* {
root /home/astrid/static_files/x/notes/personal/
try_files {path} {path}.html {path}/ 404.html
basicauth {
notes $<password_hash_here>
}
}
