frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•10mo 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!

Control a Waymo by Auto Rerouting

https://waymo.fraud.llc/
1•fearthetelomere•2m ago•0 comments

Zelph is a logic programming system, but not in the traditional sense

https://acrion.github.io/zelph/logic/
1•ta988•2m ago•0 comments

Bill Ackman vs. Carl Icahn Showdown on Herbalife [video]

https://www.youtube.com/watch?v=6QWZbxeJd6g
1•marysminefnuf•2m ago•0 comments

Ad-homineLLM: Are you wrong because you used an LLM?

https://blog.devrupt.io/posts/ad-hominellm/
1•ddtaylor•3m ago•0 comments

Show HN: Simple CBM calculator for shipping and freight

https://cbmcalc.com
1•distartin•10m ago•0 comments

Show HN: DataFlow,Turn raw data into high-quality LLM training datasets

https://github.com/OpenDCAI/DataFlow
1•Junnn•10m ago•0 comments

Flash-KMeans: Fast and Memory-Efficient Exact K-Means

https://arxiv.org/abs/2603.09229
1•matt_d•11m ago•0 comments

Kali Linux MCP Server

https://github.com/cyberillo/kali-mcp-server
1•cyberillo•11m ago•1 comments

Surprising a Model

https://vivekhaldar.com/articles/surprising-a-model/
1•gandalfgeek•11m ago•0 comments

PMetal – (Powdered Metal) LLM Fine-Tuning Framework for Apple Silicon

https://github.com/Epistates/pmetal
1•epistates•13m ago•1 comments

The Beginner's Guide to Dimensionality Reduction (2018)

https://dimensionality-reduction-293e465c2a3443e8941b016d.vercel.app
1•vismit2000•15m ago•0 comments

Manifesto on Symbiosis: A New Paradigm for Civilization Part IV

1•acehs•19m ago•0 comments

Loom – a zero-dependency C++20 blog engine (one binary, one command)

https://github.com/1ay1/loom
1•tfeayush•20m ago•0 comments

Coding Agents for Data Analysis

https://simonwillison.net/2026/Mar/16/coding-agents-for-data-analysis/
1•samuel246•20m ago•0 comments

Manifesto on Symbiosis: A New Paradigm for Civilization Part III

2•acehs•21m ago•0 comments

Always 'Copy Clean Link' When Possible on Firefox, with UserChrome.css

https://joshua.hu/firefox-always-copy-clean-link-url-userchrome-css
2•mmsc•26m ago•0 comments

A Day in the Life of an Enshittificator [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
1•celsoazevedo•28m ago•0 comments

TypeScript's rise in the AI era: Insights from Anders Hejlsberg (2025)

https://github.blog/developer-skills/programming-languages-and-frameworks/typescripts-rise-in-the...
2•pramodbiligiri•38m ago•0 comments

Donut Lab Battery Test 4 Changes Everything [video]

https://www.youtube.com/watch?v=5cpYeT4VmSY
1•fencedload•39m ago•0 comments

NYC Once Banned Free Legal Advice over Radio

https://newsletter.pessimistsarchive.org/p/nyc-once-banned-free-legal-advice
1•walterbell•42m ago•0 comments

True 4-Bit Quantized CNN Training on CPU – 92.34% on Cifar-10

https://arxiv.org/abs/2603.13931
1•shivnathtathe•46m ago•0 comments

My Willing Complicity in "Human Rights Abuse"

https://ussri.substack.com/p/my-willing-complicity-in-human-rights
2•oxw•49m ago•0 comments

Ask HN: When do you start considering to 'separate' service designed with DDD

2•Lazy_Player82•54m ago•1 comments

Public Access Databases

https://robertsdotpm.github.io/software_engineering/public_databases.html
2•Uptrenda•55m ago•0 comments

You train robots and don't even know it

https://twitter.com/k1rallik/status/2033530122150502482
1•dsr12•57m ago•0 comments

Show HN: MCP Inspector – connect and test any MCP server

https://glama.ai/mcp/inspector
1•punkpeye•1h ago•0 comments

Kagi Translate now supports LinkedIn Speak as an output language

https://translate.kagi.com/?from=en&to=LinkedIn+speak
99•smitec•1h ago•18 comments

J Epstein Perma Twitter

2•benjaminklick•1h ago•1 comments

Threading Async Together

https://github.com/TavariAgent/Py-TokenGate
3•Tavari•1h ago•1 comments

Ask HN: People reverse engineering web apps, what are you doing it for?

3•keepamovin•1h ago•0 comments