frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

Two of four code-Intel MCPs scored below grep in a benchmark I built

https://github.com/luuuc/sense/blob/main/bench/results/report-for-humans.md
1•luuuc•1m ago•0 comments

Catch Flakes on Main

https://matklad.github.io/2026/05/14/catch-flakes-on-main.html
1•ibobev•3m ago•0 comments

Mercurial, 20 years and counting: how are we still alive and kicking? [video]

https://fosdem.org/2026/schedule/event/AGWUVH-mercurial-aint-you-dead-yet/
1•ibobev•3m ago•0 comments

Why $207M in AI Spend Hasn't Fixed Corporate Slide Decks

https://octigen.com/blog/posts/2026-05-11-ai-presentation-gap/
2•m_mueller•4m ago•0 comments

Welcome to the Strip Mining Era of OSS Security

https://www.metabase.com/blog/strip-mining-era-of-open-source-security
2•salsakran•5m ago•0 comments

I tested 8 LLM models on Linux without using the GPU

https://itsfoss.com/testing-local-llms-without-gpu/
2•giuliomagnifico•5m ago•0 comments

AWS racks M3 Ultra Macs that boast specs you can't currently buy

https://www.theregister.com/off-prem/2026/05/15/aws-racks-m3-ultra-macs-that-boast-specs-you-cant...
1•Bender•5m ago•0 comments

Show HN: Message other Claude Code users with your Claude Code

https://pavanmadiraju91.github.io/answering-machine/
1•pavan_nandan•8m ago•0 comments

Show HN: We built a narrative analysis engine for fiction writers

1•homeonthemtn•8m ago•0 comments

AI research papers are getting better, and it's a big problem for scientists

https://www.theverge.com/ai-artificial-intelligence/930522/ai-research-papers-slop-peer-review-pr...
1•hkmaxpro•9m ago•0 comments

Preview Ebitengine Shaders with Luluka

https://alicegg.tech/2026/05/15/luluka
1•zer0tonin•9m ago•0 comments

When will computer hardware match the human brain? (1998)

https://www.jetpress.org/volume1/moravec.htm
2•soupspaces•12m ago•0 comments

Runtime Governance for AI Agents: Policies on Paths

https://arxiv.org/abs/2603.16586
1•reiter•14m ago•0 comments

Men use "vocal fry" more than women, counter to stereotype

https://arstechnica.com/science/2026/05/men-use-vocal-fry-more-than-women-counter-to-stereotype/
2•Bender•14m ago•0 comments

Claude Code's product lead talks usage limits, transparency, and "lean harness"

https://arstechnica.com/ai/2026/05/claude-codes-product-lead-talks-usage-limits-transparency-and-...
1•Bender•15m ago•0 comments

Principles, standards and methods – Reginald Victor Jones (1981) [video]

https://www.youtube.com/watch?v=CsfULJq3NAs&list=PLbnrZHfNEDZw-UIpDJcH_g8d6Ii84pEDs&index=1
1•pillars•16m ago•0 comments

Local photos app – like Google photos for PC

https://backy.vercel.app/
1•noamshe•16m ago•0 comments

Order of the Sinking Star Overview Trailer [video]

https://www.youtube.com/watch?v=q3PUtYGl3J0
2•robenkleene•22m ago•0 comments

Workaround for Anthropic's June 15 billing change (impacted Conductor/Superset)

https://lanes.sh/blog/claude-billing-split
5•s-xyz•22m ago•1 comments

Show HN: FlyQL: query language to filter data or generate SQL

https://github.com/iamtelescope/flyql
1•r0b3r4•23m ago•0 comments

Sandboxing Codex on Windows

https://openai.com/index/building-codex-windows-sandbox/
2•BostonGecko•25m ago•2 comments

How Rockstar fit a city into 32 megabytes of PS2 memory [video]

https://www.youtube.com/watch?v=cIbCxbrBCys
1•newswangerd•26m ago•0 comments

ScyllaDB MCP Server: What AI-Native Developer Distribution Looks Like

https://www.devexp.ai/blog/scylladb-mcp-server-case-study.html
2•uberdru•28m ago•0 comments

Toto 2.0: Time series forecasting enters the scaling era

https://www.datadoghq.com/blog/ai/toto-2/
3•joelthelion•29m ago•0 comments

Show HN: I built a free AI startup validator – it scored a dog walking app 4/10

https://tools.predictionoracle.io/
1•johnleslie_pm•32m ago•0 comments

Coal is rising in China's clean energy transition

https://thediplomat.com/2026/04/coal-is-rising-in-chinas-clean-energy-transition/
3•leonidasrup•33m ago•0 comments

MINA BTP

https://mina-btp.com
1•Elisa_Blue•36m ago•0 comments

Crypto Prediction Markets Explained

https://www.chainalysis.com/blog/crypto-prediction-markets/
1•Anon84•38m ago•0 comments

Prolog Basics Explained with Pokémon

https://unplannedobsolescence.com/blog/prolog-basics-pokemon/
1•birdculture•40m ago•0 comments

Chinese short dramas became AI content machines

https://www.technologyreview.com/2026/05/15/1137326/chinese-short-dramas-ai/
1•joozio•41m ago•0 comments