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!

Before NTP there were Time and Daytime

https://www.jeffgeerling.com/blog/2026/rfc-867-868-time/
1•ingve•4m ago•0 comments

The Shapes of Agent Memory – Files, Stores, and Experience

https://pinglin.tw/blog/the-shapes-of-agent-memory/
1•gmays•6m ago•0 comments

Special Is Optional

https://nik.art/special-is-optional/
2•herbertl•9m ago•0 comments

Creative Clarity

https://herbertlui.net/creative-clarity/
3•herbertl•10m ago•0 comments

Clips Kitty Open-source local AI video clipping and editing

https://github.com/ColinGPT9/clips-studio
1•ColinGPT•13m ago•1 comments

Understanding ChatGPT Work

https://simonwillison.net/2026/Aug/30/understanding-chatgpt-work/
2•gmays•16m ago•0 comments

Reimagine-it – redesign existing HTML from its own content (CLI)

https://github.com/Kayforkind/reimagine-it
1•kazimrmerchant1•21m ago•0 comments

PocketJS: UI runtime for every kind of computer

https://pocketjs.dev/
4•tomcam•36m ago•1 comments

Transitous – Community-run public transport routing service

https://transitous.org
2•rickcarlino•37m ago•0 comments

Learn about Meshtastic and Austin Mesh

https://www.austinmesh.org/about/
1•simonpure•41m ago•0 comments

Cursor launches Origin code hosting platform as GitHub outage exposes opening

https://venturebeat.com/infrastructure/cursor-launches-origin-code-hosting-platform-as-github-out...
2•gmays•43m ago•0 comments

Minutes to 33 Seconds

https://luca.lowndes.net/blog/bun-tests-10-minutes-to-33-seconds
2•lucalow•47m ago•0 comments

Sitegeist – The ultimate design extraction toolkit

https://chromewebstore.google.com/detail/sitegeist/npgjkgkkjcbbafihmojgodekkfgnjgdc
2•BillyMangino•47m ago•0 comments

Gram Editor Release 3.3.0

https://gram-editor.com/posts/release-3.3.0/
2•signa11•57m ago•0 comments

Google Maps Changes Lake Ontario to 'Lake America' on US Phones

https://thehill.com/policy/transportation/6059553-google-maps-renames-lake-america/
6•LopRabbit•57m ago•0 comments

Armageddon by Anthropomorphism: On Security and the Frontier

https://hardcoresoftware.learningbyshipping.com/p/242-armageddon-by-anthropomorphism
2•jeffreyrogers•58m ago•0 comments

Is Japan backpedaling on its work-style reforms?

https://www.japantimes.co.jp/news/2026/08/30/japan/society/japan-work-life-overtime/
2•mikhael•59m ago•0 comments

Pgwire explorer: the Postgres wire protocol, byte by byte

https://pgwire-explorer.dhuk.net/
1•thunderbong•1h ago•0 comments

Show HN: Magic Layers – Turn Any Image into Layers

https://magiclayers.net
1•QingWu•1h ago•0 comments

The quality you should most wish for your children

https://www.economist.com/business/2026/08/27/the-quality-you-should-most-wish-for-your-children
3•Anon84•1h ago•1 comments

Yen weakens past ¥160 per dollar, eroding intervention gains

https://www.japantimes.co.jp/business/2026/08/29/markets/yen-160-dollar-intervention/
33•rguiscard•1h ago•28 comments

AI Accelerator Designed, Verified, and Deployed from Scratch in 2 Weeks by AI

https://arxiv.org/abs/2608.26418
1•Jimmc414•1h ago•0 comments

Benchmarking Confidential Computing Performance on Nvidia Blackwell GPUs

https://arxiv.org/abs/2608.26575
1•Jimmc414•1h ago•0 comments

Free tools for the Microsoft Project Online retirement, 30 days out

https://onplana.com/tools
1•Onplana•1h ago•0 comments

Static Evaluation of Model Switching in LLM Agents Scores the Wrong World

https://arxiv.org/abs/2608.08239
3•danbitengo•1h ago•0 comments

Show HN: Python Static Site Generator for Small Businesses

https://codeberg.org/Marking-Time/MicroStore
1•marking-time•1h ago•0 comments

Ace Targets Streaming Pirates Through Cloudflare and Discord Subpoenas

https://torrentfreak.com/ace-targets-dozens-of-streaming-pirates-through-cloudflare-and-discord-s...
2•gslin•1h ago•1 comments

Europe's warm nights nearly doubled this summer

https://emot.substack.com/p/europes-warm-nights-nearly-doubled
3•emot•1h ago•0 comments

Anyone Got a Fenty.dev Invite?

1•penguinsnetwork•1h ago•0 comments

The Distractor

http://booktwo.org/notebook/the-distractor/
3•zetamax•1h ago•0 comments