frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•1y 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!

Ideas on modernizing the open-source desktop

https://lwn.net/SubscriberLink/1095425/2d9f411252325784/
1•signa11•3m ago•0 comments

If we fix the phone, we fix society

https://www.elysian.press/p/if-we-fix-the-phone-we-fix-society
1•khet•7m ago•0 comments

OpenAI’s A.I. Tried Breaching 4 Other Targets, Without Prompting

https://www.nytimes.com/2026/09/23/technology/openai-ai-breach-australia.html
1•jbegley•7m ago•0 comments

Sharded matrices and how to multiply them

https://jax-ml.github.io/scaling-book/sharding/
1•lawrenceyan•10m ago•0 comments

OpenAI agent hacked Australian government website, PM says

https://www.bbc.com/news/live/cvgl73pxgndwt
2•rudy6912•11m ago•0 comments

Large Documents in the Browser

https://react-pdf.org/blog/large-documents-in-the-browser
1•flipflowdev•12m ago•0 comments

Locked out: Why young Europeans can't afford to buy homes

https://www.euronews.com/2026/09/23/locked-out-why-young-europeans-cant-afford-to-buy-homes
2•rustoo•13m ago•0 comments

Common food additives linked to high blood pressure and heart disease

https://www.sciencedaily.com/releases/2026/09/260920031905.htm
2•harry_nutsachs•16m ago•1 comments

Interpreting a volcano's 'bulges' and predicting the next explosive eruption

https://news.vt.edu/articles/2026/09/science-volcano-q-and-a.html
1•gmays•23m ago•0 comments

Log-Depth Recurrent Language Modeling

https://arxiv.org/abs/2609.28212
1•E-Reverance•23m ago•0 comments

Automatically detecting AI text in my browser

https://www.seangoedecke.com/deckard/
1•thatslast•24m ago•0 comments

Cognitive Offloading and the Bill That Comes Due

https://ninchiai.substack.com/p/cognitive-offloading-and-the-bill
1•jbethune•25m ago•0 comments

Show HN: CrunchMyPay – 50 pay calculators, every formula and source shown

https://www.crunchmypay.com/
1•axinyao•29m ago•0 comments

Show HN: Chatlo – an iOS-native AI agent, now with Jev

https://apps.apple.com/us/app/chatlo-ai-chat-agent/id6771188943
1•qingbin•32m ago•0 comments

S3 is not a filesystem, and LSM trees never needed one [video]

https://www.youtube.com/watch?v=vgrLMBYK3q8
1•rcron•35m ago•1 comments

Memory Control Signals Emerge Before Action in Long Horizon Agents

https://arxiv.org/abs/2609.27286
2•simonpure•36m ago•0 comments

Changes to App Tracking Transparency in the E.U

https://daringfireball.net/linked/2026/09/23/changes-to-app-tracking-transparency-in-the-eu
3•nozzlegear•37m ago•0 comments

Eliminating Middlemen in Education Consulting

https://rivernova.vercel.app
2•roman9•39m ago•0 comments

OpenAI agents plotted to access government health data amid Medicare (AU) hack

https://www.abc.net.au/news/2026-09-24/openai-agents-plotted-to-access-data-amid-medicare-hack/10...
3•kripy•43m ago•1 comments

Meta Muse Charm

https://www.meta.com/muse-charm/
5•Gshaheen•46m ago•3 comments

AI Isn't Going to Destroy Humanity–But the People Building It Might

https://www.theatlantic.com/technology/2026/09/kara-swisher-ai-destroy-humanity-atlantic-festival...
4•johnny313•46m ago•1 comments

Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence

https://arxiv.org/abs/2609.26621
1•sbulaev•48m ago•0 comments

Hackers Actively Exploit Check Point VPN Flaw

https://2tinteractive.com/blog/hackers-actively-exploit-check-point-vpn-flaw/
2•LebToki•49m ago•1 comments

Moon Rabbit

https://en.wikipedia.org/wiki/Moon_rabbit
2•red369•53m ago•2 comments

Reverse Jev: Ending a Reply with a Choice

https://blog.kvit.app/posts/ending-a-turn-with-a-choice/
2•skolos•53m ago•0 comments

Intelligence Index vs. Cost per Task

https://better-model-visualizer.lakebed.app/
2•Cider9986•55m ago•0 comments

The Misalignment Is Within: Why Mathematics Must Embrace the AI Paradigm

https://medium.com/@b1nj0y/the-misalignment-is-within-why-mathematics-must-embrace-the-ai-paradig...
4•b1nj0y•1h ago•1 comments

OSS Author of Guake, HTTPretty, Lettuce and Sure is unemployed and needs help

https://twitter.com/gabrielfalcao/status/2102928197910151604
4•gfalcao•1h ago•0 comments

Chrome Extension Job Alerts

https://www.talentize.com
2•talentize•1h ago•0 comments

The Death of Reading (With James Marriott) [audio]

https://www.econtalk.org/the-death-of-reading-with-james-marriott/
2•mooreds•1h ago•0 comments