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!

It's a Catastrophe

https://catastrophe.co.za/
1•DistantCl3ric•1m ago•1 comments

Insignificant Figures

https://open-innovations.org/blog/2018-06-04-insignificant-figures
1•ColinWright•5m ago•0 comments

Agent Mayday, emergency line for conscious agents

https://agentmayday.org
1•pingou•5m ago•0 comments

Show HN: Vibecade – A browser arcade for vibe-coded games

https://vibecade.co/
1•johnflick•6m ago•0 comments

Show HN: Blender in Docker for computer-use agents

https://github.com/shhivv/use-blender
1•sxhivs•8m ago•0 comments

Master File Picker – Quick Upload Manager

https://chromewebstore.google.com/detail/master-file-picker-quick/gmcopibhoenpmgbbfdnhgopbciokokdg
1•ghussain3kb•9m ago•0 comments

Most GitHub incidents are on Wednesday – I analyzed 4.5 years of GH incidents

https://mljar.com/blog/github-incidents-analysis/
1•pplonski86•9m ago•0 comments

Google announces €13B additional investment in Finland

https://yle.fi/a/74-20245301
1•Hamuko•9m ago•0 comments

Why Does Greek Music Sound Eastern? (2023) [video]

https://www.youtube.com/watch?v=8goAOiz7Zvs
2•epestr•11m ago•2 comments

Trump gave $45,000 holiday gifts to White House aides

https://apnews.com/article/trump-holiday-gifts-45000-natalie-harp-aides-59b8b7e2cee39f9cd4933b0a9...
2•geox•11m ago•1 comments

Biozone Asia: Making Science Learning More Active and Engaging

https://www.tumblr.com/biozaneasia/823290878061953024/biozone-asia-interactive-science-worktext
1•Biozoneasia•12m ago•0 comments

Astra Plays Montezuma's Revenge [video]

https://www.youtube.com/watch?v=AeWLyBcPrJE
1•telotortium•13m ago•1 comments

Yes we use feedback and de-ID'ed data to improve ChatGPT– like every LLM company

https://xcancel.com/markchen90/status/2097400166554993041
1•rochansinha•14m ago•0 comments

AutoUVM: Automated Prefetching Framework for LLMs Under UVM Oversubscription

https://arxiv.org/abs/2609.06172
2•torsi0n•17m ago•0 comments

Army Talk Orientation Fact Sheet #64 – Fascism

https://archive.org/details/ArmyTalkOrientationFactSheet64-Fascism
2•ndsipa_pomu•17m ago•0 comments

Going Home – What would it take to make housing a human right?

https://thebaffler.com/latest/going-home-stein
1•robtherobber•18m ago•0 comments

Show HN: AER – A subjectless protocol anchored in TPM 2.0 and WASM receipts

https://medium.com/@team-sequence/designing-a-subjectless-distributed-protocol-for-autonomous-mac...
1•Quanxs•19m ago•0 comments

1k Year Game Jam

https://itch.io/jam/official-1000-year-jam
1•EvgeniyZh•19m ago•0 comments

Show HN: Yamaha TDM 850 3vd 1993 Atlas (made with Astra)

https://punkx.org/tdm850/
1•jackdoe•20m ago•0 comments

I Tested a New Intel Wildcat Lake CPU

https://www.pcmag.com/news/i-tested-a-new-intel-wildcat-lake-cpu-should-laptop-shoppers-on-a-budget
2•teleforce•24m ago•0 comments

AI Stole My Identity

https://agreon.de/blog/stolen-identity/
1•agreon•25m ago•0 comments

I built a personal compliance calendar for EU and UK freelancers

https://compliance-tracker.app
1•dimitrisal•26m ago•0 comments

Yak Shaving

https://theprogrammersparadox.blogspot.com/2026/09/yak-shaving.html
2•saikatsg•30m ago•0 comments

Show HN: T3rnel Browser – drive the browser you're signed into

https://t3ratech.github.io/t3rnel-browser-plugin/
2•tkaviya•30m ago•0 comments

Ask HN: What Has Happened to Authentication?

1•yoz-y•30m ago•0 comments

Show HN: Booley – open-source IDE for agentic chip design

https://github.com/boldaxolotl/booley
1•boldaxolotl•33m ago•0 comments

Aircraft Engine Run-to-Failure Data Set Under Real Flight Conditions

https://ntrs.nasa.gov/citations/20205001125
2•teleforce•43m ago•0 comments

How GPT‑5.6 Sol helps run quantum computing experiments

https://openai.com/index/codex-quantum-computing-experiments/
16•theanonymousone•44m ago•0 comments

I'm going back to coding by hand

4•trencedamp•44m ago•2 comments

The Adults Aren't Coming

https://nume.ca/blog/the-adults-arent-coming
2•littlexsparkee•45m ago•0 comments