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!

I burned all my tokens researching how to save tokens

https://quesma.com/blog/custom-deep-research-pipeline/
1•bkotrys•1m ago•0 comments

Aha I don't want to lose you

https://blog.rybarix.com/2026/07/19/aha-not-lost.html
1•sandruso•6m ago•0 comments

Artificial cell with a full lifecycle has been created for the first time

https://www.theregister.com/science/2026/07/01/an-artificial-cell-with-a-full-lifecycle-has-been-...
1•GrinningFool•6m ago•0 comments

Show HN: We ranked our dev tools in Google's new AI Overviews

https://zlvox.com/blog/google-ai-overviews-2026-optimize-agentic-search
1•mraadikhokhar•10m ago•0 comments

A computer-assisted 23/33 and ε bound for the binary Goldbach exceptional set

https://goldbach-nine.vercel.app/
1•lorenzosch•14m ago•0 comments

Minecraft: Java Edition now uses SDL3

https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-4
1•ObviouslyFlamer•14m ago•0 comments

Know if a Rust rewrite is worth it (forkable business idea)

https://zozo123.github.io/rust-it-up/
1•zozo123-IB-IL2•16m ago•0 comments

Assembly Chat – Chat with Any .NET DLL

https://products.documentize.ai/assembly-chat
1•epirogov•19m ago•1 comments

Show HN: Textcaster – social networking where RSS is the protocol

https://textcaster.app
1•rmdes•19m ago•0 comments

Amdgpu performance regression in Kernel 7.0.0-28.28

https://discourse.ubuntu.com/t/amdgpu-performance-regression-in-kernel-7-0-0-28-28/85237
1•doener•24m ago•1 comments

Show HN: Marbles – a Korean marble game built with WebGL

https://plan9.kr/goosl/
1•sungchi•24m ago•0 comments

Thanks for Everything

https://github.com/helis-d/waylou
1•Emirhan123•24m ago•1 comments

Anti-AI protest reaches OpenAI HQ

https://www.msn.com/en-in/money/topstories/anti-ai-protest-reaches-openai-hq-why-protesters-left-...
3•nlpnerd•31m ago•1 comments

Mac app that offers the ability to add artificial mechanical keyboard sounds

https://apps.apple.com/us/app/funkey-mechanical-keyboard-app/id6469420677?mt=12
2•kratikanarad•33m ago•1 comments

PS5 Y2JB Autoloader:Automatically loads the kernel exploit and your elf payloads

https://github.com/itsPLK/ps5-y2jb-autoloader
1•wertyk•33m ago•0 comments

Show HN: WrumWrum – a multiplayer taxi game where you RAM rivals to steal fares

https://wrumwrum.mazurov.me/
2•untaken1583•39m ago•1 comments

The Dangers of Dimethylmercury (2019)

https://www.chemistryworld.com/opinion/the-dangers-of-dimethylmercury-/3010064.article
1•downbad_•41m ago•0 comments

Could AI Be Conscious?

https://www.theguardian.com/technology/2026/jul/19/could-ai-be-conscious
1•rwmj•44m ago•2 comments

Sonic Pi v5 Release Candidate 1

https://www.patreon.com/samaaron/posts/sonic-pi-v5-1-164093369
1•ABS•45m ago•0 comments

Show HN: Guys put QR codes on websites – offline QR decoder

https://devkram.de/these-guys-qr/
1•ulrischa•46m ago•0 comments

Thoughts of a US Factory owner competing with Chinese factories

https://www.youtube.com/watch?v=fqe39Dx-rQ0
2•lifeisstillgood•46m ago•1 comments

I joined the IndieWeb, here's what I learned

https://en.andros.dev/blog/0b8e451e/i-joined-the-indieweb-heres-what-i-learned/
2•andros•48m ago•1 comments

Show HN:MinIO-dash – MinIO admin panel after they removed the Console in 2025

https://github.com/MarceliRacis/minio-dash
2•marceliracis•50m ago•0 comments

Show HN: Akashic – A self-hosted intelligence workspace inspired by Palantir

https://github.com/CaviraOSS/Akashic
4•nullure•52m ago•0 comments

How to Watch the 2026 FIFA World Cup Finals: Spain vs. Argentina

https://www.wired.com/story/how-to-watch-the-fifa-2026-world-cup-07-19-2026/
2•joozio•1h ago•0 comments

I Make a Renaming Batch Software with a Pleasant Graphic

https://apps.microsoft.com/detail/9nl267vtkkmg?hl=en-US&gl=US
2•SolvyCode•1h ago•1 comments

Show HN: Regularly, hand-picked daily logic and number puzzles, no ads

https://regularly.co
3•deepakrb•1h ago•0 comments

AMD Ryzen 7 7700X3D Review: 3D V-Cache Gaming Performance for Less – HotHardware

https://hothardware.com/reviews/amd-ryzen-7-7700x3d-gaming-cpu-review
2•rbanffy•1h ago•0 comments

How Predictable Are Laws? – By Brian Potter

https://www.construction-physics.com/p/how-predictable-are-laws
2•rbanffy•1h ago•0 comments

Show HN: Same castle prompt, 8 LLMs, 24 procedural Three.js worlds

https://castle-bakeoff.pages.dev/
2•valhallarecords•1h ago•0 comments