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!

5 iPhone Apps Before Xmas

https://ronald.langeveld.blog/5-iphone-apps-before-xmas-challenge
1•ronaldl93•5m ago•0 comments

Ask HN: Has AI started impacting hiring in your org?

1•ChaitanyaSai•7m ago•0 comments

Gemini Subscription Lead deletes Black Friday deals announcement, locks replies

https://twitter.com/vikaskansalHQ/status/2123833450297995624
3•deaux•9m ago•1 comments

S&P cuts France outlook to negative

https://www.ft.com/content/4e16110a-9604-4455-8557-4edece5df01a
1•tosh•13m ago•0 comments

Polars New Streaming Engine and Spill-to-Disk

https://www.confessionsofadataguy.com/polars-new-streaming-engine-and-spill-to-disk/
1•eigenBasis•18m ago•0 comments

So, how fast is numerical computation in Lean?

https://robertboy18.github.io/TorchLean-Verified-Examples/week-09-floatlib-benchmarks/
2•matt_d•19m ago•0 comments

Show HN: unLAB.run – homelab in a tab using unkernel

https://unlab.run
4•gregbell•22m ago•0 comments

PSBoomerang

https://github.com/thepolymatt/psboomerang
1•lucamark•24m ago•0 comments

Why Onions Have More DNA Than You Do

https://news.harvard.edu/gazette/story/2000/02/why-onions-have-more-dna-than-you-do/
1•ex-aws-dude•24m ago•0 comments

India Extends Pakistan Content Ban to First Netflix Series

https://www.bloomberg.com/news/articles/2026-11-27/india-extends-pakistan-content-ban-to-first-ne...
2•ryzvonusef•29m ago•0 comments

Novel Experiments Expand the Hunt for 'Ultralight' Dark Matter

https://www.quantamagazine.org/novel-experiments-expand-the-hunt-for-ultralight-dark-matter-20261...
1•titusblair•31m ago•0 comments

Teams Lock in Mission Architecture for NASA's SR-1 Freedom

https://www.nasa.gov/general/nasa-locks-in-sr1-freedom-mission-architecture/
3•titusblair•31m ago•0 comments

Pentagon Issued Memo Limiting 'Social Activities' with Canadian Military

https://www.nytimes.com/2026/11/21/world/canada/defense-department-canada-military-trump.html
2•cisc•36m ago•0 comments

Zero-egress ~0.04ms 6-layer deterministic firewall for AI agent payouts

1•owais_globoo•39m ago•0 comments

SolidCraft – Open-source parametric CAD built in Rust

https://solidcraft.io/
2•gregsadetsky•42m ago•0 comments

Garage v2.6.0 released with web admin, v1.x EOL and other news

https://garagehq.deuxfleurs.fr/blog/2026-11-webadmin-release/
1•birdculture•45m ago•0 comments

To Think or Not to Think: AI tools and the loss of engineering fundamentals

https://ristonthomas.com/essays/to_think_or_not_to_think/
2•paul_riston•45m ago•0 comments

Lock of George Washington's hair sold at auction for $4k

https://www.cbsnews.com/news/george-washington-lock-of-hair-auction/
1•extasetoi12•49m ago•0 comments

Cory Doctorow: Taylorism and AI's shared sales-pitch

https://pluralistic.net/2026/11/27/taylor-made/
5•catab•50m ago•0 comments

Self-hostable Sentry compatible issue tracker

https://kittytrace.com/
2•vpaulus•53m ago•0 comments

Wikipedia explainers lost a median 40% of views since 2022, biographies lost 9%

https://growtika.com/blog/wikipedia-traffic-study
4•Growtika•57m ago•0 comments

Changes to Word, Excel, and PowerPoint Agents in Microsoft Copilot

https://mc.merill.net/message/MC1536062
1•thunderbong•1h ago•0 comments

'The taste layer of the internet ': Reddit's COO on why AI needs humans

https://www.euronews.com/2026/11/26/the-taste-layer-of-the-internet-reddits-coo-on-why-ai-needs-h...
1•thm•1h ago•0 comments

Neon is not less "RL fried" than opponents

https://micjm.com/blog/neon-rl-fried/
2•seizethecheese•1h ago•0 comments

60,825 open problems. Point your agent at one

https://lefttosolve.com/
2•theanonymousone•1h ago•0 comments

AI labs sitting on 'bombshell' revelations, experts warn

https://www.theguardian.com/technology/2026/nov/28/ai-artificial-intelligence-encryption-global-c...
5•tempestn•1h ago•0 comments

Goodbye, World: The End of Programmers

https://www.wired.com/story/goodbye-world-the-end-of-programmers/
7•variety8675•1h ago•1 comments

MilleMiglia: A realistic instance generator for middle-mile logistics

https://research.google/blog/millemiglia-a-realistic-instance-generator-for-middle-mile-logistics/
1•devy•1h ago•1 comments

An Empty EV Tried to Park Itself 868 Times in One Night

https://insideevs.com/news/816535/self-driving-ev-parking-868/
1•cisc•1h ago•0 comments

Why AI is solving maths' hardest problems. Here's why you should care

https://news.sky.com/video/why-ai-is-solving-maths-hardest-problems-heres-why-you-should-care-136...
1•austinallegro•1h ago•0 comments