frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•11mo 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!

A single-file C allocator with explicit heaps and tuning knobs

https://github.com/xtellect/spaces
1•enduku•58s ago•1 comments

Fedora Project Leader Suggests Linux Could Adopt Apple's Age Verification API

https://itsfoss.com/news/fedora-leader-suggests-age-verification-api/
1•speckx•1m ago•0 comments

Skeleton of Three Musketeers hero d'Artagnan may have been found

https://www.theguardian.com/world/2026/mar/25/skeleton-three-musketeers-dartagnan-alexandre-dumas
1•Archelaos•1m ago•0 comments

Swarm simulation 140 Agents, Mirofish inspired

https://murlyn.ai
1•dutybird•2m ago•0 comments

Bond between dogs and humans dates back more than 15,000 years, study finds

https://www.theguardian.com/science/2026/mar/25/bond-dogs-humans-dates-back-15000-years-study-finds
1•Archelaos•2m ago•0 comments

Meta cutting several hundred jobs across Reality Labs, Facebook and others

https://www.cnbc.com/2026/03/25/meta-layoffs-reality-labs-facebook.html
1•garbawarb•3m ago•0 comments

We Built a Database for Agents

https://funnelstory.ai/blog/engineering/we-built-a-database-for-agents
1•preetamjinka•3m ago•0 comments

We Rebuilt Zeta from the Training Data Up

https://zed.dev/blog/zeta2
1•meetpateltech•5m ago•0 comments

Sanders and AOC unveil data center moratorium bill

https://www.axios.com/2026/03/25/sanders-aoc-data-center-moratorium-bill
1•blinding-streak•5m ago•0 comments

AI Might Be Our Best Shot at Taking Back the Open Web

https://www.techdirt.com/2026/03/25/ai-might-be-our-best-shot-at-taking-back-the-open-web/
1•speckx•5m ago•0 comments

What Will It Take to Build the Largest Data Center?

https://spectrum.ieee.org/5gw-data-center
1•Brajeshwar•5m ago•0 comments

Meta and Google found liable in social media addiction trial

https://www.bbc.co.uk/news/articles/c747x7gz249o
1•ColinWright•7m ago•1 comments

Musk lawyers try to bar judge over LinkedIn 'like' cheering legal defeat

https://www.ft.com/content/c53cfaa8-8db1-49b1-b877-3ac7b2095966
1•1vuio0pswjnm7•9m ago•0 comments

Show HN: Sift – local, de-noised GitHub notifications

https://github.com/vignesh07/sift
1•eigen-vector•11m ago•0 comments

Show HN: PromptPrivacy – Open-source tool to track how AI models use your data

https://prompt-privacy.vercel.app/
1•Sonofg0tham•11m ago•0 comments

Metasystemic

https://metasystemic.xyz/stuff.html
1•gdss•11m ago•0 comments

Show HN: TexoCAD – Describe a part in words, get actual editable CAD

1•torayeff•11m ago•1 comments

RAG to riches: synthetic data for training RAG agents

https://cgft.io/blog/rag-to-riches/
1•kumama•12m ago•0 comments

Data Is Now the Front Line of Warfare

https://www.csis.org/analysis/data-now-front-line-warfare
1•kdavis•13m ago•1 comments

Newsom calls Musk "one of the great disappointments" of this era

https://www.axios.com/2026/03/25/gavin-newsom-elon-musk-tesla-china
2•1vuio0pswjnm7•13m ago•0 comments

Show HN: Vellyr – small JavaScript non-lazy signals library

https://github.com/Bloomca/vellyr
1•bloomca•14m ago•0 comments

Meta hit with $375M verdict in New Mexico child safety case

https://www.politico.com/news/2026/03/24/meta-hit-with-375m-verdict-in-new-mexico-child-safety-ca...
1•1vuio0pswjnm7•14m ago•1 comments

The Bee That Everyone Wants to Save

https://naturalist.bearblog.dev/the-bee-that-everyone-wants-to-save/
2•nivethan•15m ago•0 comments

Average gas price poised to hit $4 a gallon

https://www.consumeraffairs.com/news/average-gas-price-poised-to-hit-4-a-gallon-032426.html
1•geox•16m ago•0 comments

Porting Go's io package to C

https://antonz.org/porting-go-io/
1•ashvardanian•17m ago•0 comments

A Cat Left Paw Prints on the Pages of This Medieval Manuscript

https://www.smithsonianmag.com/smart-news/a-cat-left-paw-prints-on-the-pages-of-this-medieval-man...
1•jruohonen•17m ago•0 comments

Meta and YouTube Lose Landmark Social Media Trial

https://www.wsj.com/tech/meta-and-youtube-lose-landmark-social-media-trial-33e4c5cb
1•jaredwiener•18m ago•1 comments

Google Voice suddenly requires an ID to text

https://old.reddit.com/r/Googlevoice/comments/1s3ha6h/suddenly_asks_for_my_id_to_send_a_text/
1•cft•19m ago•0 comments

ARC-AGI-3 Leaderboard

https://arcprize.org/leaderboard
1•yusufozkan•19m ago•0 comments

The AI Depression

http://charleshughsmith.blogspot.com/2026/03/the-ai-depression.html
1•speckx•20m ago•0 comments