Search / 3 matching notes

Notes &
other things.

2026

Hosting static HTMLs

While I'm on vacation and Mac Mini 2024 (my home server) is turned off, I wanted to host HackerNews legible frontend (html file) on the Internet with minimum setup as possible.

Hosting static HTMLs

While I'm on vacation and Mac Mini 2024 (my home server) is turned off, I wanted to host HackerNews legible frontend (html file) on the Internet with minimum setup as possible.

Obvious choices like Cloudflare Workers, Github Pages and all their variants were ruled out as they require accounts, backed by big corps while I wanted something indy.

Playing with Surge, made me realise it's a nice way to host static html artifacts created with AI, so here it is: https://hotter.surge.sh.

Operations
(let ((default-directory "~/Developer/src/github.com/velppa/hotter.surge.sh"))
  (async-shell-command
    ;; "surge --help"
    ;; "surge files hotter.surge.sh"
    ;; "surge . hotter.surge.sh" ;; deploy
    "make deploy"
    "*hotter.surge.sh*"))

(setq surge-server (ws-file-server :dir "~/Developer/src/github.com/velppa/hotter.surge.sh" :port 9004))
(ws-stop surge-server)

Improve HackerNews Legible Frontend

On <2026-04-12 Sun> I did several improvements to HackerNews legible frontend.

Improve HackerNews Legible Frontend

On <2026-04-12 Sun> I did several improvements to HackerNews legible frontend.

  • Favourite comment should have a link to the parent (root) entry.
  • When searching, it should be possible to favourite the search.
  • Favourites are sorted by time, previously comments were at the bottom.

Build HackerNews Legible Frontend

Let's build a legible frontend for HackerNews.