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!

AutoContext: closed-loop system for improving agent behavior over repeated runs

https://github.com/greyhaven-ai/autocontext
1•frozenseven•3m ago•0 comments

Autoresearch Home

https://ensue-network.ai/autoresearch
1•vinhnx•4m ago•0 comments

BYD's 5 min fast charging, 500 mile range luxury EV is headed overseas

https://electrek.co/2026/03/13/byd-ev-with-5-min-charging-500-miles-range-heads-overseas/
2•breve•4m ago•0 comments

Show HN: A Claude Skill that teaches Rails conventions for LLM calls

https://github.com/rubyonai/rails-llm-integration
1•nagstler•8m ago•0 comments

(Media over QUIC) on a Boat

https://moq.dev/blog/on-a-boat/
1•mmcclure•9m ago•0 comments

Monty Python Got It Wrong About Medieval Disease

https://www.sciencedaily.com/releases/2026/03/260313002645.htm
2•bookmtn•10m ago•0 comments

Mega-OS – 38-agent operating system that runs inside Claude Code

https://github.com/sly-the-fox/mega-os-public
1•slythefox•11m ago•1 comments

$2B nonprofit grants traced to find who's behind age verification bills

https://old.reddit.com/r/linux/comments/1rshc1f/i_traced_2_billion_in_nonprofit_grants_and_45/
1•spaghetdefects•14m ago•0 comments

Elon Musk's Ketamine Use Can't Be Probed in OpenAI Fraud Trial

https://www.bloomberg.com/news/articles/2026-03-13/elon-musk-s-ketamine-use-can-t-be-probed-in-op...
1•caaqil•14m ago•0 comments

Show HN: SupplementDEX – The Evidence-Based Supplement Database

https://supplementdex.com/
1•richarlidad•15m ago•0 comments

Show HN: I built an interactive 3D three-body problem simulator in the browser

https://structuredlabs.github.io/threebodyproblem/
1•amrutha_•16m ago•1 comments

The Egg (2009)

https://www.galactanet.com/oneoff/theegg_mod.html
1•basilikum•16m ago•0 comments

What happens when an autonomous robotaxi gets into an accident?

https://twitter.com/seventensuited/status/2032134435924295805
1•paulnpace•17m ago•0 comments

The Collapse of the Incentive to Make

https://www.carlos-menezes.com/posts/collapse-of-the-incentive-to-make
1•carlos-menezes•19m ago•0 comments

Spotify Silently Updates Itself (and How to Stop It)

https://duckass.bearblog.dev/how-spotify-silently-updates-itself-and-how-to-stop-it/
1•lschueller•21m ago•1 comments

Let the Code Do the Talking

https://sunilpai.dev/posts/after-wimp/
1•aratahikaru5•22m ago•0 comments

RAM: WTF? (2025)

https://gamersnexus.net/news/ram-wtf
1•pabs3•24m ago•0 comments

Sniffer dogs can detect wildlife trafficking via shipping container air samples

https://phys.org/news/2026-02-sniffer-dogs-wildlife-trafficking-shipping.html
1•PaulHoule•25m ago•0 comments

Instagram to discontinue end-to-end encryption for DMs

https://www.androidpolice.com/instagram-is-getting-rid-of-end-to-end-encryption-for-dms/
2•zugi•26m ago•0 comments

Gallo-Roman dodecahedron: twelve faces, zero answers?

https://nunc.ch/en/gallo-roman-dodecahedron-twelve-faces-zero-answers/
1•az09mugen•28m ago•0 comments

What Does Extreme Wealth Do to the Brain?

https://nymag.com/intelligencer/article/what-does-extreme-wealth-do-to-the-brain.html
1•pseudolus•28m ago•1 comments

Microplastics that accumulate in the body may 'clog up' immune cells

https://www.livescience.com/health/microplastics-that-accumulate-in-the-body-may-clog-up-immune-c...
1•jhncls•29m ago•0 comments

Our Experience with I-Ready

https://moultano.wordpress.com/2026/03/12/our-experience-with-i-ready/
3•barry-cotter•30m ago•1 comments

New gel-based system allows bacteria to act as bioelectrical sensors

https://news.rice.edu/news/2026/new-gel-based-system-allows-bacteria-act-bioelectrical-sensors
1•geox•30m ago•0 comments

Prairieland 19 Case Update

https://www.wewillfreeus.org/prairieland-19-case-update/
1•pabs3•31m ago•0 comments

AMD: WTF? [video]

https://www.youtube.com/watch?v=uJcf2UGCH1w
2•pabs3•33m ago•0 comments

Benchmarking Language Modeling for Lossless Compression of Full-Fidelity Audio

https://arxiv.org/abs/2603.08683
2•ogurechny•33m ago•0 comments

How we compare model quality in Cursor

https://cursor.com/blog/cursorbench
1•gmays•36m ago•0 comments

Show HN: Pixel Press – Fast Image Converter for Windows (WebP / AVIF)

1•ghostlyInc•37m ago•0 comments

In Search of Banksy

https://www.reuters.com/investigates/special-report/global-art-banksy/
2•skibz•37m ago•0 comments