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!

AI Optimizer – OpenAI API Caching Proxy (20-40% Cost Savings)

https://github.com/adamday75/ai-optimizer-app/releases/tag/v2.0.0
1•adamday75•2m ago•0 comments

Borne by Pilotwings

https://objkt.com/collections/KT1QLxw1JiAB2ZNWQu5vsqNoc5eqfyg9DX9q
1•bpierre•5m ago•0 comments

Anthropic tweaks timed usage limits to discourage demand during peak hours

https://www.theregister.com/2026/03/26/anthropic_tweaks_usage_limits/
1•pseudolus•8m ago•0 comments

I Can't See Apple's Vision

https://matduggan.com/i-cant-see-apples-vision/
1•carlesfe•9m ago•0 comments

Quantum experiment shows events may have no fixed order

https://phys.org/news/2026-03-quantum-events.html
1•pseudolus•9m ago•0 comments

The Listener

https://www.brainbun.com/blog/the-listener/
1•brainbun•11m ago•0 comments

CIS AWS v3.0: Automate Compliance with Terraform

https://haitmg.pl/blog/cis-aws-benchmark-automation/
1•gebalamariusz•12m ago•0 comments

the html review 05

https://thehtml.review/05/
1•keepamovin•14m ago•0 comments

More Students Use AI for Homework, and More Believe It Harms Critical Thinking

https://www.rand.org/pubs/research_reports/RRA4742-1.html
1•the-mitr•15m ago•0 comments

CSV to Transformer, via Bayesian Networks

https://github.com/area9innovation/bp2transformer
1•asgeralstrup•20m ago•1 comments

Interview with John Earnest

https://alexalejandre.com/programming/interview-with-john-earnest/
1•tosh•20m ago•0 comments

An Open-World Engine for the N64

https://www.youtube.com/watch?v=lXxmIw9axWw
1•QuantumNomad_•21m ago•0 comments

The illusion of illusions: There are no optical corrections in the Parthenon

https://arxiv.org/abs/2510.16831
2•geox•23m ago•0 comments

Ralphex: Write a Plan. Walk Away

https://ralphex.com/
1•souvlakee•24m ago•0 comments

Chicago Kare by Duane King

https://chicagokare.xyz/
1•keepamovin•25m ago•0 comments

microui: A tiny immediate-mode UI library

https://github.com/rxi/microui
1•tosh•26m ago•0 comments

Trump Administration Plans to Require Higher Wages for H-1B Visa Holders

https://www.wsj.com/politics/policy/trump-administration-plans-to-require-higher-wages-for-h-1b-v...
2•cebert•27m ago•0 comments

How I vibe-code 10 web services from anywhere

https://www.blynt.com/blog/vibe-coding-from-everywhere/
2•blynt•27m ago•0 comments

How I work without a mouse

https://plo.fyi/blog/working-without-a-mouse/
1•ploMP4•27m ago•0 comments

Druids: Batteries-included library to coordinate and deploy coding agents

https://druids.dev/welcome
2•isaacimagine•28m ago•0 comments

(A Few) Ops Lessons We All Learn the Hard Way

https://netmeister.org/blog/ops-lessons.html
1•rayhaanj•29m ago•0 comments

It's 2026 and infrastructure DevEx is still lacking

https://grafosai.substack.com/p/its-2026-and-infrastructure-devex
1•souvlakius•31m ago•0 comments

I Think Software Development Will Be Automated by 2030

https://blog.vtemian.com/talk/will-ai-automate-the-sdlc-by-2030/
1•vtemian•31m ago•1 comments

Stripe builds interactive docs with Markdoc

https://stripe.dev/blog/markdoc
1•cezarvil•34m ago•0 comments

Spawning VMs for unreasonable workloads (2024)

https://blog.davidv.dev/posts/abusing-firecracker/
1•tlar•34m ago•0 comments

Claude API Error: 529

5•anujbans•35m ago•3 comments

How to Setup Pie for PHP Extensions on macOS

https://stephenjude.me/articles/how-to-setup-pie-for-php-extensions-on-macos
1•stehenjude•36m ago•0 comments

Show HN: Mrxl – Compile Mermaid diagrams into Excel (.xlsx)

https://github.com/v420v/mrxl
1•ibuki256•39m ago•0 comments

mlx-Code: Run Claude Code Locally with MLX-LM

https://www.youtube.com/watch?v=Rba-uTsYuXg
2•JosefAlbers•42m ago•1 comments

I was paid to write fake Google reviews – then my 'bosses' tried to scam me

https://www.theguardian.com/technology/2026/mar/27/paid-write-fake-google-reviews-scammer-cryptoc...
3•mykowebhn•46m ago•0 comments