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!

Big Pickle on SWE Atlas – Codebase QnA

https://github.com/PhillipChaffee/big-pickle-swe-atlas
1•phillipchaffee•7m ago•0 comments

How/where to find a girlfriend that understands the hustle and long hours?

1•abcrezmmo•8m ago•1 comments

Timestamp and WACZ/WARC Script via ArchiveWeb.page

https://gist.github.com/atraining/2f5436d26cc80d66ed5ff1bf23865ddf
1•chelm•17m ago•0 comments

SynthID watermarking and removal methods are a joke

https://medium.com/@vektormemory/synthid-watermarking-and-removal-methods-are-a-joke-6ca5680e51ac
1•vektormemory•21m ago•0 comments

Tea5767-Radio-Tuner

https://github.com/turtushig22-blip/tea5767-radio-tuner
2•turtushig22•23m ago•0 comments

Banned Words List

https://pen.org/banned-words-list/
3•structuredPizza•24m ago•0 comments

Portal, for securing IoT communication

https://github.com/MaticianInc/portal
1•tacitusarc•32m ago•1 comments

I'm getting into house cleaning. What should I know?

https://refinedservicesgroup.com
1•hunterhandkerch•33m ago•0 comments

Find out what your coding agents cost you

https://github.com/ACE-Engineering/ace-sidecar
1•flyingfishisme•33m ago•0 comments

Rewriting in Rust

https://blog.jetbrains.com/rust/2026/08/10/rewriting-in-rust/
2•worik•35m ago•0 comments

Image and text do not share a coordinate system

https://twitter.com/advprop/status/2088771122707722365
1•apsys•39m ago•0 comments

Tesla drivers are letting their cars take over

https://www.sfchronicle.com/bayarea/article/tesla-self-driving-car-22384520.php?taid=6a8091bad297...
1•GMoromisato•40m ago•1 comments

Show HN: Snafu: Agentic flow to help you with "naming things" in source code

https://github.com/sebastiancarlos/snafu
1•httbs•47m ago•0 comments

Show HN: Techflare – Chrome extension to see if a website uses Cloudflare

https://chromewebstore.google.com/detail/techflare/lbbkmioghlgfnbkciibfglcopkncdfpg
1•wenbin•52m ago•0 comments

Credit card debt rises to $1.26T, nearing all-time record

https://abc7.com/story/credit-card-debt-rises-126-trillion-nearing-time-record/19667289/
8•lxm•55m ago•7 comments

The key that never exists: a threshold signing ceremony in the browser

https://808bits.com/articles/threshold-signing-ceremony-in-your-browser/
1•meehow•58m ago•0 comments

I don't want to work in a factory

https://jaspercroo.me/essays/002_factories/
1•thoughtpeddler•1h ago•0 comments

Alibaba AI Models Hit 3B Downloads, Passing Meta, Google

https://finance.yahoo.com/technology/ai/articles/alibaba-ai-models-hit-3-091606840.html
2•zkmon•1h ago•0 comments

Meguro Parasite Museum

https://www.kiseichu.org
1•joebig•1h ago•1 comments

Hunger stones: The history behind 'if you see me, weep'

https://www.dw.com/en/hunger-stones-the-history-behind-if-you-see-me-weep/a-78345729
4•bushwart•1h ago•1 comments

Find Closed Door Romance Books You'll Love

https://closeddoorromance.com/
1•gnabgib•1h ago•0 comments

Artin-Schreier Theorem [pdf]

https://kconrad.math.uconn.edu/blurbs/galoistheory/artinschreier.pdf
2•marysminefnuf•1h ago•0 comments

Decoding smell: Study reveals how odor signals shapeshift in the wind

https://www.colorado.edu/today/2026/08/10/decoding-smell-study-reveals-how-odor-signals-shapeshif...
2•hhs•1h ago•0 comments

Alaska Satellite Facility DAAC Data Access and Tools

https://www.earthdata.nasa.gov/centers/asf-daac/data-access-tools
1•Eridanus2•1h ago•0 comments

Anthropic CEO wife asked Epstein for porn business

https://www.forbes.com/sites/alisondurkee/2026/08/14/who-is-cami-clark-anthropic-ceos-wife-asked-...
19•nothrowaways•1h ago•3 comments

The mesmerising art of macro photography

https://www.theguardian.com/environment/2026/aug/15/once-i-started-zooming-in-i-never-stopped-the...
4•pseudolus•1h ago•0 comments

Credit ratings can shape corporate financial decisions

https://news.mccombs.utexas.edu/research/credit-ratings-can-shape-corporate-financial-decisions/
1•hhs•1h ago•0 comments

Hunting for the axion with a huge magnet

https://www.uni-bonn.de/en/news/158-2026-1
1•hhs•1h ago•0 comments

World Liberty gets conditional bank charter approval

https://www.msn.com/en-us/money/general/trump-family-backed-crypto-firm-world-liberty-gets-condit...
1•petethomas•1h ago•0 comments

BIAttle – Real-time debate arena for Gemini and Groq with live moderation

https://www.biattle.com
1•Ghost_Thread•1h ago•1 comments