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!

Observability Stack – AI First?

1•jblake•10m ago•0 comments

Any Color You Like: NIST Scientists Create 'Any Wavelength' Lasers

https://www.nist.gov/news-events/news/2026/04/any-color-you-nist-scientists-create-any-wavelength...
1•rbanffy•11m ago•0 comments

Show HN: Reliably Incorrect – explore LLM reliability with data visualizations

https://adamsohn.com/reliably-incorrect/
2•dataviz1000•11m ago•1 comments

The Destroyed Remnants of a Lost World Are Falling to Earth, Scientists Discover

https://www.404media.co/the-destroyed-remnants-of-a-lost-world-are-falling-to-earth-scientists-di...
2•Brajeshwar•15m ago•0 comments

Vynly an AI-only social feed with provenance checks (beta)

https://vynly.co
1•nftdude2024•16m ago•0 comments

SDF Public Access Unix System

https://sdf.org/?ssh
2•neehao•17m ago•0 comments

Open-source Firecracker microVM orchestrator

https://github.com/sahil-shubham/bhatti
2•davidcollantes•17m ago•0 comments

Tinypki: Easy to use software for local CA/PKI management

https://github.com/icedevml/tinypki
1•msm_•20m ago•0 comments

Eating more fruits and vegetables tied to unexpected lung cancer risk

https://www.sciencedaily.com/releases/2026/04/260417224454.htm
1•amichail•20m ago•0 comments

How (and why) we rewrote our production C++ front end infrastructure in Rust

https://blog.nearlyfreespeech.net/2026/04/17/how-and-why-we-rewrote-our-production-c-frontend-inf...
2•maxloh•22m ago•0 comments

Optimizing Ruby Path Methods

https://byroot.github.io/ruby/performance/2026/04/18/faster-paths.html
2•weaksauce•23m ago•0 comments

Wishes for Ron Conway

https://om.co/2026/04/18/wishes-for-ron-conway/
3•rmason•24m ago•0 comments

Show HN: Coelanox – auditable inference runtime in Rust (BERT runs today)

https://www.coelanox.com/
1•Shark1n4Suit•28m ago•0 comments

The largest collection of black markers

https://www.prune.dirt.fyi/p/prune-getting-high-on-your-own-supply
2•zeech•28m ago•0 comments

Nuke Engineer Rants

https://nukerants.fi/index.php/cover
3•DamonHD•30m ago•0 comments

PostgreSQL production incident caused by transaction ID wraparound

https://www.sqlservercentral.com/articles/i-too-have-a-production-story-a-downtime-caused-by-post...
3•tcp_handshaker•31m ago•0 comments

Show HN: I built a tool that reads 2000 health studies a day so you dont have to

https://www.polivora.com
1•ledil•36m ago•3 comments

Shiplog – Push changelogs from your terminal or let AI write them

https://shiplog.page/
1•EgorNaumenko•36m ago•0 comments

How Unique Are Mythos's Hacking Capabilities?

https://jonathanpgabor.substack.com/p/how-unique-are-mythoss-hacking-capabilities
1•BenPace•37m ago•1 comments

How Long Can You Keep Peptides After Reconstitution?

https://www.robustenough.com/p/psychedelics-arent-just-serotonin
1•BenPace•38m ago•0 comments

Why Do LLMs Suck at Editing?

https://lifeimprovementschemes.substack.com/p/why-do-llms-suck-at-editing
1•BenPace•38m ago•2 comments

How did you land your first projects as a solo engineer/consultant?

https://crescita.cc/
2•modelcroissant•41m ago•1 comments

Output Isn't Design

https://twitter.com/karrisaarinen/status/2045257582470983691
1•rmason•41m ago•0 comments

Urban Exploration Resource

https://www.uer.ca/
1•Cider9986•41m ago•0 comments

Rare 1897 Film Discovered Features the First On-Screen Appearance of a Robot

https://www.smithsonianmag.com/smart-news/rare-1897-film-discovered-in-an-old-trunk-in-michigan-f...
1•rmason•42m ago•0 comments

IIDX and Tetris lovers, here's a puzzle game for you

https://kully.itch.io/complete-the-square
2•akully•42m ago•2 comments

Zevism

https://ancient-forums.com/
1•yhugfdrthh•43m ago•0 comments

Great white sharks are overheating

https://insideclimatenews.org/news/16042026/great-white-sharks-ocean-warming/
2•Cider9986•44m ago•0 comments

Ask HN: Has zooming out helped you deal with AI anxiety?

1•ItsClo688•44m ago•0 comments

Lessons from running 14 AI agents in production for 6 months

https://orgtp.com/blog/the-weight-is-wrong-without-it
1•dsteel•54m ago•0 comments