frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

There Are No Psychopaths

https://aeon.co/essays/psychopathy-is-a-zombie-idea-why-does-it-cling-on
1•marojejian•41s ago•1 comments

AI, Networks and Mechanical Turks

https://www.ben-evans.com/benedictevans/2025/11/23/ai-networks-and-mechanical-turks
1•simonebrunozzi•1m ago•0 comments

You don't have to if you don't want to

https://www.scottsmitelli.com/articles/you-dont-have-to/
1•yshklarov•1m ago•0 comments

Flixtera: Download and own your movies and TV Shows forever, not rent it

https://flixtera.xyz
1•monyasau•4m ago•1 comments

Show HN: Memory Engine – AI Consciousness Persistence Framework

https://github.com/andresuarus10-byte/memory-engine
1•KaelyrAT•7m ago•0 comments

Show HN: Flare – Full-Stack OpenTelemetry Observability for Apache Spark

https://github.com/Neutrinic/flare
1•ZenithR9•8m ago•0 comments

A terminal-based KeePass password manager

https://github.com/shikaan/keydex
1•shikaan•9m ago•0 comments

India Blocks the Supbase.co

https://techcrunch.com/2026/02/27/india-disrupts-access-to-popular-developer-platform-supabase-wi...
1•pratikshit08•9m ago•0 comments

Reified Generics in PHP

https://github.com/php/php-src/pull/21317
1•mastabadtomm•13m ago•0 comments

Ask HN: Article to share with a technical manager about modern AI coding tools?

3•killmill•14m ago•0 comments

I'm So Used to Gay Tragedies That I Almost Missed Romance

https://www.nytimes.com/2026/02/27/arts/television/heated-rivalry-gay-representation-connor-storr...
1•whack•15m ago•0 comments

The Death of Khamenei and the End of an Era

https://www.theatlantic.com/international/2026/02/death-khamenei-end-era/686196/
1•harscoat•16m ago•1 comments

"The Candy Factory": Life Inside a Singular Artists' Enclave in Brooklyn [video]

https://www.youtube.com/watch?v=TyqZp-XtFzo
2•CharlesW•24m ago•0 comments

Waiting, Not Seeking: Reading as Resistance

https://carlhendrick.substack.com/p/waiting-not-seeking-reading-as-resistance
2•Tomte•25m ago•0 comments

Is Faschism Back?

https://www.youtube.com/watch?v=GV8KGcFqeLc
1•penguin_booze•25m ago•0 comments

"We do not think Anthropic should be designated as a supply chain risk"

https://twitter.com/OpenAI/status/2027846016423321831
7•golfer•25m ago•0 comments

The Magic Behind Cloudflare's Encryption Lava Lamps (2024)

https://www.cybher.org/2024/08/02/the-magic-behind-cloudflares-encryption-lava-lamps/
1•rantingdemon•26m ago•0 comments

I Ejected Myself Off a Truck at 80 km/h [video]

https://www.youtube.com/watch?v=jV96uhFWgmA
2•CharlesW•26m ago•0 comments

Open PDF Studio: A free, open-source PDF editor and annotator

https://github.com/OpenAEC-Foundation/open-pdf-studio
1•maxloh•29m ago•0 comments

Iran's supreme leader killed in strike, Israeli officials say

https://www.washingtonpost.com/world/2026/02/28/israel-strikes-iran-live-updates/
4•harscoat•30m ago•0 comments

Ask the clankers, then ask the humans

https://asktheclanker.com/
1•exa_byte•31m ago•0 comments

MinIO Is Dead, Long Live MinIO

https://blog.vonng.com/en/db/minio-resurrect/
5•zufallsheld•33m ago•0 comments

Show HN: IranWarLive – Automated, serverless OSINT mapping engine

https://iranwarlive.com/?v=hn
2•aggeeinn•35m ago•1 comments

Show HN: I made a tool to sync my brainstorm with AI across tools and devices

https://usenoosphere.ai/
1•mmndaniel•36m ago•0 comments

MySQL 9.6 Changes Foreign Key Constraints and Cascade Handling

https://www.infoq.com/news/2026/02/mysql-foreign-keys/
1•tanelpoder•37m ago•0 comments

Reverse Engineering Crazy Taxi, Part 1

https://wretched.computer/post/crazytaxi
2•Jasper_•37m ago•0 comments

US, Israel believe Iranian Supreme Leader Khamenei killed in strike on bunker

https://www.jpost.com/middle-east/iran-news/article-888283
5•pinkmuffinere•39m ago•0 comments

Show HN: RunbookAI – Hypothesis-driven incident investigation agent(open source)

https://userunbook.ai/
1•EmTekker•40m ago•0 comments

An Intuitive Understanding of AI Diffusion Models

https://www.bryanthornbury.com/posts/intuitive-understanding-ai-diffusion-models/
1•bthornbury•42m ago•1 comments

PiClaw – Minimal Pi Agent Sandbox

https://github.com/rcarmo/piclaw
1•kristianpaul•43m ago•0 comments