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!

SAML: A Fractal of Bad Design

https://blog.trailofbits.com/2026/09/21/saml-a-fractal-of-bad-design/
2•aray07•52s ago•0 comments

Let's Stop Debating the Gnu Imp Manipulation Program

https://aria.dog/barks/gnu-imp-manipulation-program/
1•naves•1m ago•0 comments

Ask HN: What's Cool Now in Software?

1•julienreszka•2m ago•0 comments

GPT-6 Sol (Max) Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/gpt-6-sol
1•theanonymousone•3m ago•0 comments

GPT-6 Luna (Max) Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/gpt-6-luna
1•theanonymousone•4m ago•0 comments

Ask HN: Are you are a coward or a traitor?

1•cyclopeanutopia•4m ago•0 comments

Piclang – Programming language purpose built for malware

https://github.com/zarkones/Piclang
1•ZARKONES•5m ago•1 comments

Show HN: Lightdrift / Image search for AI agents through API and MCP

https://lightdrift.ai
1•jacksonholland•7m ago•0 comments

RegEx 101 for Data Pipelines

https://sift.expanso.io/
1•TheIronYuppie•7m ago•0 comments

Douglas Davis: The First Collaborative Sentence

https://whitney.org/artport/douglas-davis
1•Caiero•11m ago•0 comments

Goose Robot

https://twitter.com/RobotWorksGoose/status/2102463074452275423
2•richardwei•12m ago•0 comments

Morpion Solitaire

http://www.morpionsolitaire.com/
1•jackettm•13m ago•0 comments

High-mileage electric cars are more reliable than petrol ones, study finds

https://www.theguardian.com/environment/2026/sep/22/high-mileage-used-electric-cars-reliable-petr...
4•theanonymousone•13m ago•1 comments

A Call for Control of Frontier AI Models

https://www.government.nl/documents/2026/09/22/a-call-for-control-of-frontier-ai-models
1•geox•14m ago•0 comments

Why banning AI in the classroom will not be enough

https://theconversation.com/why-banning-ai-in-the-classroom-will-not-be-enough-to-remedy-poor-rea...
1•jruohonen•16m ago•0 comments

Show HN: Cookbook – a workspace for your team and agents

https://cookbook.team
1•dproz•19m ago•1 comments

Does an open-weight decision model beat a hosted one? Jev vs. Laya

https://astgl.com/p/local-laya-vs-hosted-jev-typed-decisions
1•Jmeg8r•20m ago•0 comments

Zero-downtime Linux kernel zero-day mitigation via eBPF and SECCOMP

https://github.com/mc493/linux-kernel-zero-day-mitigation-zero-downtime-kernel-defense-
2•mc493•23m ago•0 comments

Show HN: a0flow — paid micro-APIs for AI agents, x402/USDC, no signup

https://a0flow.com
1•updatesbyai•23m ago•0 comments

International Conference on Functional Programming (ICFP) 2026 talks released

https://www.youtube.com/@acmsigplan/playlists
1•matt_d•24m ago•0 comments

What does this assembly code do?

https://www.pagetable.com/301
1•chorlton2080•25m ago•1 comments

AgentsView

https://www.agentsview.io/
2•skadamat•25m ago•0 comments

Playing with Jev for Daily Questions

https://yesno.fyi
1•epv•28m ago•0 comments

MiMo-v2.6-Flash

https://mimo.mi.com/models/en-US/mimo-v2.6-flash
1•smokeeaasd•29m ago•0 comments

HTTP QUERY Method: The Grey Zone Between Get and Post

https://isc.sans.edu/diary/33352
2•jruohonen•29m ago•0 comments

The Apple Watch Has a Problem(YouTube – Marques Brownlee) [video]

https://www.youtube.com/watch?v=pOX1l1edBME
3•DASD•31m ago•1 comments

Tell HN: Substack obfuscating text to break reading mode

3•xnx•31m ago•0 comments

DoorDash Agrees to $131.5M Settlement for Shortchanging Workers

https://www.nytimes.com/2026/09/22/nyregion/doordash-settlement-delivery-drivers.html
5•datsci_est_2015•33m ago•3 comments

Claude Opus 5.5 (High Effort) Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/claude-opus-5-5-high
1•Topfi•34m ago•0 comments

Faster and local Jev like model for Mac

https://github.com/mizorewww/laya-coreml
1•mkagenius•37m ago•0 comments