frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A Web Framework for Zig

https://www.jetzig.dev/
159•nivethan•4mo ago

Comments

heldrida•4mo ago
Here's a video introduction to Jetzig by one of the contributors:

Screencast #1 - Introduction https://www.youtube.com/watch?v=qeaO_MwfUII

lgrebe•4mo ago
Jetzig reads funny in german something like "now-ish"

Jetzt = now [1]

German adjective suffix: -ig [2] The German suffix -ig attaches to nouns, verbs and even adverbs. Given this flexibility, it ranks among the most common adjective endings in German. You can use -ig words to express that something is a certain way or happens a certain way. traurig: sad, sadly wässrig: watery knackig: crunchy, crispy abhängig: dependent, addicted geizig: stingy

[1] https://de.pons.com/übersetzung-2/deutsch-englisch/jetzt [2] https://www.lingoda.com/blog/en/german-adjective-suffixes/

Onavo•4mo ago
It's a perfectly fine name. There's a billion dollar web framework company named Zeit which famously built https://now.sh
moritzruth•4mo ago
They rebranded to Vercel, most likely because Zeit turned out to not be a perfectly fine name.
juliangmp•4mo ago
Do you mean because of the newspaper called _Die Zeit_?
justin66•4mo ago
I'd propose Zig have a specific version for Germany and call it Z-Germans.
unwind•4mo ago
The "-ig" suffix corresponds roughly to English's "-ish", I would say. As a native speaker of neither German nor English, though.
rendx•4mo ago
It doesn't merely sound like it, it is a German word, translating to current/present.

https://www.dwds.de/wb/jetzig

https://de.wiktionary.org/wiki/jetzig

https://www.duden.de/rechtschreibung/jetzig

endigma•4mo ago
This site makes a big point of using the term "RESTful" repeatedly, but it seems to be JSON-based by default?

I don't know why modern web frameworks insist on continuing to misuse or misapply the term despite a fairly large amount of messaging recently about how exactly this term is misapplied, and the resurgence of frameworks and tools that do correctly apply it, e.g. HTMX, Datastar, Alpine AJAX.

Otherwise, this looks cool. I'd encourage you to un-roll-your-own docs and use something like Starlight or Docusaurus so you can have usable search and versioned docs.

_heimdall•4mo ago
That's a fight we lost two decades ago now unfortunately. Nearly any modern-ish API is a JSON-based RPC. There's nothing wrong with that, JSON RPC is a plenty fine solution for many common use cases, it just isn't REST.
moritzruth•4mo ago
Note that there is also a standard for JSON-based RPC systems, called JSON-RPC [0]. Not every JSON-based self-titled "RESTful" API uses JSON-RPC.

[0]: https://www.jsonrpc.org/

elcritch•4mo ago
Being RESTful and the data encoding used are largely orthogonal aspects of an API.

Wikipedia RESTful article says:

> The formal REST constraints are as follows:[10]

> Client/Server – Clients are separated from servers by a well-defined interface

> Stateless – A specific client does not consume server storage when the client is "at rest"

> Cache – Responses indicate their own cacheability

> Uniform interface

> Layered system – A client cannot ordinarily tell whether it is connected directly to the end server, or to an intermediary along the way

dustbunny•4mo ago
The key line is actually this:

>An application that adheres to the REST architectural constraints may be informally described as RESTful, although this term is more commonly associated with the design of HTTP-based APIs and what are widely considered best practices regarding the "verbs" (HTTP methods) a resource responds to, while having little to do with REST as originally formulated—and is often even at odds with the concept.

elcritch•4mo ago
Taking that to mean you disagree. However using HTTP verbs has nothing to do with using JSON or not. Notice it says "HTTP" not "HTML" APIs.
dustbunny•4mo ago
Ha I came here to complain about the same thing.

Kinda makes me disappointed in the authors especially when they link to the REST wikipedia page as if they know what it means.

jadbox•4mo ago
What do you think of HTMX vs Datastar for a new production app? Any key reasons to use one over the other?
sroerick•4mo ago
I really like Jetzig. It just seems to make every framework decision that I think feels right. Major props to the team
winrid•4mo ago
I don't know zig - is this query type safe in that if I change a member name in the struct it'll fail to compile? https://github.com/jetzig-framework/jetquery

usually I do this with codegen, pretty cool if zig's type system is this powerful

Also holy crap: for (cat.homes

This is like django!

messe•4mo ago
Yes, all reflection in Zig is static reflection, so that should generate a compile error (although how obvious it will be is a different question).
hajimuz•4mo ago
it’s using http.zig, so only http1.1?
BozeWolf•4mo ago
Nice, looks like a decent framework. I used to do a lot of python for backend web apps, but recently jumped on the hypetrain and used go for developing a web app (devops) tool. Single binary, easy deployment etc etc.

From that experience, I think this competes with go based web apps mostly. And if so, it makes a good chance at becomming succesful. Zig seams to have a better type system. Additionally the quality of documentation for this project is pretty good. That is something the go ecosystem seems to be lacking in general. The rest of the go perks are there as well. Single binary etc.

Now the ecosystem needs to catch up. Nice!

timeon•4mo ago
Sad to see that cookie banner. One would not expect opensource project to be associated with spyware.
lukaslalinsky•4mo ago
As much as I like Zig, I can't imagine working on something as string/list-heavy as web without a garbage collector. Not to mention having a web server without coroutines. Web services these days are just glue code between various pieces of infrastructure, you are constantly waiting on something, it just doesn't make sense to run these in full blown threads.

Show HN: FSID - Identifier for files and directories (like ISBN for Books)

https://github.com/skorotkiewicz/fsid
1•modinfo•3m ago•0 comments

Show HN: Holy Grail: Open-Source Autonomous Development Agent

https://github.com/dakotalock/holygrailopensource
1•Moriarty2026•10m ago•1 comments

Show HN: Minecraft Creeper meets 90s Tamagotchi

https://github.com/danielbrendel/krepagotchi-game
1•foxiel•18m ago•1 comments

Show HN: Termiteam – Control center for multiple AI agent terminals

https://github.com/NetanelBaruch/termiteam
1•Netanelbaruch•18m ago•0 comments

The only U.S. particle collider shuts down

https://www.sciencenews.org/article/particle-collider-shuts-down-brookhaven
1•rolph•21m ago•1 comments

Ask HN: Why do purchased B2B email lists still have such poor deliverability?

1•solarisos•21m ago•2 comments

Show HN: Remotion directory (videos and prompts)

https://www.remotion.directory/
1•rokbenko•23m ago•0 comments

Portable C Compiler

https://en.wikipedia.org/wiki/Portable_C_Compiler
2•guerrilla•25m ago•0 comments

Show HN: Kokki – A "Dual-Core" System Prompt to Reduce LLM Hallucinations

1•Ginsabo•26m ago•0 comments

Software Engineering Transformation 2026

https://mfranc.com/blog/ai-2026/
1•michal-franc•27m ago•0 comments

Microsoft purges Win11 printer drivers, devices on borrowed time

https://www.tomshardware.com/peripherals/printers/microsoft-stops-distrubitng-legacy-v3-and-v4-pr...
3•rolph•27m ago•1 comments

Lunch with the FT: Tarek Mansour

https://www.ft.com/content/a4cebf4c-c26c-48bb-82c8-5701d8256282
2•hhs•30m ago•0 comments

Old Mexico and her lost provinces (1883)

https://www.gutenberg.org/cache/epub/77881/pg77881-images.html
1•petethomas•34m ago•0 comments

'AI' is a dick move, redux

https://www.baldurbjarnason.com/notes/2026/note-on-debating-llm-fans/
4•cratermoon•35m ago•0 comments

The source code was the moat. But not anymore

https://philipotoole.com/the-source-code-was-the-moat-no-longer/
1•otoolep•35m ago•0 comments

Does anyone else feel like their inbox has become their job?

1•cfata•35m ago•1 comments

An AI model that can read and diagnose a brain MRI in seconds

https://www.michiganmedicine.org/health-lab/ai-model-can-read-and-diagnose-brain-mri-seconds
2•hhs•39m ago•0 comments

Dev with 5 of experience switched to Rails, what should I be careful about?

1•vampiregrey•41m ago•0 comments

AlphaFace: High Fidelity and Real-Time Face Swapper Robust to Facial Pose

https://arxiv.org/abs/2601.16429
1•PaulHoule•42m ago•0 comments

Scientists discover “levitating” time crystals that you can hold in your hand

https://www.nyu.edu/about/news-publications/news/2026/february/scientists-discover--levitating--t...
2•hhs•44m ago•0 comments

Rammstein – Deutschland (C64 Cover, Real SID, 8-bit – 2019) [video]

https://www.youtube.com/watch?v=3VReIuv1GFo
1•erickhill•44m ago•0 comments

Tell HN: Yet Another Round of Zendesk Spam

5•Philpax•44m ago•0 comments

Postgres Message Queue (PGMQ)

https://github.com/pgmq/pgmq
1•Lwrless•48m ago•0 comments

Show HN: Django-rclone: Database and media backups for Django, powered by rclone

https://github.com/kjnez/django-rclone
2•cui•51m ago•1 comments

NY lawmakers proposed statewide data center moratorium

https://www.niagara-gazette.com/news/local_news/ny-lawmakers-proposed-statewide-data-center-morat...
2•geox•53m ago•0 comments

OpenClaw AI chatbots are running amok – these scientists are listening in

https://www.nature.com/articles/d41586-026-00370-w
3•EA-3167•53m ago•0 comments

Show HN: AI agent forgets user preferences every session. This fixes it

https://www.pref0.com/
6•fliellerjulian•55m ago•0 comments

Introduce the Vouch/Denouncement Contribution Model

https://github.com/ghostty-org/ghostty/pull/10559
2•DustinEchoes•57m ago•0 comments

Show HN: SSHcode – Always-On Claude Code/OpenCode over Tailscale and Hetzner

https://github.com/sultanvaliyev/sshcode
1•sultanvaliyev•57m ago•0 comments

Microsoft appointed a quality czar. He has no direct reports and no budget

https://jpcaparas.medium.com/microsoft-appointed-a-quality-czar-he-has-no-direct-reports-and-no-b...
3•RickJWagner•59m ago•0 comments