frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•9mo 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: Flux, A Python-like language in Rust to solve ML orchestration overhead

https://github.com/cmc-labo/flux
1•hpscript•1m ago•0 comments

Python's `json.tool` Utility

https://docs.python.org/3/library/json.html
1•dvrp•8m ago•0 comments

AI agent generates rebuttals for papers

https://arxiv.org/abs/2601.14171
1•meander_water•9m ago•0 comments

Claude Code TeamateTool (binary analysis)

https://gist.github.com/kieranklaassen/d2b35569be2c7f1412c64861a219d51f
1•dnw•15m ago•0 comments

Shelley: A Coding Agent

https://github.com/boldsoftware/shelley
1•luu•23m ago•0 comments

Visualizing K-Way Merge: An Interactive Guide to Database Sorting

http://justinhj.github.io/2026/01/19/visualizing-k-way-merge.html
1•todsacerdoti•25m ago•0 comments

Ask HN: Why is the Lua web / related ecosystem so stagnant?

1•jmspring•30m ago•0 comments

AMI Labs: Real World. Real Intelligence

https://amilabs.xyz/
1•pilingual•32m ago•0 comments

Major crypto theft discovered by Zach XBT

https://twitter.com/zachxbt/status/2014685263327351116
1•paulpauper•32m ago•0 comments

Show HN: Cholesterol Tracker – Built after high cholesterol diagnosis at 33

https://cholesterol-tracker.poniansoft.com/
1•briskibe•41m ago•0 comments

Joy and Curiosity #70

https://registerspill.thorstenball.com/p/joy-and-curiosity-70-d85
1•kristianp•43m ago•0 comments

Ask HN: In the era of AI, which language would you choose?

1•tcper•43m ago•0 comments

The Internet Doesn't Suck: Blame Big Tech, Not the Internet

https://riverseeber.net/blog/post/the-internet-doesnt-suck/
2•cratermoon•44m ago•0 comments

GNU Guix 1.5.0 released with new support for RISC-V 64-bit architecture

https://guix.gnu.org/blog/2026/gnu-guix-1.5.0-released/.
1•teleforce•45m ago•0 comments

1961 Goldsboro B-52 crash

https://en.wikipedia.org/wiki/1961_Goldsboro_B-52_crash
2•st_goliath•46m ago•0 comments

U.S. workers just took home their smallest share of capital since 1947

https://fortune.com/2026/01/13/us-workers-smallest-labor-share-gdp-on-record/
4•_DeadFred_•46m ago•2 comments

Ask HN: iPhone 15 pro handset just damaged my hearing, what now?

9•joecool1029•46m ago•2 comments

Remarkable sodium-ion battery has a lignin heart of 'wood'

https://newatlas.com/energy/sodium-ion-battery-lignin/
1•westurner•48m ago•2 comments

The Problem of Flatness in Ancient Egypt

https://www.youtube.com/watch?v=vhv8fAqN1cw
3•bane•50m ago•0 comments

The Birthday Paradox, Simulated

https://www.pcloadletter.dev/blog/birthday-paradox/
1•ronbenton•52m ago•0 comments

Fastest Encryption. Zero-Latency Decryption. Reliable Post-Quantum Security

https://abhedyam.com/
1•prabhatkr•53m ago•0 comments

UK government targets VPNs in online safety consultation as Lords vote for ban

https://www.techradar.com/vpn/vpn-privacy-security/uk-government-targets-vpns-in-new-online-safet...
3•g-b-r•1h ago•0 comments

Don't Write Docs Twice

https://tombedor.dev/make-it-easy-for-humans/
1•jjfoooo4•1h ago•0 comments

Show HN: BuryIt – Bury your failures, regrets and secrets anonymously

https://www.buryit.space/
1•noanoanoa•1h ago•0 comments

1944 informational poster of the electromagnetic spectrum

https://en.wikipedia.org/wiki/Electromagnetic_spectrum
2•winemath•1h ago•0 comments

The lies I used to tell myself

https://usefulfictions.substack.com/p/the-lies-i-used-to-tell-myself
4•jger15•1h ago•0 comments

Kolab Now: Secure and private email, calendars and more

https://kolabnow.com/
2•doener•1h ago•0 comments

Playwright CLI

https://github.com/microsoft/playwright-mcp/releases/tag/v0.0.57
1•aragonite•1h ago•0 comments

Soverin: Your Mailbox is your Digital Castle

https://soverin.com/
2•doener•1h ago•0 comments

C++ has scope_exit for running code at scope exit

https://devblogs.microsoft.com/oldnewthing/20260123-00/?p=112008
2•firesteelrain•1h ago•0 comments