News for hackers. Stuff that matters.

sswn

Re:Show HN: Nitro – a Python static site generator on Tuesday October 13, 2026 @01:20AM (#50067088)
The renderer will only render the changed component and then the live reload will kick in if you use the nitro dev option. Since a component is just Python, the component will update everywhere its imported.

If you run nitro build, it will re-compile the whole page (all pages).

Re:Show HN: Nitro – a Python static site generator on Monday October 12, 2026 @10:11AM (#50056731)
Yes, most definitely. I use Tailwind with Nitro on a daily basis.

Here's how:

1. Import tailwind 2. Build your components:

def card(title, body): return Div( Div(title, cls="font-semibold text-zinc-900"), Paragraph(body, cls="mt-1 text-sm text-zinc-600"), cls="rounded-xl border border-zinc-200 bg-white p-6 shadow-sm", )

3. Run nitro build or nitro dev for live reloads.

EDIT:

Here is a full guide: https://nitro.sh/docs/tailwind

Re:Jurassic Park computers in excruciating detail on Wednesday July 15, 2026 @12:55AM (#48916431)
This is why I love the internet! Thank you to the author for taking the time!