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!

PlainMarkdown v1.6: Clean conversion on heavy sites, AI actions and Exports

https://plainmarkdown.com
1•p_bits•1m ago•1 comments

The Ask

https://randsinrepose.com/archives/the-ask/
1•digitallogic•2m ago•0 comments

Build with Modern Web Guidance

https://developer.chrome.com/docs/modern-web-guidance
1•spking•2m ago•0 comments

Show HN: NanoApps: Run custom homebrew apps on iPod nano 7th generation

https://twitter.com/freemyipod/status/2058920520708468974
1•user890104•6m ago•0 comments

Liquid processed more transactions in three months than it did in all of 2024

https://blog.liquid.net/liquid-federation-quarterly-update-q1-2026/
1•janandonly•7m ago•0 comments

xscp - Interactive scp wrapper + transfer history, fuzzy matching, TUI browsing

https://codeberg.org/LuminaNAO/xscp.git
1•javruben•8m ago•0 comments

Fast is better than slow

https://dubroy.com/blog/fast-is-better-than-slow/
1•surprisetalk•8m ago•0 comments

Grappling with AI

https://hgrsd.nl/blog/grappling-with-ai/
1•RyeCombinator•11m ago•0 comments

Greek swimmer only athlete to beat world record at controversial Enhanced Games

https://www.bbc.com/sport/articles/cx211xyd298o
1•only_in_america•12m ago•1 comments

RADV Driver Lands Support for VK_KHR_shader_fma

https://www.phoronix.com/news/RADV-VK_KHR_shader_fma
1•doener•12m ago•0 comments

Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

https://rajveerbachkaniwala.com/blog/2026/05/24/on-the-difficulty-of-pasting-a-picture/
2•rajveerb•12m ago•0 comments

Open AI and YC

https://www.marginpoints.com/issues/2026-05-20-openai-and-yc-ipo-oxygen-hacky-sack
1•historian1066•12m ago•0 comments

GrillKit – self-hosted AI technical interview trainer with voice

https://github.com/GrillKit/grillkit
1•vitchenkokir•12m ago•0 comments

Claude Mission Control *real *free

https://github.com/BEKO2210/My_Dash
1•Beko2210•13m ago•1 comments

JS Crossword: a crossword where the clue = eval(answer)

https://lyra.horse/fun/jscrossword/
1•thunderbong•13m ago•0 comments

Java Card

https://en.wikipedia.org/wiki/Java_Card
2•tosh•17m ago•0 comments

LPeg – Parsing Expression Grammars for Lua

https://www.inf.puc-rio.br/~roberto/lpeg/
1•tosh•18m ago•0 comments

One-and-Done Heart Disease Prevention? Scientists Show It May Be Possible

https://www.nytimes.com/2026/05/25/health/cholesterol-ldl-gene-therapy.html
1•brandonb•19m ago•0 comments

Regular Expression Matching Can Be Simple and Fast (2007)

https://swtch.com/~rsc/regexp/regexp1.html
1•tosh•20m ago•0 comments

I tracked London housing data: We are staying in our homes for 10 years

https://area360.uk/blog/27-how-long-londoners-stay
1•clean_field•21m ago•0 comments

Washington Diary

https://worksinprogress.co/issue/a-washington-diary/
1•surprisetalk•23m ago•0 comments

The Cost of Safetyism

https://stevemagness.substack.com/p/the-cost-of-safetyism
3•obscurette•23m ago•0 comments

The Coming Coordination Calamity

https://surfingcomplexity.blog/2026/05/24/the-coming-coordination-calamity/
1•azhenley•24m ago•0 comments

Why most engineers design systems too early

https://thescalableengineer.substack.com/p/why-most-engineers-design-systems
2•lucyb0207•24m ago•0 comments

Show HN: Smriti: Shared Reasoning State for Claude Code and Codex

https://github.com/himanshudongre/smriti/
1•himanshudongre•25m ago•0 comments

Kirill Dmitriev, the Magician of the Kremlin

https://www.theatlantic.com/international/2026/05/russia-putin-kirill-dmitriev/687283/
1•chmaynard•28m ago•0 comments

The problem with Rust for back end services

https://kerkour.com/rust-backend-services-problems
3•randomint64•28m ago•0 comments

Vitalik Buterin on the future of the Ethereum Foundation

https://twitter.com/VitalikButerin/status/2058583593102844111
1•bushwart•29m ago•0 comments

On Grindslop – By Will Manidis

https://minutes.substack.com/p/on-grindslop
2•karakoram•29m ago•0 comments

SQLite-Vector now with Google TurboQuant for a 38x speedup

https://github.com/sqliteai/sqlite-vector
2•marcobambini•29m ago•0 comments