Hacker News new | ask | show | jobs
by bryik 1631 days ago
> CPU is cheap, network speeds are fast and increasing and microservices are a mess.

Is CPU cheap? I can literally host a static site or SPA on GitHub Pages for free. Where can I get free CPU time for an htmlx application?

2 comments

> Is CPU cheap? I can literally host a static site or SPA on GitHub Pages for free. Where can I get free CPU time for an htmlx application?

Cheap != free, but the large cloud providers all have a free tier.

You can host an htmx-based site on Github Pages for free as well.
Does that fit with the philosophy of htmx? It looks to me like htmlx expects a server?
You can combine HTMX with a SSG like Hugo and generate a bunch of partial HTML files that HTMX can load later on request. No server is required.
htmx simply expects hypermedia/HTML

whatever can serve that can be used with htmx: it is intended as a straight-forward extension of HTML

Github pages hosting your static content is a server...