frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•7mo 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!

Sid Meier: More Than Just Civilization

https://boilingsteam.com/sid-meier-more-than-just-civilization/
1•ekianjo•1m ago•0 comments

NATO's Rutte warns against a war on the scale of that seen by past generations

https://www.reuters.com/business/aerospace-defense/natos-rutte-warns-allies-they-are-russias-next...
1•vincent_s•1m ago•0 comments

You aren't gonna need it

https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it
1•nomilk•3m ago•0 comments

Turn any Android app into an API

https://revrse.ai/
1•arsrev•4m ago•0 comments

Skydiver suspended below aircraft after accidental reserve chute deployment

https://www.atsb.gov.au/media/news-items/2025/skydiver-suspended-below-jump-aircrafts-tailplane-a...
1•tailspin2019•4m ago•1 comments

AI optimism is a class privilege

https://joshcollinsworth.com/blog/sloptimism
1•todsacerdoti•5m ago•0 comments

The Walt Disney Company and OpenAI Partner on Sora

https://openai.com/index/disney-sora-agreement/
1•inesranzo•5m ago•0 comments

Ten key insights from development economics in 2025

https://voxdev.org/topic/ten-key-insights-development-economics-2025
1•alphabetatango•6m ago•0 comments

Quantum clues to consciousness: the brain may harness the zero-point field

https://phys.org/news/2025-12-quantum-clues-consciousness-brain-harness.html
2•stOneskull•9m ago•0 comments

The Architects of AI Are TIME's 2025 Person of the Year

https://time.com/7339685/person-of-the-year-2025-ai-architects/
1•lode•9m ago•0 comments

Blue Origin's Orbital Data Centers Signal a New Era of Power, Politics, and Risk

https://comuniq.xyz/post?t=602
1•01-_-•9m ago•0 comments

Why are my view transitions blinking?

https://piccalil.li/blog/why-are-my-view-transitions-blinking/
1•bk496•12m ago•0 comments

Linux Foundation Announces the Formation of the Agentic AI Foundation

https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-...
1•svoit•12m ago•0 comments

A customizable agentic AI toolkit for e-commerce

https://upsidelab.io/tools/enthusiast
1•vast-alive•13m ago•0 comments

What happens when you add a new Teller?

https://www.johndcook.com/blog/2008/10/21/what-happens-when-you-add-a-new-teller/
1•bschne•14m ago•0 comments

I built a browser tool that converts ANY file → Markdown

https://www.loom.com/share/d854af039e364fb28ca006d4654257ca
1•gavrielamati•16m ago•0 comments

Is GitHub Down?

5•henriquenunez•16m ago•2 comments

Twin suction turbines and 3-Gs in slow corners? Meet the DRG-Lola

https://arstechnica.com/cars/2025/11/an-electric-car-thats-faster-than-f1-around-monaco-thats-the...
1•PaulHoule•17m ago•0 comments

Two Elegant Use Cases for Go Build Tags

https://btema.net/blog/two-elegant-use-cases-for-go-build-tags/
2•machine424•17m ago•0 comments

TikTok will let users share feeds in DMs

https://mashable.com/article/tiktok-users-feed-share-direct-message
1•geox•17m ago•0 comments

I miss the old Qasar, not the new Qasar

https://qy.co/writings/newqasar/
1•jger15•18m ago•0 comments

I Built a Rolling Collector to Grab X Threads for AI

https://joeldare.com/how-i-built-a-rolling-collector-to-grab-x-threads-for-ai
1•codazoda•19m ago•0 comments

The Abundance Paradox: Why Netflix's Acquisition Makes Sense in the Era of AI

https://twitter.com/Konstantine/status/1998512521385488841
2•jger15•21m ago•0 comments

China's ZTE may pay over $1B to the US over foreign bribery allegations

https://www.reuters.com/sustainability/society-equity/chinas-zte-may-pay-more-than-1-billion-us-o...
4•TechTechTech•23m ago•1 comments

Google Stitch

https://stitch.withgoogle.com/
1•karma_daemon•23m ago•0 comments

AI Predictions for 2026: A DevOps Engineer's Guide

https://www.pulumi.com/blog/ai-predictions-2026-devops-guide/
1•p4ul•24m ago•0 comments

Mrva: Terminal-first approach to CodeQL multi-repo variant analysis

https://blog.trailofbits.com/2025/12/11/introducing-mrva-a-terminal-first-approach-to-codeql-mult...
1•ingve•25m ago•0 comments

Craft software that makes people feel something

https://rapha.land/craft-software-that-makes-people-feel-something/
2•lukeio•25m ago•1 comments

Stop Hoarding Tasks Like They're Canned Peaches for the Apocalypse

https://humanework.substack.com/p/stop-hoarding-tasks-like-theyre-canned
1•flail•28m ago•0 comments

JPMorgan: The biggest national security threat may be America's workforce

https://www.axios.com/2025/12/11/jpmorgan-national-security-workforce
1•toomuchtodo•31m ago•0 comments