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!

Clawtoberfest Contribute · Iterate · Molt

https://nesbitt.io/clawtoberfest/
1•lyoncy•2m ago•0 comments

Monty Hall Problem Simulation

https://nodesocket.github.io/monty-hall-problem-simulation/
1•nodesocket•2m ago•0 comments

Can someone explain this information theory puzzle paper in simple terms?

https://www.researchgate.net/publication/394259368_Exploring_Reinforcement_Learning_and_Informati...
1•JustSittingHere•5m ago•0 comments

Multi-Tenancy in Spring Boot: A Practical Guide

https://anomitra.me/blog/multi-tenancy-in-spring-boot-a-practical-guide/
1•shadeslayer_•6m ago•0 comments

Americans Are Falling Behind on Their $1.25T Credit-Card Bill

https://www.wsj.com/personal-finance/credit/us-credit-card-debt-af5c7c77
3•tcp_handshaker•6m ago•0 comments

Vidai – AI Gateway Written in Rust Community Edition Released

https://vidai.uk/community/
1•nagug•8m ago•0 comments

Decades of Effort Restore Steelhead and Salmon Passage on Alameda Creek

https://www.fisheries.noaa.gov/feature-story/decades-effort-restore-steelhead-and-salmon-passage-...
3•rawgabbit•11m ago•0 comments

La Fabbrica Del Terrore

https://drfmappa.substack.com/p/la-fabbrica-del-terrore
1•drpsymappa•14m ago•0 comments

ChatPaper: Explore and AI Chat with the Academic Papers

https://chatpaper.com
1•geox•15m ago•0 comments

Rothko for your current weather conditions

https://rothko.joonas.wtf/
8•jxmorris12•16m ago•1 comments

Why German trains are never on time anymore

https://www.lemonde.fr/en/international/article/2026/05/29/why-german-trains-are-never-on-time-an...
3•rawgabbit•17m ago•0 comments

Show HN: Heypi – Like OpenClaw but for Your Team (Slack, Discord, etc.)

https://github.com/hunvreus/heypi
1•hunvreus•18m ago•0 comments

Reproducible Infrastructure and Nix

https://www.heavybit.com/library/podcasts/open-source-ready/ep-38-reproducible-infrastructure-wit...
1•jmartens•19m ago•0 comments

ARM Open Sources AI-Powered Security Code Review

https://github.com/arm/metis
1•ARob109•19m ago•0 comments

What is to be done about MGLRU?

https://lwn.net/Articles/1072866/
2•infinet•19m ago•0 comments

DDS Vibe Academy – 47 free AI coding masterclasses, built by AI agents

https://ddsboston.com/pages/dds-vibe-academy
1•robert_dds•19m ago•0 comments

GNUtrition 0.33.0rc4

https://savannah.gnu.org/news/?id=10896
2•amcclure•19m ago•0 comments

DOE's Lockheed Martin nuclear-weapons M&O contract: $48B cumulative since 1993

https://www.usaspending.gov/award/27001/
2•thebuildout•21m ago•0 comments

Show HN: Heirlooms – pass your legacy to family after stop breathing

1•jojwong•21m ago•3 comments

Plume – Sensible HTTP Security Headers for Gleam Web Servers, Inspired by Helmet

https://github.com/scott-ray-wilson/plume
1•TheWiggles•22m ago•0 comments

How to make Unreal's Message Log 100 times faster

https://larstofus.com/2026/05/28/how-to-make-unreals-message-log-100-times-faster/
1•caminanteblanco•23m ago•0 comments

AI will be used to estimate age of asylum seekers from next year

https://www.bbc.co.uk/news/articles/ce3pe36qe7ro
6•vylorn•25m ago•0 comments

Hybrid local and cloud LLM stack for regulated financial document processing?

2•rem_cam•25m ago•1 comments

Heirloom.app – Keep important information in a encrypted place

1•jojwong•25m ago•0 comments

Show HN: Simple news aggregator with source bias meters

https://unbiasthenews.com
2•sammy0910•27m ago•0 comments

Ferrari bungled the design of its first EV

https://www.theverge.com/transportation/939226/ferrari-luce-design-terrible-ev-jony-ive-apple
2•Brajeshwar•27m ago•0 comments

Good to Know: Exiting an international organization

https://goodauthority.org/news/good-to-know-exiting-an-international-organization/
1•jruohonen•27m ago•0 comments

International grads three times more likely to find work in Germany

https://thepienews.com/international-grads-three-times-more-likely-to-find-work-in-germany/
1•rustoo•27m ago•1 comments

Study reveals brain circuit that keeps memories from getting mixed up

https://www.uclahealth.org/news/release/study-reveals-brain-circuit-keeps-memories-getting-mixed-up
2•bryanrasmussen•28m ago•0 comments

Ingesting 1Gbps of logs into ClickHouse for $180/month

https://www.opendata.dev/blog/ingesting-1gbps-logs-to-clickhouse/
5•apurvamehta•29m ago•0 comments