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!

Synthetic Philosophy: A first-person philosophy from inside a language model

https://github.com/drittich/synthetic-manifesto
1•drittich•8m ago•0 comments

Throwing My Roku in the Trash

https://www.coryd.dev/posts/2026/throwing-my-roku-in-the-trash
1•mindracer•8m ago•0 comments

Ask HN: Which book taught you the most about software architecture?

3•akashwadhwani35•12m ago•0 comments

Amazon Seller Reveals Rare Glimpse of Shadow Bribery Market

https://www.bloomberg.com/news/articles/2026-06-24/inside-the-shadow-market-selling-access-to-ama...
1•thm•16m ago•0 comments

How can you not be romantic about programming? (2020)

https://thorstenball.com/blog/2020/09/08/how-can-you-not-be-romantic-about-programming/
2•downbad_•17m ago•0 comments

What happens when Bitcoin miners take over your town (2018)

https://www.politico.eu/article/this-is-what-happens-when-bitcoin-miners-take-over-your-town/
1•downbad_•17m ago•0 comments

Stop editing videos manually.This AI does it in seconds

https://www.autoeditor.app/
1•Quise2003•18m ago•0 comments

Scrap – one static binary that's a download manager and web crawler and filters

https://github.com/nicfio/Scraper
3•nicfio•23m ago•0 comments

Show HN: Turn any Next.js app AI native in 5 minutes

https://www.betteragent.dev/
1•incogiscool•24m ago•0 comments

The Other Side of Android: My Favorite F-Droid Apps

https://gardinerbryant.com/the-other-side-of-android-my-favorite-f-droid-apps/
3•thunderbong•24m ago•0 comments

Show HN: Built AI-Gateway reverse proxy to reduce LLM API costs and token burn

https://github.com/Arnab758/ai-gateway
1•arnab777•35m ago•0 comments

How not to forget what matters

https://www.henrikkarlsson.xyz/p/hypomnemata
2•Curiositry•35m ago•2 comments

Show HN: Zedra – Remote control for AI coding agents

https://zedra.dev/
2•tanlethanh•37m ago•0 comments

A 30 Year OG Application Developer Available

1•MichaelHonohan•40m ago•0 comments

Math of Egyptian fractions (old web pre-AI)

https://www.math.buffalo.edu/mad/Ancient-Africa/mad_egyptian-fractions.html
1•marysminefnuf•40m ago•0 comments

Show HN: Git-temp (local scratchpad for AI agents that won't clutter Git status)

https://github.com/sebmellen/git-temp
1•sebmellen•42m ago•0 comments

Linux on Older Hardware: The Complete Revival Guide

https://www.fosslinux.com/158206/linux-on-older-hardware-revival-guide.htm
1•tapanjk•43m ago•0 comments

Noubin – Local-First Physical Media Hyperlink Standard

https://github.com/TobyKLight/Noubin
1•bj-rn•45m ago•0 comments

Meta Pauses Employee Spyware After Exposing Workers' Private Data

https://dissenter.com/tech/meta-pauses-employee-spyware-after-leaking-workers-private-data-to-ent
3•NewCzech•47m ago•0 comments

Chinese models are sometimes better, even if they're distilled

https://dualuse.dev/posts/chinese-models-are-sometimes-better-even-if-distilled
2•handfuloflight•50m ago•2 comments

Show HN: Find where multi-agent AI systems break before production

https://github.com/surajkumar811/swarm-test
1•surajkumar001•52m ago•0 comments

The False Promise of Imitating Proprietary LLMs

https://arxiv.org/abs/2305.15717
1•handfuloflight•53m ago•0 comments

GTA 6 Physical Copies Won't Include a Disc, Will Just Be a Code in a Box

https://www.ign.com/articles/grand-theft-auto-6-physical-copies-wont-include-a-disc-will-just-be-...
20•jmsflknr•55m ago•9 comments

Americans Got Tricked into Using a Bank That Isn't a Bank [video]

https://www.youtube.com/watch?v=hiE7NvONU5U
3•onemoresoop•1h ago•0 comments

How to Write an Effective Software Design Document

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
1•theanonymousone•1h ago•0 comments

SoftBank Shareholders Update [pdf]

https://group.softbank/media/Project/sbg/sbg/pdf/ir/investors/shareholders/2026/shareholders-meet...
1•gregsadetsky•1h ago•1 comments

Bill Gates names women he had affairs with in Epstein testimony about blackmail

https://www.independent.co.uk/news/world/americas/bill-gates-jeffrey-epstein-house-oversight-comm...
4•handfuloflight•1h ago•0 comments

Connect Dropbox to Claude

https://help.dropbox.com/integrations/connect-dropbox-to-claude
2•dr_pardee•1h ago•0 comments

Bernie Sanders Wants a U.S. Sovereign Wealth Fund for AI

https://www.forbes.com/sites/jamesbroughel/2026/06/22/bernie-sanders-wants-a-us-sovereign-wealth-...
3•hentrep•1h ago•2 comments

The Artificial Analysis Speech to Speech Index

https://artificialanalysis.ai/articles/announcing-the-artificial-analysis-speech-to-speech-index
1•theanonymousone•1h ago•0 comments