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!

Show HN: Conduit – local-first desktop LLM client, byok

https://github.com/runningpixels/conduit
1•emilioolivares•35s ago•0 comments

YouTube sued over ads in Premium: YouTube claims "promotions" are not "ads" [video]

https://www.youtube.com/watch?v=oxg7AHYeSBk
2•Bender•5m ago•0 comments

Push for Online Gun Sales Meets a Surprising Opponent: Small Gun Dealers

https://www.nytimes.com/2026/08/21/us/politics/online-gun-sales-trump.html
1•bookofjoe•6m ago•1 comments

Tesla discontinues its Solar Roof tiles, not economically viable

https://electrek.co/2026/08/20/tesla-discontinues-solar-roof-panels-only/
1•MilnerRoute•10m ago•0 comments

BanProof – AI that scans TikTok Shop videos for violation points before you post

https://banproof.io/
1•Pratham3690•10m ago•0 comments

World Humanoid Robot Games

https://en.wikipedia.org/wiki/World_Humanoid_Robot_Games
1•RickJWagner•16m ago•0 comments

He Was Wrongly Convicted of Attempted Rape. He's Suing the DNA Analysts

https://www.nytimes.com/2026/08/23/nyregion/new-york-dna-analysts-sued-rape-conviction.html
1•CaliforniaKarl•17m ago•0 comments

Spreadsheet-Defined Function Demo

https://casey.github.io/IronCalc/
1•rodarmor•20m ago•1 comments

New Experimental to Test #1 Craze

https://outgame.lol
1•thronebuster•21m ago•1 comments

The Lifecycle of LLM-as-a-Judge for Large-Scale Recommendation Explanations

https://arxiv.org/abs/2608.18300
1•mooreds•22m ago•0 comments

A Unicode Lover's Manifesto

https://dreamstation.systems/A%20Unicode%20Lover%E2%80%99s%20Manifesto.txt
1•robinpie•30m ago•0 comments

F/OSS Comics #9: The Unix Philosophy

https://fosscomics.com/posts/9.%20The%20Unix%20Philosophy/
1•joonehur•36m ago•0 comments

Maps and database of 802.11 wireless networks, with statistics

https://wigle.net/
2•momentmaker•37m ago•0 comments

The first search engine for Internet-connected devices

https://www.shodan.io/
2•momentmaker•39m ago•0 comments

Worldwide animated weather map, with easy to use layer and precise spot forecast

https://www.windy.com
3•momentmaker•41m ago•0 comments

Show HN: CodeDuel: Compete against AI to stay sharp

https://www.duelai.dev/
1•Nahom_a•41m ago•0 comments

Show HN: Fast video cutter that works 100% locally in the browser

https://convertix-fast-imager-co.blogspot.com/p/convertix-free-online-image-converter.html
1•convertix123•43m ago•0 comments

Show HN: Rally (Real-Time Dual-Arm Robotic Table Tennis System)

https://github.com/ColonelToad/Rally
1•tolugenius•48m ago•0 comments

Fat Men's Club

https://en.wikipedia.org/wiki/Fat_men%27s_club
2•handfuloflight•50m ago•0 comments

Slump in eastern Australia gas demand shows no signs of easing (2025)

https://ieefa.org/resources/slump-eastern-australia-gas-demand-shows-no-signs-easing
3•thunderbong•53m ago•1 comments

Focus Is the Main Feature: Why I Miss the Old Claude Code

https://alexkras.com/focus-is-the-main-feature-why-i-miss-the-old-claude-code/
1•akras14•56m ago•0 comments

Centaur vs. Cyborg Being a Fisherman

1•wwolfson97•57m ago•0 comments

NVK Vulkan Video Merged for Mesa 26.3

https://www.phoronix.com/news/NVK-Vulkan-Video-Mesa-26.3
3•doener•1h ago•0 comments

Persistent RCE via BootROM and Kernel

https://github.com/lexs201992-gif/Project-LION-Manager-Provisioning-Enterprise/blob/a310e16ec48cd...
2•lexs201992-gif•1h ago•0 comments

How 'Stacks' Went from Bodybuilding and Computing to Describing Everything

https://www.nytimes.com/2026/08/13/magazine/stacks-bodybuilding-computing.html
1•bookofjoe•1h ago•0 comments

Offgrid Electric Car (2025)

https://joeyh.name/blog/entry/offgrid_electric_car/
1•gnyeki•1h ago•0 comments

Show HN: Website made $29,000 in 24 hours

https://1milllionpixels.com/
1•westche2222•1h ago•0 comments

Vintage Artificial Intelligence Collection

https://archive.org/details/vintageai
3•Unai•1h ago•0 comments

How to be psychoactive to each other

https://eirinimalliaraki.substack.com/p/how-to-be-psychoactive-to-each-other
2•jger15•1h ago•0 comments

Dr. Dre Says He Uses AI to Produce Songs

https://gizmodo.com/dr-dre-says-he-uses-ai-to-produce-songs-2000802009
2•pseudolus•1h ago•0 comments