frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

CERN uses tiny AI models burned into silicon for real-time LHC data filtering

https://theopenreader.org/Journalism:CERN_Uses_Tiny_AI_Models_Burned_into_Silicon_for_Real-Time_L...
1•TORcicada•1m ago•0 comments

Open Source Gave Me Everything Until I Had Nothing Left to Give

https://kennethreitz.org/essays/2026-03-18-open_source_gave_me_everything_until_i_had_nothing_lef...
1•ta988•2m ago•0 comments

Mysterious Trading Patterns Follow Trump into War

https://www.axios.com/2026/03/25/trump-iran-oil-insider-trading
1•karakoram•4m ago•1 comments

AI Research Is Getting Harder to Separate from Geopolitics

https://www.wired.com/story/made-in-china-ai-research-is-starting-to-split-along-geopolitical-lines/
1•joozio•5m ago•0 comments

Why This Jump in Gas Prices Feels Different

https://www.nytimes.com/2026/03/18/upshot/gas-prices-lookup.html
1•karakoram•6m ago•1 comments

Google to finance data center project leased to Anthropic

https://seekingalpha.com/news/4569914-google-to-finance-data-center-project-leased-to-anthropic
2•maneprajakta•10m ago•0 comments

Show HN: Spectator a cross platform DSL for cybersecurity

1•CzaxTanmay•12m ago•0 comments

I Caught a 3.4M Daily Download Supply Chain Attack

https://miles0sage.github.io/codeguard-mcp/blog.html
2•Miles0•15m ago•1 comments

The Superorganism Explained in 7 Minutes

https://natehagens.substack.com/p/why-the-world-feels-like-its-falling
2•shrubby•22m ago•1 comments

Simple English Wikipedia

https://simple.wikipedia.org/wiki/Main_Page
4•microflash•27m ago•1 comments

Building NetPulse: from MRTG replacement to something much bigger

https://as215855.net/posts/building-netpulse
1•miyuru•29m ago•0 comments

Over 11,000 munitions in 16 Days of the Iran War

https://www.rusi.org/explore-our-research/publications/commentary/over-11000-munitions-16-days-ir...
1•stubish•30m ago•0 comments

TUI for Vibe Coders

https://github.com/hritupitu/vibetui/tree/main
1•hritvikagarwal•38m ago•2 comments

Reducing our monorepo size to improve developer velocity

https://dropbox.tech/infrastructure/reducing-our-monorepo-size-to-improve-developer-velocity
2•vinhnx•39m ago•0 comments

CSS Refactoring with an AI Safety Net

https://danielabaron.me/blog/css-refactoring-with-an-ai-safety-net/
2•vinhnx•39m ago•0 comments

Understanding LRU Caches in Go: Part 2

https://learnwithtimi.substack.com/p/2-understanding-least-recently-used
1•giddy_dev•40m ago•0 comments

Show HN: Layer – Hide your personal AI files from Git without touching gitignore

https://crates.io/crates/git-layer
2•aungsiminhtet•56m ago•0 comments

Ask HN: Anybody tried to cheat AI-HR-system with hidden/white sentences?

3•KellyCriterion•56m ago•1 comments

Show HN: WordGen a Robust Wordlist Maker

1•CzaxTanmay•59m ago•0 comments

Ask HN: A Product Healing Agent, your thoughts?

1•gokulnair2001•1h ago•0 comments

C Preprocessor tricks, tips, and idioms

https://github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms
1•signa11•1h ago•0 comments

Engineered yeast provides rare but essential nutrition for honeybees

https://www.nature.com/articles/s41586-025-09431-y
1•ludicrousdispla•1h ago•0 comments

Tree Editor – apply and remove types without breaking your data

https://github.com/justindmassey/tree-editor
1•justindmassey•1h ago•0 comments

Llama.cpp with CUDA Support on Original Jetson Nano (4GB)

https://github.com/kreier/llama.cpp-jetson
2•Abishek_Muthian•1h ago•2 comments

LLMs on a PowerPC Mac

http://www.theresistornetwork.com/2025/03/thinking-different-thinking-slowly-llms.html
1•austinallegro•1h ago•0 comments

Show HN: WordGen, a fast and easy to use wordlist generator

1•CzaxTanmay•1h ago•0 comments

Stop Guessing. Start Scaling. Land Your Dream Big Tech Offer with InterviewGPT

https://interviewgpt.deepchill.app/blogs
1•tiancaioyzy•1h ago•0 comments

Show HN: NUPA is Pax Economica, 6,480x more stable than current US economy

2•bedardbrandon89•1h ago•0 comments

Show HN: Live global gas station inventory

https://tanklevel.info/
3•t819291•1h ago•0 comments

First evidence of birth assistance in non-primates filmed (whales)

https://www.dawn.com/news/1986116
1•fork-bomber•1h ago•0 comments