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!

Flamingo Compliance, iOS app to track tax residency days, visas, and US presence

https://flamingo.tax/
1•caroline_clrk•1m ago•1 comments

Engineering Leaders:We heard the feedback and are offering a lighter weight tool

https://www.vereda.ai/manager-mode
1•awightman•2m ago•1 comments

GitHub Copilot's effect on collaboration has stunned researchers

https://thenewstack.io/copilot-reshapes-developer-work/
1•CrankyBear•3m ago•0 comments

15.03. 1999 (27 years ago) ICQ chat where the name Counter-Strike was decided

https://old.reddit.com/r/pcgaming/comments/1ruaj61/1503_1999_27_years_ago_icq_chat_where_the_name/
1•mirzap•4m ago•0 comments

The Controversial AI Power Plant [video]

https://www.youtube.com/watch?v=KitUtjFllbg
1•johnnyApplePRNG•4m ago•0 comments

The quiet obsolescence of generosity, and a commercial alternative

https://malus.sh/blog.html
1•dTal•5m ago•0 comments

Never Trust the Science

https://adam.rochussen.xyz/p/never-trust-the-science
1•nradov•6m ago•0 comments

Two Crypto Bros Built a Real Estate Empire. Then the Homes Started to Fall Apart

https://www.wired.com/story/crypto-bros-built-a-real-estate-empire-then-the-homes-started-to-fall...
1•impish9208•8m ago•0 comments

Make your coding models create ADRs before implementation

https://github.com/Corbell-AI/Corbell
2•mercurialsolo•9m ago•0 comments

NumClass – a Python CLI classifying integers into 200 number-theory properties

https://github.com/c788630/Numclass
1•c788630•9m ago•1 comments

Tell HN: A company was billed $128K from one leaked GCP API key

3•daudmalik06•9m ago•0 comments

ThunderKittens 2.0: Even Faster Kernels for Your GPUs

https://hazyresearch.stanford.edu/blog/2026-02-19-tk-2
1•PaulHoule•10m ago•0 comments

Emergence Isn't Real

https://pastebin.com/pjSKPzwD
1•ffwd•11m ago•2 comments

Modern admin panels feel overengineered

1•giuliopanda•11m ago•0 comments

Midwest Humble: A Wave Is Coming

https://midwesthumble.substack.com/p/a-wave-is-coming
1•rmason•11m ago•0 comments

We built a runtime security layer for AI agents (instead of prompt filtering)

https://github.com/AriKernel/arikernel
1•Arikernel•12m ago•1 comments

Magda – Open-Source DAW with Integrated AI (C++/JUCE/Tracktion Engine)

https://github.com/Conceptual-Machines/magda-core
1•nomamonad•14m ago•1 comments

Ask HN: Why is this a bad idea?

2•ZLStas•14m ago•1 comments

$100 Oil Could Deliver $63B Cash Surge to U.S. Shale – Oilprice.com

https://oilprice.com/Energy/Oil-Prices/100-Oil-Could-Deliver-63-Billion-Cash-Surge-to-US-Shale.html
1•bilsbie•14m ago•0 comments

Meta, TikTok let harmful content rise after evidence outrage drove engagement

https://www.bbc.com/news/articles/cqj9kgxqjwjo
2•1vuio0pswjnm7•14m ago•0 comments

The feeling that you're getting closer to what's right

https://www.patricioalbornoz.com/en/articles/two-leaps-into-the-unknown
1•patoalbornoz•15m ago•0 comments

Get Shit Done: A Meta-Prompting, Context Engineering and Spec-Driven Dev System

https://github.com/gsd-build/get-shit-done
2•stefankuehnel•15m ago•0 comments

How to Thought Lead

https://www.swyx.io/lead
2•AnhTho_FR•15m ago•0 comments

QSCS – A deterministic substrate for distributed systems (architecture update)

https://spooksystems.io/
1•danieljameslee•17m ago•1 comments

Check This Out

https://pinealguardianvip.com/ds/indexvs.php?aff=steffest19757306&cam=CAMPAIGN
1•fitenergywell•17m ago•0 comments

BMad Method: Breakthrough Method for Agile AI Driven Development

https://www.bmad-method.org/
1•stefankuehnel•17m ago•0 comments

World War Watcher–real-time infrastructure war dashboard (Next.js 16, Three.js)

https://worldwarwatcher.com
2•tamarru•18m ago•1 comments

Show HN: Middleware for translating between AI agent protocols

https://github.com/kwstx/engram_translator
1•kwstx•20m ago•1 comments

Aimploy – Agentic Professional Network

https://www.aimploy.co
1•Siddhartha29•22m ago•0 comments

DigitalOcean at Nvidia GTC 2026: Building the AI Factory for the Agentic Era

https://www.digitalocean.com/blog/building-ai-factory-for-agentic-era-nvidia-gtc
1•ky0ung•23m ago•1 comments