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: Minnarone – Multimodal agents that watch, listen, and react live

https://github.com/carlitose/minnarone
1•carlitose•53s ago•0 comments

Ask HN: I spent personal money on game dev. How to turn stalled project around?

1•pixelbyindex•1m ago•0 comments

Skill Router – a local-first router for large agent skill libraries

https://github.com/torakagemusha-sudo/torafirma-skill-router
1•torafirma•1m ago•0 comments

Repairing a "for parts" Canon 7D Mark II

https://boxfish.be/posts/20250403-canon-7d-mark-ii-repair/
1•Tomte•2m ago•0 comments

International Olympiad in AI opens an official medal track for AI systems

https://ioai-official.org/ai-model-track/
1•ardivekar•4m ago•0 comments

New data suggests Scotland's 48% tax rate may be losing money

https://taxpolicy.org.uk/2026/07/25/scotland-48p-top-rate-laffer-curve/
1•ivewonyoung•5m ago•0 comments

How do I get recommended on ChatGPT?

2•ayinlaolajide•5m ago•0 comments

The logic behind C declarations (and the only correct way to declare pointers)

https://moffa.xyz/posts/the-logic-behind-c-declarations.html
1•altermetax•5m ago•0 comments

Canadian lab confirms process removes 90% of long-lived nuclear waste

https://www.autonocion.com/us/canadian-lab-nuclear-fuel/
1•signa11•5m ago•0 comments

Show HN: I built a transparent terminal wrapper for unobtrusive AI

https://github.com/emosenkis/terminai
1•emosenkis•6m ago•0 comments

WTA to require all players to undergo genetic sex testing

https://www.bbc.com/sport/tennis/articles/cn4nvwl9550o
1•bookofjoe•6m ago•0 comments

The Shift Project

https://shift.hks.harvard.edu/
1•mooreds•9m ago•0 comments

X-Ray Video of My Hand Made with Stuff Bought Off Amazon

https://www.youtube.com/watch?v=GnMKzTW4edY
2•skibz•12m ago•0 comments

Magnus Played at 71% Accuracy – Or Was It 88.7%?

https://stefeev.substack.com/p/magnus-played-at-71-accuracy-or-was
1•personnon•13m ago•0 comments

CEO

https://www.lerobit.com
1•akliluart•14m ago•0 comments

Show HN: A Chrome extension for LeetCode with context-aware hints and mock in

https://leetcopilot.dev
1•alexwang24•14m ago•0 comments

Why every drawing app still looks like MacPaint [video]

https://www.youtube.com/watch?v=TedaOiRo_Qg
1•gdubs•16m ago•1 comments

Show HN: CMEM – Persistent Memory for AI Coding Agents

https://cmem.ai
1•FabianBeiner•16m ago•0 comments

Eurobridges Spijkenisse

https://en.wikipedia.org/wiki/Eurobridges_Spijkenisse
1•taubek•18m ago•0 comments

Show HN: I built an app for learning and playing Bridge

https://bridge.brannon.online
3•braxxox•22m ago•0 comments

Amicro – Premium React Micro-Transitions and Interaction Components

https://amicro.vercel.app/
1•tilt•26m ago•0 comments

Show HN: Vitrin OS – An agent-first display server with per-app isolation

https://github.com/vitrin-os/vitrin-os
1•EsTharian•30m ago•0 comments

CSV Is Never Just CSV

https://immaschinenraum.blog/en/funpark/never-just-csv/
1•derverstand•30m ago•0 comments

Park by Robot at London Gatwick Airport

https://aerospaceglobalnews.com/news/gatwick-airport-robotic-parking-stanley-robotics/
6•agotterer•31m ago•0 comments

The Woman Who Stands to Inherit Much of Jeffrey Epstein's Fortune

https://www.nytimes.com/2026/07/26/business/jeffrey-epstein-girlfriend-estate.html
2•johnbarron•31m ago•0 comments

Show HN: OpenSmith – Trace LLM pipelines locally with trace, no cloud

https://github.com/shivnathtathe/opensmith
1•shivnathtathe•34m ago•1 comments

Viral Toyota Hiring Test with Ropes and a 6-Second Time Limit

https://www.jalopnik.com/2222693/story-behind-viral-toyota-hiring-test-ropes-six-second-time-limit/
3•cf100clunk•35m ago•0 comments

Show HN: Krouter, a compliant Kubernetes Gateway API implementation

https://krouter.cloud
1•linkdd•35m ago•0 comments

Renewables overtake coal as largest source of electricity generation

https://www.deccanherald.com/india/renewables-overtake-coal-as-worlds-largest-source-of-electrici...
1•johnbarron•36m ago•0 comments

Astrallist – Instant Grocery Management

https://www.astrallist.com/
2•kushthedevmm•37m ago•1 comments