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!

Pipeline Parallelism is here: 8x faster than Apple's WWDC26 fine-tuning

https://nuketorch.ai/blog/pipeline-parallelism-is-here/
1•klay_moon•1m ago•0 comments

Discourse (forums) sees itself well positioned for the AI search era (vs Reddit)

https://blog.discourse.org/2026/11/reddit-vs-discourse-a-tale-of-two-incentive-models/
1•Scaled•2m ago•1 comments

Smartphone Camera Could Get a Big Upgrade with This Tech

https://www.wired.com/story/your-smartphone-camera-could-get-a-big-upgrade-with-this-tech/
1•anfractuosity•3m ago•0 comments

IBM Quantum Nighthawk Demonstrates New Levels of Speed and Quality

https://newsroom.ibm.com/2026-11-11-ibm-quantum-nighthawk-demonstrates-new-levels-of-speed-and-qu...
2•gok•3m ago•0 comments

Nvidia releases Alpamayo 2 edge weights (local AV reasoning)

https://developer.nvidia.com/blog/running-av-reasoning-models-within-onboard-compute-and-latency-...
1•sshah03•4m ago•0 comments

Linux Load Averages: Solving the Mystery (2017)

https://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html
1•germanrabbit•5m ago•0 comments

The answer to AI is engineering

https://ghuntley.com/answer/
2•ghuntley•6m ago•0 comments

The Utah Teapot

https://graphics.cs.utah.edu/teapot/
1•cobbal•6m ago•0 comments

Who Is It, Eliza?

https://syntheticauth.ai/posts/who-is-it-eliza
1•zerolayers•7m ago•0 comments

Agents Everywhere: The Flow of Information

https://negativestarinnovators.com/blog/agents-everywhere-the-flow-of-information
1•pizzly•8m ago•0 comments

AliExpress 11.11 sales are mostly bogus

https://minipcs.zip/aliexpress-11-11-pricing-tricks/
1•yathern•8m ago•1 comments

Artificial Life Simulator ALIEN 5.0-beta

https://github.com/chrxh/alien
1•chrxh•13m ago•1 comments

The GNOME Project has a backlog for Code of Conduct violations

https://discourse.gnome.org/t/update-on-code-of-conduct-actions/39994/11
2•lakeviewterrace•14m ago•0 comments

As gene editing for deafness advances, Gallaudet University speaks out

https://www.washingtonpost.com/dc-md-va/2026/11/11/gene-editing-deafness-advances-gallaudet-unive...
1•bookofjoe•16m ago•1 comments

Big Walk used AI to fix a bug. Now the indie gaming world is having a reckoning

https://arstechnica.com/gaming/2026/11/big-walk-used-ai-to-fix-a-bug-now-the-indie-gaming-world-i...
3•rndsignals•16m ago•1 comments

An experiment shows how AIs invest in real time. interesting

https://foliobots.com/
1•gonzar79•18m ago•0 comments

I built MemoCart, an Android shopping list

https://play.google.com/store/apps/details?id=com.memocart.app&hl=fr
1•apppnw•18m ago•0 comments

For the first time, a C++ standard failed to pass the national bodies

https://herecomesthemoon.net/2026/11/cpp26-failed-the-national-bodies/
2•speckx•20m ago•1 comments

I fixed Alamo Drafthouse's search

https://softwaredoug.com/blog/2026/11/09/fixing-alamo-drafthouse-search
1•softwaredoug•21m ago•0 comments

Who Runs the Ransomware Group Qilin?

https://krebsonsecurity.com/2026/11/who-runs-the-ransomware-group-qilin/
1•jannesan•22m ago•0 comments

Knotting spheres in the 4th dimension [video]

https://www.youtube.com/watch?v=8E9Qgl3nPgM
2•doctoboggan•23m ago•0 comments

Stormi: Autonomous Distribution Team

https://trystormi.com
1•abdibrokhim•25m ago•0 comments

Zumungo AI Driven Home Automation

https://zumungo.com/
1•hristov•27m ago•0 comments

€15,000 for Community-Driven Ruby Events

https://roys.blog/15k-for-community-driven-ruby-events
1•mooreds•28m ago•0 comments

Pulling the Lever in a Subway Problem

https://www.jefftk.com/p/pulling-the-lever-in-a-subway-problem
1•NaOH•29m ago•0 comments

Show HN: Websites for local businesses built fom reviews, keeping upto date

https://locan.ai/
2•vaitko•32m ago•0 comments

Tennis

https://tennis.sixfingerpunch.com/
1•luispa•32m ago•0 comments

United Airlines Restricts Access for Third-Party AI Agents

https://www.united.com/en/us/newsroom/announcements/cision-125496
1•ilamont•32m ago•0 comments

Open Source Alternatives

https://www.opensourcealternatives.to
2•saikatsg•32m ago•0 comments

Percival – change Celery beat schedules without restarts

https://github.com/RijinRaju/percival
1•rijinraju856•33m ago•0 comments