#+title: nakadashi.lol website
* akko.nakadashi.lol Design Document
** Hackerman Shit
*** TODO Source Exposure
Every page should have a button that takes you to the org-mode source for that page, using the beautifully named ~org-org-export-to-org~. This should interact properly with [[*Access Control]].
** TODO Access Control
The blog should have a form of access control. For instance, some things might be public, but other things I might only want to show to select people, or might contain other people's semi-confidential information that needs protection. Also, some people might want to opt out/not care about certain types of content, or I might want to present a certain "view" of the content myself.

As such, we need:

*** TODO System for marking content
With one or more categories. This should definitely work at least on the section level. The most viable candidate feature seems to be [[https://orgmode.org/manual/Tags.html][org-mode tags]].
*** TODO A way to export the correct selection of sections for every possible "view"
Best place to start would be looking at [[https://orgmode.org/manual/Export-Settings.html][~EXCLUDE_TAGS~]]. Should export to org file first and from there to HTML, in order to enable [[*Source Exposure]].
*** TODO A way of encoding which view corresponds to which html file.
*** TODO A way of encoding which view should be given, for a given URL.
i.e., the actual permission system. I definitely want to at least be able to:
- Generate a direct link to a specific view;
- Have a concept of a person having certain permissions, maybe through a cookie;
- Be able to revoke permissions;
- NOT have an "account system";
- Of course, have security on this.
** Style
*** TODO different theme
*** TODO theme selection
** Social
*** TODO Followable feed
*** TODO Comment section
Maybe powered by bluesky? I've heard that's a thing people do.
** Meme features
*** TODO teto face
** Open Issues
*** TODO Running the publish command in Emacs doesn't remove orphan HTML files.
*** TODO Port [[../static/esquemadorg.js][esquemadorg.js]] to modern JS and get rid of jquery dependency.
Good use case for AI
*** TODO "Last Modified" implementation is a bit janky and I don't remember exactly how it works
