frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Freelancers Not Delivering

1•sushrut1058•59s ago•0 comments

500 AI prompts scored across 8 quality dimensions. None passed

https://promptqualityscore.com/blog/500-ai-prompts
1•onchainintel•1m ago•0 comments

Twenty: The open alternative to Salesforce, designed for AI

https://github.com/twentyhq/twenty
1•thunderbong•2m ago•0 comments

Brick Farm Simplifies X API

https://buy.stripe.com/dRm5kD4y4eIo3skfSKb7y02
1•Quantumfields•2m ago•0 comments

The invisible engineering behind Lambda's network

https://www.allthingsdistributed.com/2026/04/the-invisible-engineering-behind-lambdas-network.html
2•mjb•5m ago•0 comments

It's None of Your Business

https://docs.eventsourcingdb.io/blog/2026/04/23/its-none-of-your-business/
2•goloroden•5m ago•0 comments

Who Gets to Stay Human – The AI hype, stripped of the hype

https://www.gailweiner.com/post/who-gets-to-stay-human-the-ai-hype-stripped-of-the-hype
2•speckx•6m ago•0 comments

Hindsight Reaches 10k GitHub Stars: The Community's Choice for Agent Memory

https://hindsight.vectorize.io/blog/2026/04/22/hindsight-10k-stars
2•benbbenb•7m ago•0 comments

Crypto Billionaire Justin Sun Accuses World Liberty of 'Criminal Extortion'

https://www.wsj.com/finance/currencies/crypto-billionaire-accuses-trump-familys-world-liberty-of-...
2•fortran77•7m ago•1 comments

Web Stalker – an artist-made browser that ignored images and formatting (1998)

https://anthology.rhizome.org/the-web-stalker
1•rfarley04•8m ago•0 comments

Show HN: Legal Action Boundary Eval for agentic legal workflows

https://github.com/bigkan8/legal-action-boundary-eval
1•kankouadio_vx•10m ago•1 comments

The Macroeconomic Effects of Tariffs: Insights from 180 Years of Trade Policy

https://www.nber.org/papers/w35102
1•paulpauper•10m ago•0 comments

Javokhir Sindarov's secret weapon – his coach IM Roman Vidonyak

https://www.chessbase.in/news/the-coach-of-javokhir-sindarov-roman-vidonyak
1•paulpauper•11m ago•0 comments

Former Employee Sues MrBeast's Company over Harassment Claims

https://www.nytimes.com/2026/04/22/business/mrbeast-lawsuit-harassment-claims.html
1•artsandsci•11m ago•1 comments

The Praxian Genocidal Kill Chain – Part 1

https://unlimitedhangout.com/2026/04/investigative-series/praxian-kill-chain-part-1/
1•jules-jules•11m ago•0 comments

The power keeping wages low: Planet Money

https://www.npr.org/sections/planet-money/2026/04/21/g-s1-118071/the-hidden-power-keeping-wages-low
3•paulpauper•11m ago•0 comments

Apple's New CEO Has a Background in VR, but Is Reportedly Bearish on Vision Pro

https://www.roadtovr.com/apple-new-ceo-bearish-on-vision-pro/
4•LorenDB•14m ago•1 comments

Ask HN: How do people use coding agents?

1•0-bad-sectors•14m ago•2 comments

Claude Code /ultrareview

https://code.claude.com/docs/en/ultrareview
1•patrickdet•15m ago•0 comments

Chrome tab bar organizer for localhost

1•alexfg93•16m ago•2 comments

Allbirds goes soleless and pivots to AI

https://mashable.com/article/allbirds-ai-pivot-shoes-artificial-intelligence
1•likhitkumar•17m ago•0 comments

Amtrak Trains

https://walzr.com/amtrak-trains
2•jbegley•17m ago•0 comments

Building AI-First at Intercom (With Claude Code and Rails) [video]

https://www.youtube.com/watch?v=ADBs2K5Tpz0
1•robbyrussell•18m ago•1 comments

Introduction to Parsing [pdf]

https://web.stanford.edu/class/cs143/lectures/lecture05.pdf
2•Eridanus2•19m ago•0 comments

Con: A Terminal with A harness

https://github.com/nowledge-co/con-terminal
1•wey-gu•19m ago•1 comments

Extrapolated Futures Archive

https://urubos.github.io/efa-site/
1•bookofjoe•21m ago•0 comments

Show HN: Chess of Minds, a chess game where every piece is an AI agent

https://chessminds.fun
1•anoop4bhat•21m ago•0 comments

Rundock – Get your own AI team

https://rundock.ai/
1•curiousape•21m ago•0 comments

Scores decline again for 13-year-old students in reading and mathematics

https://www.nationsreportcard.gov/highlights/ltt/2023/
8•u1hcw9nx•22m ago•1 comments

Trees, from Pierre

https://trees.software/
1•handfuloflight•25m ago•0 comments