frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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: Show HN:Edit Mind – local AI search for your video library

https://edit-mind.com
1•iliashad•1m ago•0 comments

Kill your onboarding: selling to 10k new users a day

https://twitter.com/Railway/status/2052522801693958460
1•yakkomajuri•2m ago•0 comments

Shadowrun Boston Unlocked

https://hooby.blog/posts/shadowrun-boston-unlocked/
2•hooby•5m ago•1 comments

Occupations with the Highest Divorce Rates

https://flowingdata.com/2026/05/07/divorce-and-occupation-2026/
1•Willingham•7m ago•0 comments

devrage: Count how many times you swear at coding agents

https://www.npmjs.com/package/devrage
2•yakkomajuri•9m ago•0 comments

Show HN: Cable Detective

https://apps.apple.com/at/app/cable-detective/id6765963737?mt=12
1•franze•11m ago•0 comments

Record Handling (1966) [pdf]

https://archive.computerhistory.org/resources/text/Knuth_Don_X4100/PDF_index/k-9-pdf/k-9-u2293-Re...
1•tosh•15m ago•0 comments

Internet Archive Switzerland

https://internetarchive.ch/
7•hggh•18m ago•1 comments

20 years after the BBC mix-Up, Guy Goma's story becomes a book

https://www.youtube.com/watch?v=VO0kaSHAOSE
1•heldrida•18m ago•0 comments

The Atari 800 – By Paul Lefebvre

https://www.goto10retro.com/p/inside-the-atari-800
2•rbanffy•19m ago•0 comments

No Dumb Questions: What is an MCP server and why do I care?

https://stackoverflow.blog/2026/05/08/no-dumb-questions-mcp/
2•mc-serious•21m ago•0 comments

Mouse Wheel Tweaks

https://mcpedl.com/mouse-wheel-tweaks/
1•davimedeiros•22m ago•0 comments

What if there was no BASIC in EndBASIC? – by Julio Merino

https://blogsystem5.substack.com/p/no-basic-in-endbasic
2•rbanffy•23m ago•0 comments

Evaluating Geekbench 6 – By Chester Lam

https://chipsandcheese.com/p/evaluating-geekbench-6
1•rbanffy•23m ago•0 comments

Breaking Jolt's Verifier with an Unbound Uni-Skip Claim

https://blog.zksecurity.xyz/posts/jolt-uniskip-bug/
1•baby•24m ago•0 comments

Ask HN: What is the underlying stack behind multi-agent platforms?

2•throwaw12•29m ago•0 comments

Show HN: nocal is a calendar that turns your week into a workspace

https://nocal.app/
1•bcmuse•29m ago•0 comments

Simplex Algorithm

https://en.wikipedia.org/wiki/Simplex_algorithm
1•tosh•30m ago•0 comments

Capacity

https://dahl.dev/capacity
1•aleda145•33m ago•0 comments

Another Israeli terrorist attacking a school

https://twitter.com/swilkinsonbc/status/2052752104817603002
6•juliusceasar•38m ago•3 comments

Forking the Web

https://dillo-browser.org/lab/web-fork/
2•wrxd•45m ago•0 comments

The Rebels Who Fought Enterprise Java – Spring: The Documentary [video]

https://www.youtube.com/watch?v=0Gb1z-2SjHY
1•arbayi•50m ago•0 comments

Show HN: Anycrap – REST API for 35k absurdist AI-generated products

https://anycrap.shop/developers
3•astrokaf•51m ago•0 comments

Architecting on Cloudflare

https://architectingoncloudflare.com/
1•Lwrless•55m ago•0 comments

Show HN: Concord – Feature rich TUI for discord

https://github.com/chojs23/concord
3•jpellamo•56m ago•1 comments

The groundbreaking AI tool helping Victorian rangers protect native species

https://www.abc.net.au/news/2026-04-27/ai-helps-parks-victoria-manage-native-species-pests-after-...
1•aeonfox•58m ago•0 comments

UniPool: A Globally Shared Expert Pool for Mixture-of-Experts

https://arxiv.org/abs/2605.06665
1•danborn26•59m ago•0 comments

A History of IDEs at Google

https://laurent.le-brun.eu/blog/a-history-of-ides-at-google
1•laurentlb•1h ago•0 comments

Aids Creeps Back in Parts of Zambia, a Year After U.S. Cuts to HIV Assistance

https://www.nytimes.com/2026/04/25/health/pepfar-hiv-aids-zambia.html
3•susiecambria•1h ago•0 comments

Project Cybersyn: Chile's Radical Experiment in Cybernetic Socialism (2023)

https://thereader.mitpress.mit.edu/project-cybersyn-chiles-radical-experiment-in-cybernetic-socia...
1•pseudolus•1h ago•0 comments