frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

How to Statistically Never Lose in Wordle Again

https://kuber.studio/blog/Post-Extended/How-to-Statistically-Never-Lose-in-Wordle-Again
1•kuberwastaken•1m ago•0 comments

Mosa Cloud

https://mosa.cloud
1•maelito•3m ago•0 comments

Unix V4 tape from University of Utah (raw)

https://archive.org/details/utah_unix_v4_raw
1•doener•8m ago•0 comments

TidesDB Outpaces RocksDB by 4x in Seek Performance Through Aggressive Caching

https://news.lavx.hu/article/tidesdb-outpaces-rocksdb-by-4x-in-seek-performance-through-aggressiv...
1•alexpadula•12m ago•0 comments

A16Z Infra Reading List

https://a16z-infra.github.io/reading-list/
1•cromulent•13m ago•0 comments

Rssrssrssrss – Combine Multiple RSS Feeds into One

https://www.rssrssrssrss.com/
1•twapi•14m ago•0 comments

Death by a Thousand Cycles – Micro-Optimizations in TidesDB v7.0.4

https://tidesdb.com/articles/tidesdb704-death-by-a-thousand-cycles/
1•alexpadula•14m ago•0 comments

Ask HN: How to get good at RAW image editing?

2•leononame•17m ago•0 comments

Mapping the Semiconductor Supply Chain: The Critical Role of the Indo-Pacific

https://www.csis.org/analysis/mapping-semiconductor-supply-chain-critical-role-indo-pacific-region
1•pera•17m ago•0 comments

Framework anounces another DDR5 RAM price hike, will now charge $10 per GB

https://www.theverge.com/news/850376/framework-ram-memory-ddr5-price-hikes
3•almog•21m ago•0 comments

Show HN: Good (BANG) – a love‑first UI toolbelt: bang tags, no build, no VDOM

https://crisdosaygo.github.io/good.html/
1•keepamovin•21m ago•1 comments

Shipping at Inference Speed

https://steipete.me/posts/2025/shipping-at-inference-speed
1•dvrp•24m ago•0 comments

Prompts are becoming part of the system, but we still write them like strings

2•hoangnnguyen•24m ago•1 comments

Pre, Mid, Post-Training Way of Life

https://fakepixels.substack.com/p/pre-mid-post-training-way-of-life
1•corford•26m ago•0 comments

Show HN: Patchy – Manage long-lived forks as patch sets

https://github.com/richardgill/patchy
1•richardgill88•27m ago•1 comments

After "AI": Anticipating a post-LLM science and technology revolution

https://www.evalapply.org/posts/after-ai/index.html
1•adityaathalye•28m ago•1 comments

The New Surveillance State Is You

https://www.wired.com/story/expired-tired-wired-surveillance-state/
1•fleahunter•29m ago•0 comments

Greener – lean and mean test result explorer

https://github.com/cephei8/greener
1•cephei8•36m ago•0 comments

Show HN: Zen List – Tools that keep you from going crazy

http://postmake.io/zen-list
1•Malfunction92•44m ago•0 comments

Git analytics that works across GitHub, GitLab, and Bitbucket

1•akhnid•44m ago•2 comments

Ask HN: Is it enough to use XOR encryption for my journal app?

1•finnvyrn•45m ago•0 comments

The Beauty of Batteries

https://worksinprogress.co/issue/the-beauty-of-batteries/
1•pietergaricano•45m ago•0 comments

Adopting AI Atomically

https://jeremyjaydan.au/adopting-ai-atomically/
1•JeremyJaydan•45m ago•0 comments

Show HN: Md driven local project management software

https://dotodo.dev/
1•leCaptain•48m ago•0 comments

Market design can feed the poor

https://worksinprogress.co/issue/how-market-design-can-feed-the-poor/
1•ortegaygasset•49m ago•0 comments

Show HN: Hubfly Space: A Deep Dive into Its Architecture

https://hubfly.space/blog/architecture
1•octave12•49m ago•0 comments

Feynman's Hughes Lectures: 950 pages of notes

https://thehugheslectures.info/the-lectures/
2•gnubison•50m ago•0 comments

Ethereum Watchtower Real-time blockchain analysis

https://rnts08.github.io/eth-watchtower/
1•rnts08•51m ago•1 comments

Musk's DOGE Failed to Slash Government Spending, It Led to a 6% Increase

https://offthefrontpage.com/musks-doge-failed-to-slash-government-spending-instead-leading-to-a-6...
14•robtherobber•53m ago•1 comments

What does Uncle GitHub think about YOUR code?

1•chalhat•57m ago•0 comments