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!

How do human beings explain taking part in genocide?

https://www.theguardian.com/global/commentisfree/2026/oct/09/naza-mass-killing-gaza-israel
2•georgecmu•1m ago•0 comments

Reliable GPU compute for large training and inference jobs

https://netflixtechblog.com/reliable-gpu-compute-for-large-training-inference-jobs-d62b03a96d7a
1•gmays•2m ago•0 comments

Tesla Roadster

https://www.tesla.com/roadster
14•shekhar101•6m ago•2 comments

Complete Step-by-Step Guide to Fix Chrome-error://chromewebdata/

https://www.glorycloud.com/blog/chrome-info.chromewebdata/
1•mssoodyzdani•12m ago•0 comments

Cloudflare and OpenAI: making AI discovery better for everyone

https://blog.cloudflare.com/cloudflare-openai-discovery-agentic-web/
1•wondersky•14m ago•0 comments

Rust 1.99.1

https://blog.rust-lang.org/2026/10/15/Rust-1.99.1/
1•wondersky•15m ago•0 comments

Jane Colden: Naming the Living World

https://blue-continuum.com/jane-colden
1•dnetesn•17m ago•0 comments

Tell HN: Google Argon on a Pro subscription is worthless

1•bb88•18m ago•2 comments

Open Forward Deployed Engineer Roles

https://www.forwarddeployed.fun/
1•cebert•21m ago•0 comments

Show HN: Weatheristic.com to answer questions other weather sites don't

https://weatheristic.com/
1•zievo•23m ago•0 comments

A human-first approach to safe AGI

https://wuwei.us/pages/human-first
2•laybak•23m ago•0 comments

Bloom's Taxonomy

https://en.wikipedia.org/wiki/Bloom%27s_taxonomy
2•SMAAART•27m ago•0 comments

Hyperoptimized Engineer 2026

https://www.youtube.com/watch?v=MhEL9cvLxQE
1•vismit2000•27m ago•0 comments

Show HN: Crowd Supply – GoFundMe for hardware development

https://www.crowdsupply.com/
1•Phileosopher•29m ago•0 comments

Show HN: MadMoon Shield – single-server DDoS defense, no CDN. Round 3 live

https://challenge.madmoonsecurity.com
1•NuwanN•33m ago•0 comments

Turn your regular JavaScript code into a neural net

https://chenglou.me/handwired/
2•vismit2000•35m ago•0 comments

Tesla Debuts 2026 Roadster

https://www.nytimes.com/2026/10/15/business/tesla-roadster-2026-ev-sports-car.html
17•andsoitis•41m ago•8 comments

AI, Crypto and DEI Drove Marc Andreessen to MAGA

https://www.bloomberg.com/news/features/2026-10-15/how-ai-crypto-and-dei-drove-marc-andreessen-to...
8•jamesgill•42m ago•3 comments

As a Child Evangelist, He Roused the Faithful. Later He Exposed the Con

https://www.nytimes.com/2026/10/15/movies/marjoe-gortner-dead.html
1•toomuchtodo•43m ago•1 comments

No AI. Just open a book, read it, and code whatever you want

https://www.youtube.com/watch?v=kCVZWZzrBB4
1•hayyoth•44m ago•0 comments

Palance, why your portfolio moves

https://palance.co
1•palance•45m ago•0 comments

Thank You, Deno

https://www.vlt.io/blog/competition-keeps-javascript-moving
2•jcbhmr•46m ago•0 comments

RPKI Now Protects 70% of Internet Routes, Up from 54% a Year Ago

https://ipinfo.io/blog/rpki-protects-70-internet-routes
21•emot•47m ago•4 comments

A model where companies lease critical minerals instead of selling them

https://ccsi.columbia.edu/metals-service-maas/
2•crookedroad44•47m ago•0 comments

Show HN: Chickadee Bandit – Build private apps for your family

https://www.chickadeebandit.com/gallery
1•ChickadeeBandit•49m ago•0 comments

Public Packages

https://www.vlt.io/blog/public-packages
1•jcbhmr•50m ago•0 comments

Holdy, your analytics stops talking and starts shipping value

https://holdy.chat/home
1•augustogaedke•53m ago•0 comments

YouTube Is Looking to Expand into Audiobooks

https://www.wsj.com/business/media/youtube-is-looking-to-expand-into-audiobooks-d28bd876
3•bookofjoe•55m ago•1 comments

C, Type Systems, GLib, and API Design

https://www.spurint.org/journal/2026/10/c-type-systems-glib-api-design
1•RohanAdwankar•58m ago•1 comments

Why Agents Reach for React

https://yeet.cx/blog/why-agents-reach-for-react
1•ok_major_9889•59m ago•0 comments