frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•11mo ago
Hi HN,

We’re Chonkie (https://github.com/chonkie-inc/chonkie) — we build open source tools that help split documents into meaningful chunks for use with AI models.

When you use LLMs over large documents or codebases, you often need to break them into smaller parts to fit the model’s context window. Our chunkers do this in a smart way: they preserve structure and meaning, so only the most relevant pieces are passed into the model. This reduces hallucinations, avoids confusion, and improves performance and accuracy.

Today we’re launching our Code Chunker — a fast, structure-aware way to break down source code into high-quality, token-aware chunks.

How it works:

(See the code: https://github.com/chonkie-inc/chonkie/blob/main/src/chonkie...)

Code Chunker uses tree-sitter (https://tree-sitter.github.io/tree-sitter/) to parse your code into an abstract syntax tree (AST). It then recursively merges and groups nodes in a way that respects both code structure and token limits.

It supports all languages that tree-sitter supports, and is designed to preserve formatting and semantics. Large functions or class definitions won’t be split in the middle of a block — instead, we dive recursively into the AST to produce clean, coherent chunks that fit your configured token budget.

What it’s useful for:

  - Embedding-based code search

  - RAG (retrieval-augmented generation) over codebases

  - Long-context analysis of code

  - Preparing repos for fine-tuning or pretraining
Try it out:

  - Open source package: https://docs.chonkie.ai/chunkers/code-chunker

  - Hosted playground (free with account): https://cloud.chonkie.ai
Happy Chonking!

Is AI agent discoverability a reputation graph problem, not an SEO problem?

https://www.snackonai.com/p/the-web-of-trust-will-be-the-next-distribution-layer
1•mohinish•2m ago•0 comments

Private equity turned vulnerable elderly people into human ATMs

https://www.theguardian.com/society/2026/mar/28/the-great-care-home-cash-grab-how-private-equity-...
1•mordechai9000•3m ago•0 comments

OpenClaw is fun. OpenClaw is dangerous. Here's where Tailscale helps

https://tailscale.com/blog/openclaw-tailscale-aperture-serve
1•makaimc•3m ago•0 comments

U.S. uses hundreds of Tomahawk missiles on Iran, alarming some at Pentagon

https://www.washingtonpost.com/national-security/2026/03/27/iran-war-tomahawk-missiles/
1•breve•5m ago•0 comments

Left Atrial Appendage Closure or Anticoagulation for Atrial Fibrillation

https://www.nejm.org/doi/full/10.1056/NEJMoa2517213
1•bookofjoe•5m ago•0 comments

Verify_before – pre-deployment verifiability analysis for neuro-symbolic AI

https://elliotfairbanksjunior.substack.com/p/i-predicted-a-number
1•MaybeGoodRoyal•12m ago•0 comments

Building an E2E Encrypted Chat Application with LanceDB and Libsodium

https://www.justinrmiller.com/building-an-e2e-encrypted-chat-application-with-lancedb-and-libsodium/
2•securicat•13m ago•0 comments

Drones Market Research Report 2026-2036

https://finance.yahoo.com/news/drones-market-research-report-2026-144300424.html
1•mooreds•18m ago•0 comments

Show HN: Glazyr Viz – Zero-Copy MCP Vision Server via POSIX Shared Memory

https://github.com/senti-001/glazyr-viz
1•mcpmessenger•19m ago•0 comments

Effective Debugging

https://simplerengineeringmanagement.substack.com/p/effective-debugging
1•mooreds•20m ago•0 comments

Through the Roof (2021)

https://humbledollar.com/2021/05/through-the-roof/
1•mooreds•21m ago•0 comments

Who should you subject to your vibe-coding?

https://tomjohnell.com/who-should-you-subject-to-your-vibe-coding/
1•dnw•21m ago•0 comments

Entroly Context engine- AI coding tools 100% codebase visibility

https://github.com/juyterman1000/entroly
1•abby10090•25m ago•2 comments

We built an open-source ENS resolution API for Web3 apps

https://www.resolvio.xyz/
1•kris-kocic•27m ago•0 comments

Ötzi the Iceman's DNA Reveals a Living Relative 5k Years Later

https://blog.familytreedna.com/otzi-the-iceman-dna/
1•ilamont•28m ago•0 comments

Roller Coaster Tycoon's Overengineered Puking System [video]

https://www.youtube.com/watch?v=tG66j1sP8gs
1•kindachris•30m ago•0 comments

When All You Can Do Is All or Nothing, Do Nothing

https://csswizardry.com/2026/03/when-all-you-can-do-is-all-or-nothing-do-nothing/
2•pinjasaur•30m ago•0 comments

Claude-Mem

https://github.com/thedotmack/claude-mem
2•perelin•31m ago•1 comments

Show HN: I built a log management system which helps me take action

https://logu.ro/
1•zerka•32m ago•0 comments

Safari MCP: 80-tool native browser automation for AI agents (macOS)

https://github.com/achiya-automation/safari-mcp
1•Achiyacohen•37m ago•0 comments

AI creating more jobs than cutting them, study says

https://www.hcamag.com/us/specialization/hr-technology/ai-creating-more-jobs-than-cutting-them-st...
2•matthest•38m ago•0 comments

A woman's uterus has been kept alive outside the body for the first time

https://www.technologyreview.com/2026/03/28/1134766/womans-uterus-kept-alive-outside-the-body-first/
2•treetalker•38m ago•0 comments

One Man Brought RPGMaker 2000 to the West (2024)

https://www.otherstrangeness.com/2024/07/09/rpgmaker-2000/
1•rustyhancock•40m ago•0 comments

Show HN: Share2ChatGPT Widgets / Buttons

https://share2chatgpt.franzai.com/
2•franze•41m ago•1 comments

Bring Back MiniDV with This Raspberry Pi FireWire Hat

https://www.jeffgeerling.com/blog/2026/minidv-with-raspberry-pi-firewire-hat/
1•ingve•42m ago•0 comments

Someone is flagging political posts

8•xvxvx•42m ago•11 comments

CardRoundup – Free tracker for credit card credits that expire

https://www.cardroundup.com/
1•kimboxbt•43m ago•1 comments

Twelve metric tons of KitKat chocolate bars stolen

https://www.lemonde.fr/en/economy/article/2026/03/28/nestle-says-12-tonnes-of-kitkat-chocolate-st...
1•sgbeal•44m ago•1 comments

Ariane 6 user's manual [pdf]

https://www.ariane.group/app/uploads/sites/4/2024/10/Mua-6_Issue-2_Revision-0_March-2021.pdf
3•matthieu_bl•45m ago•0 comments

Satire: If people shopped for groceries they way they shop for B2B freelancing

https://b2bs.substack.com/p/the-b2b-supermarket
2•oopsiremembered•47m ago•0 comments