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!

Deshittification as a Service: Reclaiming Privacy and Performance with OpenBSD

https://fabricati-diem.inform.social/post/deshittification-as-a-service/
1•tempodox•24s ago•0 comments

An AI agent beat Universal Paperclips in 1:21:23 (WR was 1:33:42)

https://universal-paperclips-ai.netlify.app/
1•arthur-G•45s ago•0 comments

Stop being the code review bottleneck

https://newsletter.posthog.com/p/code-review-tips
1•fagnerbrack•2m ago•0 comments

US District Court Decision in AI's Favor Worries Open-Source Developers

https://devops.com/us-district-court-decision-in-ais-favor-worries-open-source-developers/
1•CrankyBear•8m ago•0 comments

Show HN: Judge HN Threads with Jev

https://hnjudge.vercel.app
1•rishi_•8m ago•0 comments

How Blacksmith runs more than 10M CI jobs a day

https://www.blacksmith.sh/blog/how-blacksmith-runs-10-million-jobs-per-day
4•aayushshah15•9m ago•0 comments

Explaining the Postgres Meme

https://avestura.dev/blog/explaining-the-postgres-meme
1•gregsadetsky•9m ago•0 comments

Small AI models let drones autonomously identify and attack battlefield targets

https://arstechnica.com/ai/2026/09/nato-backed-startup-adapts-ai-for-autonomous-drone-recon-and-a...
1•rbanffy•9m ago•0 comments

Googlebook OS hands-on: It's Android, stupid

https://9to5google.com/2026/09/21/googlebook-os-hands-on/
1•xnx•9m ago•0 comments

Using Jev as an LLM Linter for OMP (Pi) Agent

https://github.com/goulinkh/omp-semantic-policy
1•goulinkh•10m ago•0 comments

The current balance of power in open models

https://www.interconnects.ai/p/the-current-balance-of-power-in-open
1•pretext•11m ago•0 comments

Goodnotes releases new AI notetaker

https://goodmeet.com/
3•ominous_debris•11m ago•0 comments

Grok 4.7

https://x.ai/news/grok-4-7
9•meetpateltech•12m ago•1 comments

Automatically Retrofitting JIT Compilers

https://www.infoq.com/presentations/yk-meta-tracing-jit-compiler/
1•cpeterso•13m ago•0 comments

Show HN: Replay an AI Coding Session and Inspect Its Requests

https://ishamf.dev/p/agent-harness-replay/
1•ifz•16m ago•0 comments

A restored PDP-11/83 serving this page on 211BSD Unix

http://pdp1173.com/
1•davepl•18m ago•1 comments

Ask HN: What is the most interesting project you are working on?

3•skwasimin•19m ago•1 comments

Show HN: All of FreeCAD 1.1.3, every workbench and FEM, running in the browser

https://freecad.virtastic.app/
2•dumpstertechops•19m ago•0 comments

46% of Open-Source AI Agents dropped from rankings in 28 weeks

https://www.theagenticleaderboard.com/
1•theagenticleade•19m ago•1 comments

Goolsbee: The Fed Can't Keep Waiting Out Oil Shocks

https://www.wsj.com/livecoverage/stock-market-today-dow-sp-500-nasdaq-09-21-2026/card/goolsbee-th...
3•kaycebasques•23m ago•1 comments

Design Drought

https://lmnt.me/blog/design-drought.html
1•surprisetalk•23m ago•0 comments

Show HN: Timewaster – They waste your time. Return the favor

https://timewasterapp.com/
1•JackWritesCode•23m ago•0 comments

IvoryOS – Orchestrate an Autonomous Lab

https://ivoryos.ai/
1•eustoria•24m ago•0 comments

Show HN: 7 Coder Words – A puzzle game for computer science nerds

https://kenamick.itch.io/7-coder-words
1•p2detar•25m ago•0 comments

I shipped 2,000 pull requests through production last month [video]

https://twitter.com/poteto/status/2102050467505430555
1•nomilk•26m ago•0 comments

You Can Detect If Code Is Being Run Inside a Terminal

https://nelson.cloud/you-can-detect-if-code-is-being-run-inside-a-terminal/
1•eustoria•26m ago•0 comments

We Have So Many Questions

https://lab.cloud/news/we-have-so-many-questions/
2•aliasaria•26m ago•0 comments

Pinned-Value Goods

https://arun.is/blog/pinned-value-goods/
2•ddrmaxgt37•27m ago•0 comments

Using TypeSafe AI in Bug Bounty

https://www.lampysecurity.com/post/using-typesafe-ai-in-bug-bounty
1•lampysecurity•28m ago•0 comments

Tobi: Persistent terminal sessions across your devices

https://tangled.org/ptr.pet/tobi
2•nerdypepper•29m ago•0 comments