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!

You can run Git on object storage if you re-make packfiles

https://www.tigrisdata.com/blog/objgit-packfiles/
1•evacchi•20s ago•0 comments

Fourteen AI models against a customer edge. Divert blocked first

https://www.divert.cloud/blog/autonomous-ai-attacker-field-report
1•mr_hedrick•1m ago•1 comments

Fault tolerance in low-bandwidth model parallelism

https://www.tplr.ai/publications/blog/skipping-stages-with-fixed-projections
1•synapz_org•1m ago•0 comments

Driscoll's Gave China Its Blueberries–Then China Swiped the Secret

https://www.wsj.com/business/driscolls-berry-farms-china-competition-b0b49f04
2•duck•2m ago•0 comments

Breakout List

https://breakoutlist.com/
1•cjbarber•4m ago•2 comments

Show HN: Pixel Agents – A pixel-art mission control for your Claude Code agents

https://mateovalle.github.io/pixel-agents/
1•mateovalle•4m ago•0 comments

A Trump-backed crypto bill just suffered a bruising defeat in the Senate

https://www.npr.org/2026/09/15/nx-s1-5968711/clarity-act-crypto-senate-vote
1•paulpauper•4m ago•0 comments

Oil Prices Could Hit Highest Levels in Months After Saudi Pipeline Attacks

https://www.nytimes.com/2026/09/16/business/saudi-pipeline-houthi-attacks.html
1•ViktorRay•6m ago•0 comments

The first (public) System One Model; Jev gives AI the properties of code

https://typesafe.ai/
1•Anon84•9m ago•0 comments

Iran strikes on Amazon data centers caused permanent loss of customer data

https://arstechnica.com/gadgets/2026/09/iran-strikes-on-amazon-data-centers-caused-permanent-loss...
3•rbanffy•10m ago•2 comments

Amazon bumps minimum starting pay to $20/hour, adds new discount for employees

https://thehill.com/business/6092725-amazon-increases-minimum-starting-pay-adds-new-discount-for-...
2•ilamont•11m ago•0 comments

Google confirms Pixel phones exploited in 'targeted' modem based attack

https://9to5google.com/2026/09/16/google-pixel-targeted-zero-day-modem-attack/
2•fork-bomber•11m ago•0 comments

AI Compilers Are Not Just Compilers for AI

https://aicompilers.github.io/2026/09/06/ai-compilers-are-not-just-compilers-for-ai.html
1•matt_d•12m ago•0 comments

History of the BBC TV Idents

https://www.bbc.com/historyofthebbc/research/bbc-idents/global-ambition
1•nickt•13m ago•0 comments

A mouse whose brain cortex is made up of human cells

https://www.technologyreview.com/2026/09/16/1144210/meet-a-mouse-whose-brain-cortex-is-made-up-of...
1•joozio•15m ago•0 comments

Ask HN: AI Panic, you buying it?

1•elai-intelligen•15m ago•3 comments

The FBI Doubles Down on Easing 'Bestiality' Hiring Standards

https://www.wired.com/story/the-fbi-doubles-down-on-easing-bestiality-hiring-standards/
3•ferryth•16m ago•0 comments

Show HN: Smarter Shell History for Zsh

https://github.com/overflowy/zhist
1•overflowy•16m ago•0 comments

OSRS Wiki and RuneLite are under strain from low-effort AI development

https://oldschool.runescape.wiki/w/User:Cook_Me_Plox/OSRS_Wiki_and_RuneLite_are_increasingly_unde...
1•i2talics•17m ago•1 comments

CO3: Toward the Optimal FFI

https://mversic.github.io/co3/
1•mversic•18m ago•0 comments

Training Text-to-Image Models 3.6× Faster

https://www.linum.ai/field-notes/jit-ddt
4•schopra909•18m ago•0 comments

Gnome 51 Released with Improved Frame Scheduling, Many App Improvements

https://www.phoronix.com/news/GNOME-51-Released
1•tuhtah•18m ago•1 comments

We killed our in-app AI chat and made the agent a first-class user

https://sensefold.app/blog/agent-as-first-class-user
1•gomilesfd•19m ago•0 comments

Omarchy on Mac

https://github.com/omacom/omarchy-mac
1•popzxc•20m ago•0 comments

Whiteboard Defense

https://twitter.com/mitchellh/status/2100249348345057389
1•tosh•20m ago•0 comments

Show HN: Ivx/AI Chat, AI client that doesn't track you (with a better GUI imo)

https://ai.ivx.run/
1•0xcrypto•20m ago•0 comments

As Someone Who Has Written This Blog Post,

https://zachholman.com/posts/llm-writing
1•holman•21m ago•0 comments

Numerical Tours

https://www.numerical-tours.com/python/
2•efavdb•24m ago•0 comments

IPC Panic, a 4-call kernel panic in Apple XNU, up to macOS and iOS 26 included

https://seriot.ch/security/ipc_panic.html
2•beefburger•25m ago•0 comments

Inside the MIT Report on How AI Is Eroding Campus Culture

https://learningcurve.fm/episodes/inside-the-mit-report-on-how-ai-is-eroding-campus-culture/trans...
2•learningcurv•26m ago•1 comments