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!

Show HN: Themes for Claude Code

https://tessera.shiptiffin.app/
1•bilater•1m ago•0 comments

Single Point of Everything; 4 Important Questions

https://www.cerias.purdue.edu/site/blog/post/s-p-e
1•speckx•2m ago•0 comments

Show HN: Big-gulp-read – Pi extension for reading much larger chunks

https://pi.dev/packages/big-gulp-reads
1•taylorsatula•2m ago•0 comments

Why some people can fix anything

https://www.youtube.com/watch?v=3Tw_lpCGX7s
1•jeffrallen•4m ago•0 comments

UK grinds to a halt in Microsoft blackout

https://uk.news.yahoo.com/britain-grinds-halt-microsoft-blackout-190127140.html
1•nephihaha•6m ago•0 comments

Legacy tech issue led to FAA's nationwide ground stop

https://www.nextgov.com/modernization/2026/11/legacy-tech-issue-led-faas-nationwide-ground-stop/4...
1•tartoran•13m ago•0 comments

Kevin Bass: The coverage of the Huang affair, who acted, and documented ties

https://github.com/kevinnbass/huang-fifteen-days-mapped
2•extraextra•15m ago•2 comments

Turbo Vision-style UI for Claude Code

https://github.com/runvnc/tvclaude
1•ilaksh•16m ago•1 comments

With Little Ado, Congress Put God in Pledge in 1954

https://www.nytimes.com/2002/06/28/us/with-little-ado-congress-put-god-in-pledge-in-1954.html
4•Eridanus2•18m ago•0 comments

Show HN: Quote Reel – surface your Kindle Highlights in a reels-like feed

https://quotereel.app/
1•sergioschuler•20m ago•0 comments

Don't let type checkers push you to convert loud runtime errors to silent bugs

https://charemza.name/blog/posts/software/type-safety/type-safety-is-a-double-edged-sword/
1•michalc•21m ago•0 comments

EuclidRust – Rust FITS reader for Euclid, 10x faster than astropy

https://github.com/MaxIKweeger/EuclidRust
1•MaxKweeger•23m ago•0 comments

Flawless UI-UX Skill 2.1.0

https://github.com/smokeeaasd/flawless-ui-ux/releases/tag/v2.1.0
2•smokeeaasd•25m ago•0 comments

43k+ new periodic solutions to the three body problem found by volunteers

https://www.threebodyorbits.com/hunt
2•threebodyorbits•28m ago•1 comments

RepoTrust – Determine if a repo is trustworthy enough to use

https://repotrust.synapticcyber.com/
1•harryhoffman•28m ago•0 comments

Fossil CO2 emissions decrease in 2026

https://globalcarbonbudget.org/fossil-co2-emissions-decrease-in-2026/
1•geox•28m ago•0 comments

Survival Genes Show No Sign of Special Protection from Mutation

https://studyfinds.com/survival-genes-no-protection-mutation/
1•bryanrasmussen•29m ago•0 comments

Behind Jensen Huang's spy scandal, a shadow war for Trump's ear on China

https://www.washingtonpost.com/technology/2026/11/13/behind-jensen-huangs-spy-scandal-shadow-war-...
2•elffjs•33m ago•0 comments

Ask HN: Do I own the code I write with the help of AI?

2•stagas•35m ago•2 comments

The Case for Pardoning Jensen Huang

https://cloudandmore.substack.com/p/the-case-for-pardoning-jensen-huang
1•m4r1k•38m ago•2 comments

Show HN: CodeRelay – Let your coding agent delegate work to a teammate's agen

https://github.com/AymanAhsan/CodeRelay
1•AymanAhsan•38m ago•0 comments

Harald Welte receives EU SFS Award for work on Linux, GPL enforcement and more

https://fsfe.org/news/2026/news-20261113-01.html
2•kirschner•40m ago•0 comments

50X: DeepSeek v4.1 Flash from Chile, $0.03M input

https://50x.energy/
2•diegosiguelnitz•40m ago•0 comments

Jensen Huang's departure blasts big hole in AI startup funding

https://techcrunch.com/2026/11/13/jensen-huangs-departure-blasts-big-hole-in-ai-startup-funding-v...
5•nlpnerd•42m ago•0 comments

Show HN: A browser RTS where you play alongside your local agents

https://agentcommand.gg/
1•fraywing•43m ago•0 comments

Ask HN: How do you decide when to stick with a project

3•mjs06•43m ago•6 comments

Benchmarking Qwen3-Coder-Next, DeepSeek-R1, and Qwen3.5 with Dynamic RSI

https://github.com/bibble/dynamic-rsi-harness/blob/main/BENCHMARK_REPORT.md
1•jxie2004•45m ago•0 comments

Two-Party System

https://en.wikipedia.org/wiki/Two-party_system
1•chistev•45m ago•1 comments

Show HN: Business Cubes

https://businesscubes.org
2•mojoe•46m ago•2 comments

Public Interest Capacity: The Case of Direct File [pdf]

https://onlinelibrary.wiley.com/doi/10.1111/puar.70224
1•thunderbong•47m ago•0 comments