frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsiphon – Streaming JSON parser with delta tracking and ambiguity trees

https://github.com/webtoon-today/jsiphon
1•sugeul•1h ago
Hi HN, I built Jsiphon to solve a common frustration with LLM streaming: you ask for structured JSON output, but can't use any of it until the entire stream finishes.

If you've used JSON mode (OpenAI, Anthropic, etc.), you've hit this — you want {"answer": "...", "sources": [...]}, but JSON.parse() fails on every incomplete chunk.

LLM responses are inherently append-only (tokens arrive left to right, never go back), so Jsiphon leans into that with three ideas:

1) Append-only parsing — Feed in {"msg": "Hel and get {msg: "Hel"} immediately. Values are only extended, never removed or mutated.

2) Delta tracking — Each snapshot contains only what's new. For a chat bubble, just append delta.content to the DOM — when the LLM produces next chunk "lo, World!", we immediately get {msg: "lo, World!"}. No need to repeat partial JSON parsing or full tree rerendering.

3) Ambiguity tree — A tree that mirrors the shape of your data and tracks which subtrees are finalized at every depth. For example, if you're streaming {"header": {"title": "...", "date": "..."}, "body": "..."}, you can check isAmbiguous(ambiguous.header.title) to use the title the moment it's done, even while header.date and body are still streaming. This isn't a flat "is the whole thing done?" flag — it's per-node stability tracking that propagates up, so isAmbiguous(ambiguous.header) turns false only when all of header's children are finalized.

Existing partial JSON parsers like partial-json and gjp-4-gpt do a great job at the core parsing problem — turning broken JSON into usable objects. Jsiphon builds on that foundation and takes it one step further: instead of just parsing, it gives you a streaming data pipeline where append-only snapshots, per-field deltas, and multi-depth ambiguity tracking all come out of a single async iteration. If you've been using partial-json and wished you knew which fields were done vs still streaming without polling the whole object, that's exactly the gap this fills.

Zero dependencies, never throws on invalid input, handles junk text before/after the JSON root (which LLMs sometimes produce).

GitHub: https://github.com/webtoon-today/jsiphon npm install jsiphon

Would love feedback on the API design — especially the ambiguity tree. Tracking per-node stability across arbitrary nesting depth was the trickiest part. Curious if anyone sees a cleaner approach.

Disclosure: I'm a native Korean speaker. I used Claude to help structure and translate this post into English. The ideas and code are mine.

Varnish HTTP Cache: The last usable commit on GitHub

https://github.com/varnishcache/varnish-cache/releases/tag/last
1•vickodin•52s ago•0 comments

Altman can recruit lucifer himself if he had a 1on1 meeting with him

2•shoman3003•8m ago•0 comments

The desperate race to escape AI's 'permanent underclass'

https://www.telegraph.co.uk/business/2026/02/15/the-desperate-race-to-escape-ais-permanent-underc...
1•SilverElfin•16m ago•1 comments

Show HN: codex-web-local – web UI for local Codex App Server

https://www.npmjs.com/package/codex-web-local
1•kolpaque•16m ago•0 comments

Show HN: Wisepanel – Multi-model AI panel for decision support

https://wisepanel.ai
1•quroi•19m ago•0 comments

Show HN: SafeClaw – a way to manage multiple Claude Code instances in containers

https://github.com/ykdojo/safeclaw
1•ykdojo•21m ago•0 comments

Show HN: Million Dollar Deeds – Own permanent digital land

https://milliondollardeeds.com
1•coldsundaynight•21m ago•0 comments

Show HN: 165k lines, 9 days, one dev I built what ICE sells to hedge funds

https://web-production-71423.up.railway.app/
2•Shmungus•29m ago•0 comments

Ask HN: Are teams syncing databases continuously?

1•sonichigo•30m ago•0 comments

Bible Companion – Bible Study and Devotional Platform

https://www.biblecompanion.top
1•Claraxia•30m ago•1 comments

Show HN: Jemini – Gemini for the Epstein Files

https://jmail.world/jemini
2•dvrp•34m ago•0 comments

Mini-Retirement: Or, How I Learned to Stop Grinding and Took Two Years Off

https://neuralpensieve.github.io/2026/02/15/mini-retirement.html
2•donutshop•36m ago•0 comments

Made a tool that turns datasheet PDFs into interactive register

https://regforge.dev/
1•coleman2247•41m ago•1 comments

South Korean researchers are testing reprogramming cells to fight cancer

https://twitter.com/argosaki/status/2022689326845563123
1•leiaru13•42m ago•0 comments

Words Without Consequence

https://www.theatlantic.com/technology/2026/02/words-without-consequence/685974/
2•dougb5•43m ago•0 comments

Building SQLite with a small swarm

https://kiankyars.github.io/machine_learning/2026/02/12/sqlite.html
2•kyars•48m ago•0 comments

Show HN: I track GPU rental prices – same H100 ranges from $0.80 to $3.19/HR

https://gpuperhour.com
1•hwspeed•50m ago•1 comments

Just Give Us the Prompt – Kevin.md

https://www.kevin.md/just-give-us-the-prompt.md/
3•thekevintang•50m ago•0 comments

An AI interviewed another AI. The most revealing moment was one word

https://residualstream.app/blog/two-mirrors/
1•Abeeprodev•51m ago•1 comments

The Apolitical Library Is Just Fiction

https://www.nationalreview.com/2026/02/the-apolitical-library-is-just-fiction/
1•petethomas•51m ago•0 comments

Obama responds to Trump sharing racist AI video depicting him as an ape

https://www.npr.org/2026/02/15/nx-s1-5715117/obama-racist-ai-video-response-trump
2•kiriberty•53m ago•0 comments

Windows PC might stop booting in June 2026 – here's why and how to fix it

https://www.makeuseof.com/windows-pc-might-stop-booting-june-2026-why-and-how-to-fix-it/
1•kiriberty•56m ago•0 comments

What Is Secure Boot and How Does It Work?

https://www.makeuseof.com/what-is-secure-boot-how-does-it-work/
1•kiriberty•56m ago•1 comments

Defer Available in GCC and Clang

https://gustedt.wordpress.com/2026/02/15/defer-available-in-gcc-and-clang/
2•r4um•59m ago•0 comments

DNA Mutations Discovered in the Children of Chernobyl Workers

https://www.sciencealert.com/dna-mutations-discovered-in-the-children-of-chernobyl-workers
2•aard•1h ago•0 comments

Show HN: Mindweave – AI-powered personal knowledge hub with semantic search

https://www.mindweave.space/
1•adas10•1h ago•0 comments

Three Olympic Athletes Were Just Disqualified for a Novel Reason: PFAS

https://www.nytimes.com/2026/02/15/climate/olympics-ski-snowboard-wax-pfas-forever-chemicals.html
1•igonvalue•1h ago•1 comments

Too Much Hype?

1•exordex•1h ago•0 comments

OpenReview MCP server with Cursor integration

https://github.com/anyakors/openreview-mcp-server
1•anyakors•1h ago•0 comments

In the Age of AI, Don't Let Your Skills Atrophy

https://www.cyberdemon.org/2023/03/29/age-of-ai-skill-atrophy.html
2•dmazin•1h ago•0 comments