Esote esote.net | Logs

A new look

Posted Jul 3, 2020.

My site has a new look. There are a few reasons for this:

These changes also provided me an opportunity to rewrite much of my website generation and serving code, and to change how I deployed the various webservers. On the server each deployment step had its own user totalling 15 users. This was mainly done for security under the idea that each step which didn't absolutely require a common user would be done under separate users. However, this was tedious and took up extra storage space from duplicate imports fetching. Now cloning and building are done under a single user, and executing is done under separate users. This also allows for more concurrency.

  1. Clone and build projects, as the "builder" user (parallel)
    • web-gen
    • web-srv
    • web-proxy
    • redirect
    • fmtc
      • indent
    • chat
    • gitweb
      • clone repositories to serve
  2. Run web-gen and pipe in signed proof of freshness
  3. Run projects, as "run-%s" users (parallel)
    • web-srv
    • fmtc
    • chat
    • gitweb
    • redirect
    • proxy

Soon I plan to switch git.esote.net to use cgit and the git daemon to support more efficient web viewing and cloning with the git protocol. I have been tinkering with this for a while but haven't found a good folder and user layout to support cgit, the git daemon, and cleanly pushing via ssh.

I would also like to support a dark theme on this site because the white background is blinding at any time except midday. The CSS media feature prefers-color-scheme looks promising but requires manually updating about:config in Firefox.