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!

Voters Set $400M of Elon Musk's Money on Fire

https://www.wired.com/story/voters-set-dollar400-million-of-elon-musks-money-on-fire/
1•TazeTSchnitzel•27s ago•0 comments

AI Data Centers Turn to Decommissioned Jet Engines as Grid Queues Stretch Years

https://epyhia.com/ai-data-centers-turn-to-decommissioned-jet-engines-as-grid-queues
1•arbuge•1m ago•0 comments

How DAM and JOYSOUND Came to Dominate Karaoke in Japan

https://www.tokyodev.com/articles/how-dam-and-joysound-came-to-dominate-karaoke-in-japan
1•zdw•1m ago•0 comments

How Zoox's Robotaxi Safety Testing Will Work

https://insideevs.com/news/804737/zoox-robotaxi-safety-testing-framwork/
1•sshah03•3m ago•0 comments

Making CUDA Checkpointing 15x Faster on a B300: A Worklog

https://maknee.github.io/blog/2026/Cuda-Checkpointing/
1•maknee•3m ago•0 comments

What AI Model Effort to Use for Coding

https://codingplans.dev/recipes/optimal-effort/
1•nedsma•3m ago•0 comments

Show HN: Renor – one memory for all your AI agents

https://github.com/renorai/renor-engine
1•patrickpassosbb•3m ago•0 comments

Declarative Dragging

https://declarative-dragging.github.io/
1•smusamashah•4m ago•0 comments

Pangram Image 1.0

https://www.pangram.com/blog/introducing-pangram-image-1-0
3•pretext•6m ago•0 comments

Speeding Up eBPF File Opens by 54% (Not AI Gen)

https://nathannaveen.dev/posts/speeding-up-ebpf-file-opens/
4•nathannaveen•6m ago•0 comments

Absolute Zero (2014)

https://www.damninteresting.com/absolute-zero-is-0k/
1•zenincognito•7m ago•0 comments

An end to buggy web apps

https://replay.io/blog/an-end-to-buggy-web-apps
4•bhackett•8m ago•0 comments

Lo-Pi Radio

https://pudding.cool/projects/lopi/
2•usrme•8m ago•0 comments

Insights Association Urges Commerce to Withdraw Proposed 2030 Census Rule

https://www.insightsassociation.org/News-Updates/Articles/ArticleID/2715/Insights-Association-Urg...
1•bthallplz•9m ago•1 comments

Oral History of Experimental Composer Warren Burt

https://www.youtube.com/watch?v=zAcdWFT3tQc
1•brudgers•9m ago•0 comments

Show HN: Life Coach Bot for Neurodivergents

https://www.neuroplusgbrain.net/
1•FDX2018•9m ago•1 comments

Verda Inference, in Preview with Kimi K3.1 Pro

https://verda.com/blog/verda-inference-in-preview
1•cmrdporcupine•10m ago•0 comments

Parcel 3: 100x faster than v2

https://v3.parceljs.org/blog/v3-alpha/
2•bpierre•10m ago•0 comments

'Lawyer Up': Democrats Gear Up for Onslaught of Trump Investigations

https://www.forbes.com/sites/saradorn/2026/11/04/lawyer-up-democrats-gear-up-for-onslaught-of-tru...
3•spzx•11m ago•0 comments

Show HN: You all are sleeping on this, DSH just shipped this

https://github.com/Atri10/executor
1•LambdaLogic•11m ago•0 comments

Leaving DigitalOcean Took One Day

https://kore-nordmann.de/blog/leaving-digitalocean-took-one-day.html
2•speckx•14m ago•0 comments

Show HN: PodBookCase – Discover books mentioned on popular podcast episodes

https://podbookcase.com/
1•raistlin_majere•17m ago•0 comments

Kadb: Kotlin library to connect Android devices directly without ADB binary file

https://github.com/flyfishxu/Kadb
2•sea-gold•17m ago•0 comments

9965 GNU – An asteroid named for the free-software GNU Project

https://en.wikipedia.org/wiki/9965_GNU
1•ColinWright•17m ago•0 comments

Annie Ernaux still feels like an outsider

https://www.vulture.com/article/annie-ernaux-interview-french-protests-nobel-prize.html
2•Caiero•18m ago•0 comments

Show HN: First Silicon, real chip bugs that AI models miss

https://umwelt.vision/first-silicon/
1•Arno_Bighub•19m ago•0 comments

Why does shuffling the schedule find so many bugs?

https://fzakaria.com/2026/11/03/why-does-shuffling-the-schedule-find-so-many-bugs
2•speckx•20m ago•0 comments

We Need More Than the Ballot to Defeat Authoritarianism

https://transform-network.net/blog/analysis/we-need-more-than-the-ballot-to-defeat-authoritarianism/
3•robtherobber•21m ago•0 comments

We are seeking feedback for our school project

1•dandinh•22m ago•0 comments

Cognitive Sovereignty and the Computable Enterprise

https://www.foldingspace.ai/p/cognitive-sovereignty-and-the-computable
2•hdevarajan•23m ago•1 comments