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!

Brave improves protections against GPU fingerprinting

https://brave.com/privacy-updates/38-webgl-webgpu-fingerprinting-protections/
1•w0ts0n•17s ago•0 comments

Aarhus Denmark eliminating single use coffee cup with "reverse vending machines"

https://reasonstobecheerful.world/can-this-city-banish-single-use-coffee-cups/
1•Geekette•51s ago•0 comments

Frontier LLMs know more facts than they can recall

https://research.google/blog/empty-shelves-or-lost-keys-recall-is-the-bottleneck-for-parametric-f...
3•MarcoDewey•1m ago•0 comments

ApplyWise – AI tools for tailoring your CV to a specific job

https://applywise.eu/
1•peter_nemec•4m ago•0 comments

GNU Parallel

https://www.gnu.org/software/parallel/
1•thunderbong•4m ago•0 comments

Show HN: My Grok Voice Mode System Prompt

1•nomilk•4m ago•0 comments

I found moderation endpoint in JavaScript

https://nadleer.github.io/posts/flagging_post_bug/
1•adminez•4m ago•0 comments

MiniMax-Music3

https://huggingface.co/MiniMaxAI/MiniMax-Music3
1•Philpax•4m ago•0 comments

Ordinary Abundance

1•jxmorris12•5m ago•0 comments

You're Not Ready to Compete with Self Disruptive Companies

https://julienreszka.com/blog/you-re-not-ready-to-compete-with-self-disruptive-companies/
1•julienreszka•6m ago•0 comments

Decision Records

https://github.com/DecisionRecordsORG/DecisionRecords
1•ntatenyakiso•7m ago•0 comments

Getting Real

https://elijahpotter.dev/articles/getting-real
1•chilipepperhott•7m ago•0 comments

Show HN: A open-source AI-native coding agent

https://github.com/missingstudio/eva
1•missingstack•8m ago•0 comments

DeepSeek up to 1000% price hike is live

https://xcancel.com/deepseek_ai/status/2087864589895798968
5•krlx•10m ago•0 comments

Who Cares about the Shrimp?

https://joinreboot.org/p/who-cares-about-the-shrimp
1•alexwennerberg•10m ago•0 comments

An Ice Island as Big as Manhattan Just Broke Off Greenland

https://nautil.us/an-ice-island-as-big-as-manhattan-just-broke-off-greenland-1283725
1•Brajeshwar•11m ago•0 comments

Pediatricians document e-scooter injuries, deaths in children, teens

https://www.cbc.ca/news/health/e-scooters-pediatrician-survey-9.7305210
1•Teever•11m ago•0 comments

Toasted Pitta Thermodynamics

https://chatgpt.com/share/6a7de7a3-f60c-83ed-9b5b-2be08758a56c
1•quasiuna•12m ago•1 comments

How Localhost Sharing Works: Nat, Tunnels, P2P, and Relays

https://medium.com/@Koukyosyumei/how-localhost-sharing-actually-works-nat-tunnels-p2p-and-relays-...
2•syumei•12m ago•0 comments

DeepSeek Harness: Everything Is a Plugin

https://www.x-cmd.com/install/deepseek-harness/
1•Zhengqbbb•13m ago•0 comments

Announcing JCT-1

https://chatjct.com/announcing-jct-1/
4•iamacyborg•14m ago•1 comments

Turning static interfaces into interactive AI experiences

https://wzrd.to
1•maryamwnna•15m ago•0 comments

Norway in a Nutshell

https://donmoynihan.substack.com/p/norway-in-a-nutshell
1•toomuchtodo•17m ago•0 comments

AROS for Raspberry Pi 3

https://amiga-news.de/en/news/AN-2026-08-00076-EN.html
4•doener•17m ago•1 comments

Write for People

https://vickiboykis.com/2026/08/12/write-for-people/
1•qu8n•17m ago•0 comments

Pinning the Wage to Scarcity and Technology

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7226858
1•Wilsoniumite•18m ago•0 comments

Qwen3.8-27B Countdown

https://huggingface.co/Qwen/Qwen3.8-27B
1•c16•18m ago•0 comments

The IJ Database of ALPR Abuse

https://ij.org/the-ij-database-of-alpr-abuse/
1•etdznots•18m ago•0 comments

Exaggerate to Calibrate

https://www.metasnake.com/blog/exaggerate-to-calibrate
1•__mharrison__•20m ago•0 comments

DataBench: A frontier benchmark for complex data work and analytical reasoning

https://hex.tech/databench/
2•izzymiller•21m ago•0 comments