frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

HighLowTUI real-time session highs/lows for any watchlist, in your terminal

https://github.com/jach8/highlowticker-tui
1•marketeyes444•46s ago•0 comments

Trump Says He'll Sign Order to Pay TSA

https://gizmodo.com/trump-says-hell-sign-order-to-pay-tsa-2000738813
1•pseudolus•4m ago•0 comments

The Complete Guide to Deploying Rails 8 with Kamal on Hetzner

https://mooktakim.com/blog/deploying-rails-with-kamal/
1•mooktakim•4m ago•0 comments

I built a tiny CLI that writes my commit messages from Git diff

https://github.com/saccofrancesco/gitsloth
1•s4ccofr4ncesco•6m ago•0 comments

Speaking of Voxtral

https://mistral.ai/news/voxtral-tts
1•claudiug•6m ago•0 comments

Show HN: Drift – Linter for Documentation Rot

https://fiberplane.com/blog/drift-documentation-linter/
1•keturakis•10m ago•0 comments

Every Venue and Every Concert in San Diego 2026

https://www.sdconcerts.app
1•goldkey•11m ago•0 comments

A cross-shell framework for managing aliases, plugins, completions, and themes

https://github.com/g-udi/gaudi-shell
1•ahmadassaf•13m ago•1 comments

Chicago artist creates tourism posters for city's neighborhoods

https://www.chicagotribune.com/2026/03/25/chicago-neighborhood-posters/
2•NaOH•15m ago•0 comments

DataSwift – A client-side toolkit for mock data, JSON parsing, and CSV to SQL

https://data-swift-kappa.vercel.app
1•dearmmv•16m ago•0 comments

AI will test governments on jobs, training, and public trust, Hoover panels warn

https://www.hoover.org/news/ai-will-test-governments-jobs-training-and-public-trust-hoover-panels...
1•hhs•20m ago•0 comments

The Hard Problem of Consciousness: Triveritas and the Third Impossibility

https://zenodo.org/records/18930279
1•amelius•22m ago•0 comments

Apple Discontinues Mac Pro

2•alifeinbinary•22m ago•2 comments

Order Granting Preliminary Injunction – Anthropic vs. U.S. Department of War [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.465515/gov.uscourts.cand.465515.134.0.pdf
3•theindieman•22m ago•2 comments

Drift – a terminal screensaver that activates when you're idle

https://github.com/phlx0/drift
1•phlx0•25m ago•0 comments

A 100% serverless RAG that extracts complex tables better than NotebookLM

1•saurav-dev•25m ago•0 comments

Why a company is investigating rapes at an ICE detention center, not the sheriff

https://apnews.com/article/otay-mesa-immigration-center-rape-investigations-f14e4687075f84ddb52d4...
2•petethomas•26m ago•0 comments

Islamic Astronomy and Copernicus [pdf]

https://www.tuba.gov.tr/files/yayinlar/bilim-ve-dusun/TUBA-978-625-8352-02-3.pdf
1•teleforce•27m ago•0 comments

Uber and Lyft users overpay when they don’t price check: study

https://hub.jhu.edu/2026/01/02/uber-lyft-study-carey-business-school/
1•hhs•29m ago•0 comments

RunKoda – Real-time collaborative IDE where AI agents don't conflict

https://runkoda.com
1•SNAFI•29m ago•0 comments

New York's Cannabis Business

https://www.bbc.com/worklife/article/20260325-is-new-yorks-weed-business-really-flying-high
1•1659447091•30m ago•0 comments

What is economics these days?

https://marginalrevolution.com/marginalrevolution/2026/03/what-is-economics-these-days.html
1•hhs•32m ago•0 comments

Simulated microgravity alters fertilization and embryo development in mammals

https://www.nature.com/articles/s42003-026-09734-4
1•geox•32m ago•0 comments

Fedora Moving from Pagure to Forgejo

https://communityblog.fedoraproject.org/the-forge-is-our-new-home/
1•birdculture•32m ago•0 comments

Trump Administration Plans to Require Higher Wages for H-1B Visa Holders

https://www.wsj.com/politics/policy/trump-administration-plans-to-require-higher-wages-for-h-1b-v...
3•petethomas•35m ago•0 comments

2023

https://www.hyperdimensional.co/p/2023
1•jger15•35m ago•0 comments

Arctic Winter Sea Ice Ties Record Low, NASA, NSIDC Scientists Find

https://science.nasa.gov/earth/arctic-winter-sea-ice-2026/
1•martinpw•38m ago•0 comments

Show HN: 96.2% on LongMemEval – world record, built solo in 16 days for $1k

https://github.com/JordanMcCann/agentmemory
1•JordanMcCann•41m ago•0 comments

Husband "cheating" on wife with AI chatbot

https://old.reddit.com/r/BestofRedditorUpdates/comments/1s16oqw/cheating_with_ai/
2•cercatrova•41m ago•0 comments

Uptime of GitHub Pages Alternatives

https://alexsci.com/blog/static-hosting-uptime/
3•QuadmasterXLII•41m ago•0 comments