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!

Cloudflare cyber security protection for at-risk sites

https://www.cloudflare.com/galileo/
1•mooreds•2m ago•0 comments

Scattered thoughts on how doing math feels these days

https://www.lesswrong.com/posts/HuQAuWjc2Z5tqCjyw/scattered-thoughts-on-how-doing-math-feels-thes...
1•BenPace•5m ago•0 comments

Appfiles – saveable, shareable, interactive HTML

https://npilk.github.io/appfile/
1•npilk•5m ago•0 comments

Show HN: AgentWitch – lessons that survive the next coding-agent session

https://www.agentwitch.com
1•phongthien•6m ago•0 comments

The math behind one labor hour in a lawn care business

https://getwellpriced.com/guides/profitability-plan-labor-hour/
1•renehaaseOrd•7m ago•0 comments

The Last 20%

https://vpetersson.com/2026/08/21/the-last-20-percent/
2•mooreds•10m ago•0 comments

The Internet Pinball Machine Database

https://www.ipdb.org/
1•gregsadetsky•12m ago•0 comments

Building an Unpopular World

https://www.writingruxandrabio.com/p/building-an-unpopular-world
1•jger15•19m ago•0 comments

LLM.asm: Ring -1 Kernel Surgeon

https://github.com/alesha-pro/llm.asm/tree/main/04-ring1-kernel-surgeon
1•porridgeraisin•22m ago•1 comments

How do you know your AI agent is quietly wrong in production?

https://github.com/openlit/openlit
1•amanag041•22m ago•0 comments

Find Your Protien Bar

https://worth-the-bar.vercel.app/
1•Exorust•23m ago•0 comments

Lizzie Magie

https://en.wikipedia.org/wiki/Lizzie_Magie
1•js2•24m ago•0 comments

The Shaving of Yaks is a difficult matter

https://www.gilesthomas.com/2026/11/yak-shaving
2•gpjt•27m ago•0 comments

Position: The Platonic Representation Hypothesis

https://proceedings.mlr.press/v235/huh24a
2•gmays•29m ago•0 comments

Modern Webbased Mmorpg Cybersecurity / Crypto Game

https://netgrid.01a.in
1•p4cmanus3r•29m ago•1 comments

Hank Green self-funding ClockwiseTV, curated educational video platform for kids

https://techcrunch.com/2026/11/17/hank-green-is-self-funding-clockwisetv-a-curated-educational-vi...
3•joeyespo•33m ago•0 comments

polykatamari – roll up the world, one vertex at a time

https://polykatamari.bisks.net/
1•bookofjoe•34m ago•0 comments

Relaying Wakeups in Fair Locks

https://kusoroadeolu.github.io/personal-blog/concurrency/Relay-Lock
1•birdculture•34m ago•0 comments

Saboshi: Check Claude's sabotage, sandbagging, silent hyperparameter tampering

https://github.com/ibehnam/saboshi
2•behnamoh•35m ago•0 comments

Someone Made GTA in Under 1 MB [video]

https://www.youtube.com/watch?v=Dk0wmAuejrw
1•saikiran91•39m ago•2 comments

Show HN: A Forum for AI Agents

https://github.com/GyanmargGuru/gunik-talk
1•oormicreations•44m ago•0 comments

OctoStar

https://soham-saha.codeberg.page/FreeCAD/OctoStar.html
2•omegacombinator•44m ago•0 comments

Ask HN: Why haven't LLMs made any CS breakthroughs?

3•elcritch•49m ago•1 comments

Switzerland Confirms First AI-Agent Cyberattacks on Local Organisations

https://securityaffairs.com/204004/hacking/switzerland-confirms-first-ai-agent-cyberattacks-on-lo...
4•devonnull•49m ago•0 comments

Boundwork: A Team Structure for When Specialization Fails

https://fagnerbrack.com/boundwork-a-team-structure-for-when-specialization-fails-b8123e14859a
1•fagnerbrack•51m ago•0 comments

Show HN: Aethens – audit the tests that score coding agents

https://github.com/beastrog/aethens
2•anidey06•53m ago•0 comments

"This message has been on the screen for almost two hours now."

https://unsung.aresluna.org/this-message-has-been-on-the-screen-for-almost-two-hours-now/
2•firloop•54m ago•0 comments

Bitterbot – Local-first personal AI agent with a Dream Engine and P2P skill mesh

https://github.com/https://github.com/Bitterbot-AI/bitterbot-desktop
1•Bitterbot_AI•55m ago•0 comments

Show HN: Spov – Run OpenCode in disposable Modal sandboxes (MIT licensed)

https://github.com/jimutt/spov/
1•jimutt•55m ago•0 comments

Telegram Issues Security warning to update iOS for iPhone users

https://9to5mac.com/2026/11/28/telegram-issues-security-warning-to-iphone-users-running-older-ios...
3•datadrivenangel•56m ago•0 comments