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!

Inspecting the Cortex-A76 L1i Cache with Ramindex

https://reflexive.space/cortex-a76-l1i/
1•fanf2•22s ago•0 comments

Meta fires 8k employees,replaces with agents.Then realised it was a mistake

https://timesofindia.indiatimes.com/technology/tech-news/after-laying-off-8000-employees-meta-ceo...
1•gilfoyle_7•2m ago•0 comments

Kubernetes v1.37: Etcd RangeStream Cuts Memory Use on Large List Reads

https://kubernetes.io/blog/2026/09/01/kubernetes-v1-37-etcd-range-stream/
1•hn3ufz62f7•2m ago•0 comments

HuggingFace: Security.txt

https://huggingface.co/security.txt
1•yarapavan•4m ago•0 comments

Introducing EP-1: A local model that summarises meetings

https://www.epilude.com/news/introducing-ep-1
1•oakst•4m ago•0 comments

EPA to Loosen Methane Rules, Boosting Pollution from Oil and Gas Wells

https://www.propublica.org/article/methane-gas-epa-proposal-stripper-wells
1•hn_acker•5m ago•0 comments

I built a browser and HTTP client together from scratch for pentesting

https://www.reddit.com/r/Pentesting/comments/1wdi180/i_built_a_browser_and_http_client_together_f...
1•syumei•6m ago•0 comments

Show HN: SQLite-Vector – Vector search for SQLite, now Apache 2.0

https://github.com/sqliteai/sqlite-vector
1•marcobambini•6m ago•0 comments

Ask HN: What if we funded math research like we fund AI labs?

1•Murfalo•7m ago•0 comments

Sandbox Boundaries

https://cantelop.com/blog/running-agents-as-untrusted-code
1•arsentjev•8m ago•0 comments

My hybrid app framework is now running on 100k devices

https://newsletter.masilotti.com/p/ruby-native-apps-are-running-on-100000
1•joemasilotti•8m ago•0 comments

Nitter Is Archived Again

1•worldsavior•11m ago•0 comments

Show HN: Tailboot – A bootable that connects to your Tailscale network

https://tailboot.download/
1•shoeb00m•11m ago•0 comments

30 Years of Postgres: A Conversation with Tom Lane [video]

https://www.youtube.com/watch?v=2ajXkLeVXxQ
1•craigkerstiens•12m ago•0 comments

Review a pull request by booting it (nix)

https://fzakaria.com/2026/09/09/review-a-pull-request-by-booting-it
2•mfrw•14m ago•0 comments

Collectiv Beta Built by Sol 5.6 Using Codex

1•spidathadonbook•14m ago•0 comments

Debusine: A CI platform for Debian-based distributions

https://freexian-team.pages.debian.net/debusine/index.html
1•Bluestein•15m ago•0 comments

AWS and Personal Financial Risk

https://paultreanor.com/aws-risk
1•paultreanor•16m ago•0 comments

Who pays the cost when Americans opt out of science?

https://bigthinkmedia.substack.com/p/who-pays-the-cost-when-americans
1•pseudolus•16m ago•0 comments

Making LLMs not eat my food or how I picked up TS

https://kol3x.com/blog/making-llms-not-eat-my-food-or-how-i-picked-up-ts/
1•kol3x•16m ago•0 comments

Elevated errors for Claude Mythos 5.1 and Claude Fable 5.1

https://status.claude.com/incidents/t33dncr5ydvl
2•claudeIsDown•17m ago•1 comments

Who's next for Bending Spoons to acquire?

https://nextspoons.com
2•jlaneve•17m ago•1 comments

Show HN: Agentwire, other people's shipped agent tooling

https://agentwire.thecompound.tech
1•kyisaiah47•19m ago•0 comments

A Peek Inside Meta's Muse VMs

https://rohanadwankar.github.io/posts/sandbox2.html
1•RohanAdwankar•19m ago•1 comments

The Worst Spam Emails: Inside iLands' AI Agent Hustle

https://tedium.co/2026/09/11/ilands-agents-email-spam-kaixin-tang/
1•shortformblog•20m ago•0 comments

Introduction to MACs and PHYs

http://axiomfactory.co/phy
1•dvc94ch•20m ago•1 comments

Very niche software, part 2

https://philbooth.me/blog/very-niche-software-part-2
1•philbo•20m ago•0 comments

Penchants of the polymaths (al-Biruni, Alhazen, Avicenna and al-Khwarizmi)

https://aeon.co/essays/four-islamic-polymaths-prove-breadth-beats-specialisation
1•mdp2021•21m ago•1 comments

I sold my company (2009)

https://longform.asmartbear.com/rich-vs-king-sold-company/
1•tosh•21m ago•0 comments

Hamas planned Berlin-Vienna attacks for Oct. 7 anniversary, GBA indictment shows

https://www.politico.eu/article/hamas-planned-berlin-vienna-attacks-for-oct-7-anniversary-indictm...
3•alephnerd•22m ago•0 comments