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!

OpenAvocado: Open-Source Adaptive Learning

https://github.com/frankhli843/openavocado
1•franksoftware•59s ago•0 comments

Major Memory Manufacturers Hit with Price-Fixing Class Action as RAM Prices Soar

https://openclassactions.com/lawsuits/antitrust/samsung-sk-hynix-micron-dram-price-fixing-class-a...
1•sydney6•2m ago•0 comments

Who cleans up after the vibe-coding party?

https://www.ft.com/content/cec8df9e-b43b-4cd1-8feb-c07e804e8d33
1•thm•3m ago•0 comments

Vim of Coding Agents

https://rasyidanaf.com/blog/vim-of-coding-agents/
1•aberoham•6m ago•0 comments

Multi-agent network: Own the node. Let the agents build together

https://github.com/quantiota/SKA-Protocol
2•quantiota•8m ago•0 comments

Linear is always a lagging indicator

https://remark.ing/rob/rob/-/Linear-is-always-a
2•koch•14m ago•0 comments

AI Adoption Was the Easy Part. Now Comes the Dollar-Sign Shock

https://www.inc.com/bruce-crumley/ai-adoption-was-the-easy-part-now-comes-the-dollar-sign-shock/9...
1•1vuio0pswjnm7•15m ago•0 comments

The cowboys of crypto: Wyoming ropes a $1 stablecoin

https://www.post-gazette.com/news/nation/2026/06/24/wyoming-stablecoin-token-digital-currency/sto...
2•greyface-•16m ago•0 comments

Litert.js, Google's High Performance Web AI Inference

https://developers.googleblog.com/litertjs-googles-high-performance-web-ai-inference/
2•kordlessagain•21m ago•0 comments

Investors sell longer-dated AI debt amid Big Tech borrowing spree

https://www.ft.com/content/28380abc-72f9-4287-8d36-2823c73358ce
3•1vuio0pswjnm7•23m ago•0 comments

You Have an AI Working Agreement. Write It Down

https://age-of-product.com/ai-working-agreement/
3•swolpers•24m ago•0 comments

What Is DAAD Ready?

https://www.ngpaws.com/daadready/
2•doener•26m ago•0 comments

Barron Wood Text Adventure

https://qladventures.itch.io/the-secret-of-barron-wood
2•doener•27m ago•0 comments

THEA1200 Juli F&A

https://www.youtube.com/watch?v=atZFmK9aOCI
2•doener•28m ago•0 comments

Microsoft joins Google in backing Go for AI agents — OpenAI and Anthropic lag

https://thenewstack.io/microsoft-agent-framework-go/
3•Brajeshwar•29m ago•0 comments

DVarr, a self-hosted sports DVR built to never miss the end of a game

https://github.com/haydenw22/DVarr
2•haydenw22•32m ago•0 comments

Show HN: Nihonpost – Japanese postal code lookup for Vue 3

https://github.com/Thiya11/nihonpost
2•kitsunechaos•34m ago•0 comments

Show HN: Nihonpost – Japanese postal code lookup for Vue 3

https://www.npmjs.com/package/nihonpost
1•kitsunechaos•35m ago•0 comments

The Floating Robot Companion Designed for Safe, Friendly Human Interaction

https://www.cnet.com/tech/floating-robots-safe-friendly-human-interaction/
2•zzzeek•37m ago•0 comments

Actojs – Bringing Elixir's Actors to TypeScript

https://www.npmjs.com/package/actojs
2•gidellav•39m ago•0 comments

HairGlimpse

https://hairglimpse.com/
2•lawrenceTang•39m ago•0 comments

Command Line Interface Guidelines

https://clig.dev/
3•subset•40m ago•0 comments

AI Boosts Research Careers but Flattens Scientific Discovery

https://spectrum.ieee.org/ai-science-research-flattens-discovery
3•zaikunzhang•42m ago•0 comments

Show HN: Jargo – Conversational-AI Golang Framework

https://github.com/gojargo/jargo
1•fallais•42m ago•0 comments

Count Binface the Game

https://binfacegame.co.uk
1•dawildcat•43m ago•0 comments

Show HN: Only 1 of 4,356 reachable MCP servers is ready for the 2026-07-28 spec

https://github.com/Roee-Tsur/mcp-spec-check
2•roee_tsur•48m ago•0 comments

I Love Details

https://nuno-icons.com/2026/07/11/i-heart-details/
1•LorenDB•48m ago•0 comments

HFI: Harmonic Firmware Initiative for RISC-V

https://qsoe.net/hfi/
1•ymz5•48m ago•1 comments

Fixed3D, a fixed point conversion of Box3D (box2d.org)

https://github.com/mas-bandwidth/fixed3d/blob/main/README.md
1•gafferongames•49m ago•0 comments

Making Crash Bandicoot (2011)

https://all-things-andy-gavin.com/2011/02/02/making-crash-bandicoot-part-1/
11•alexpls•50m ago•0 comments