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!

Show HN: Electrical Grid Mapping Launchpad

https://MapYourGrid.org/map-it/
1•andreashd11•5m ago•0 comments

DeepSeek-OCR Visualized

https://medium.com/advanced-deep-learning/deepseek-ocr-fully-visualised-843e2ba03976
1•coarchitect•6m ago•2 comments

Show HN: Generate Claude Code Workflows using Spec Driven Development approach

2•sermakarevich•8m ago•0 comments

Understand Vision Language Models

https://medium.com/advanced-deep-learning/how-ai-sees-and-reads-visualising-vision-language-model...
1•coarchitect•9m ago•1 comments

Show HN: AT4K Launcher - Apple TV inspired Launcher for Android TVs

https://at4klauncher.com
1•avadhesh18•9m ago•0 comments

Racket v9.2 is now available

https://blog.racket-lang.org/2026/05/racket-v9-2.html
1•spdegabrielle•10m ago•1 comments

Dirk and Linus discuss AI and kernel development

https://lwn.net/SubscriberLink/1073761/289a4e5513688987/
2•chmaynard•11m ago•0 comments

The lost Doves Type: A Thames mystery solved

https://www.londonmuseum.org.uk/blog/doves-type-thames-mystery-mudlarking/
1•ColinWright•12m ago•0 comments

Back from 1 week in SF from Paris

https://www.poxx.net/weblog/2026/05/back-from-san-francisco-s10e02.html
2•madflo•13m ago•1 comments

The Problem with the Ferrari Luce EV Offers a Lesson for Every Leader

https://www.inc.com/connor-jewiss/the-problem-with-the-ferrari-luce-ev-offers-a-lesson-for-every-...
3•connorjewiss•15m ago•0 comments

OLM to PST Converter PDS OLM to PST Converter

https://www.perfectdatasolutions.com/en/olm/olm-to-pst-converter.html
1•tieanderson•16m ago•1 comments

Norway will come under France's nuclear umbrella

https://www.reuters.com/world/europe/norway-will-come-under-frances-nuclear-umbrella-leaders-say-...
2•JumpCrisscross•20m ago•0 comments

China works on AI token futures market

https://www.reuters.com/world/china/china-works-ai-token-futures-market-sources-say-race-with-us-...
2•StromFLIX•22m ago•2 comments

The Thirty-Million-Line Problem (2015)

https://caseymuratori.com/blog_0031
1•tosh•23m ago•0 comments

Show HN: Open-source tool for deploying applications to K8s/OpenShift

https://github.com/nixys/nxs-universal-chart
2•nixys_nxs•27m ago•0 comments

The Witcher 3: Wild Hunt – Songs of the Past Announced

https://www.cdprojekt.com/en/media/news/the-witcher-3-wild-hunt-songs-of-the-past-announced/
1•marksully•27m ago•0 comments

Show HN: Reassign – a 24-hour dial for planning your day

https://reassign.app
4•smuk3c•27m ago•6 comments

Mistral AI Launches Mistral Vibe

https://mistral.ai/fr/products/vibe
2•greengirl_8•29m ago•0 comments

Local-first: rebuilding a read-later app with PowerSync and SQLite

https://slax.com/blog/local-first-slax-reader/
1•wulujia•29m ago•0 comments

Superpowers: An Agentic Skills Framework for AI Coding Workflows

https://github.com/obra/superpowers
1•v-mdev•31m ago•0 comments

Let Equals Equal Equals

https://bennypowers.dev/posts/let-equals-equal-equals/
1•bennypowers•38m ago•0 comments

The Trust Model Is Flipping

https://www.mindstudio.ai/blog/human-written-code-vs-ai-reviewed-code-trust-model-flip
1•My_Name•39m ago•1 comments

FBI Pulled Deleted Signal Messages from an iPhone Without Breaking Encryption

https://www.forbes.com/sites/larsdaniel/2026/04/10/fbi-pulled-deleted-signal-messages-from-an-iph...
3•maxloh•40m ago•1 comments

The state of curl 2026 with Daniel Stenberg [video]

https://www.youtube.com/watch?v=zt4qMZN2xDU
2•andrewnez•40m ago•0 comments

Superpowers: The Anatomy of an Agent Skill

https://www.akashtandon.in/interactive-explainers/superpowers/
1•akashtndn•46m ago•0 comments

Iran's Internet is partially restored, Cloudflare Radar data shows

https://blog.cloudflare.com/iran-internet-partially-restored-may-2026/
3•tjek•49m ago•0 comments

Itworksbetter – 7 functions to give any Python script a browser UI

https://pypi.org/project/itworksbetter/
2•eyyeyeyeyeyey•50m ago•0 comments

Validate a physical product idea in 15 minutes with a free GPT

https://chatgpt.com/g/g-68222a55dd44819190792eabb6b239f2-product-idea-validator-from-concept-to-l...
2•btndave•56m ago•0 comments

Lament for the MIT Libraries

https://fnl.mit.edu/may-june-2026/lament-for-the-mit-libraries/
2•Michelangelo11•56m ago•0 comments

The PHP Foundation Impact and Transparency Report 2025

https://thephp.foundation/blog/2026/05/27/impact-and-transparency-report-2025/
3•moebrowne•56m ago•0 comments