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!

Why you shouldn't pour coffee down the drain

https://www.rte.ie/brainstorm/2026/0402/1540841-coffee-dregs-drains-wastewater-pollution/
1•austinallegro•1m ago•0 comments

Solar plane soars to 47,600 ft, on target to fly 100 hours

https://newatlas.com/aircraft/uavos-apusneo-haps-solar-aircraft-100-hour-flight-fuerteventura/
1•geox•1m ago•0 comments

Show HN: Kinrox – Spotify player in 196 MB RAM, Mac video player, iPhone remote

https://github.com/awaik/Kinrox
1•awaik•2m ago•0 comments

OrcaSlicer v2.5.0 Official Release Latest

https://github.com/OrcaSlicer/OrcaSlicer/releases/tag/v2.5.0
1•Klaster_1•3m ago•0 comments

Sonda – An open-source static analysis tool built in Rust

https://www.sonda.sh/
1•lvaoliveira•3m ago•0 comments

Every processor die anyone has photographed

https://sheets.works/data-viz/cpu-dies
1•masterbubbles•12m ago•0 comments

A lighter and less costly SDD workflow comapared to openspec

https://github.com/iswalterwu/dev-circuit-ultra
1•iswalterwu•14m ago•0 comments

Inter-AI Morality: How AI Systems Treat One Another [pdf]

https://digitalminds.cam/inter-ai-morality.pdf
3•dadadavid•18m ago•0 comments

Mammoth Steppe

https://en.wikipedia.org/wiki/Mammoth_steppe
1•thunderbong•19m ago•0 comments

I built OneDollarClarity because I wanted a simple way to stop thinking

https://onedollarclarity.com/
1•DigitalSena•24m ago•0 comments

Free open API of weekly resale sold-price medians

https://www.aiplannermail.com/free-resale-price-api/
1•malek_oweis•26m ago•0 comments

A short history of the Troubled Teen Industry

https://www.lowimpactfruit.com/p/a-short-history-of-the-troubled-teen
1•mnky9800n•29m ago•0 comments

Bong: DuckDuckGo bang alternative, open-source and self-hosted

https://bong.glendalab.com
4•captain_bender•32m ago•0 comments

Understanding the World: A Practical Worldview Framework[pdf]

https://zenodo.org/records/24029901
1•jeyananth•41m ago•0 comments

GenAI generates GenAI – A Diffusion Model That Generates Neural Networks

https://github.com/vagrillo/nngen
1•ConteMascetti71•42m ago•0 comments

Show HN: Coding agent skills, tested on 15 backend tasks with hidden checks

https://github.com/globalmpc/backendskills
1•bayarkhuu5155•46m ago•1 comments

Show HN: Slate Terminal

https://slate.weichart.de/
1•surrTurr•50m ago•0 comments

Found this really cool app for gamified interactions

https://apps.apple.com/in/app/wundr-fun/id6826169890
1•vaishcodescape•52m ago•0 comments

SultanC – an Arabic-first systems programming language

https://github.com/sultan-language/sultanc
1•supax•54m ago•0 comments

Show HN: Ryph – Self-Hosted, Open-Source Coding Agents for Incident Response

https://github.com/ryph-hq/ryph
1•lftherios•55m ago•0 comments

Six humanoid robots worked a 24-hour shift at a convenience store

https://www.techspot.com/news/114445-six-humanoid-robots-worked-24-hour-shift-convenience.html
3•calme_toi•57m ago•1 comments

Tiger Management

https://newsletter.richardtoad.com/tiger-management/
1•gmays•59m ago•0 comments

An injured Ukrainian soldier was evacuated by drone

https://www.theguardian.com/world/ng-interactive/2026/nov/07/how-injured-ukrainian-soldier-rescue...
2•jimnotgym•1h ago•0 comments

Meta joins Microsoft and Google in offering employees voluntary exit packages

https://www.peoplematters.in/news/strategic-hr/meta-joins-microsoft-and-google-in-offering-employ...
1•vismit2000•1h ago•2 comments

I Wired a Whole Fly Brain into ARC-AGI-3. It Lost All Season, Then Won One Back

https://www.kaggle.com/competitions/arc-prize-2026-paper-track/writeups/flygi-connectome-attribut...
1•MegusAlexandrus•1h ago•1 comments

Linux for Your Mac

https://gravitylinux.org/
1•fulafel•1h ago•0 comments

Arete-27B: Qwen3.8-27B, post-trained to reinforce Western values

https://nousresearch.com/arete
4•pretext•1h ago•10 comments

Google extends voluntary buyout offers to employees in several countries

https://www.reuters.com/business/media-telecom/google-extends-voluntary-buyout-offers-employees-s...
2•vismit2000•1h ago•0 comments

Find hiphop class near you

1•florapeterpaul3•1h ago•1 comments

Apple to Drop the iPhone's Action Button Next Year

https://www.macrumors.com/2026/11/06/apple-rumored-to-drop-the-action-button/
1•mgh2•1h ago•0 comments