frontpage.
newsnewestaskshowjobs

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!

Dipolar Geometry of the Primes and ζ(s) – 42-Module Lean4 Formalization

https://github.com/airoman/riemann-dipolar-geometry
1•airomanxr•1m ago•0 comments

LinkedOut – a browser extension to fix LinkedIn jobs

https://github.com/ibizabroker/linkedout
1•makizuto•1m ago•1 comments

HumanFish: Predicting Who Wins a Human Chess Game

https://humanfish.vercel.app/methodology
1•marc__1•3m ago•0 comments

Razar and Janax = LUMA Vera (Razonamiento Artificial)

https://nicoconvoz.github.io/Janax/
1•nicoconvoz•6m ago•0 comments

Show HN: Turkey Trot

https://turkey-trot.replit.app/
1•rootforce•10m ago•1 comments

Show HN: Glassveil – Browse and Copy iPhone Photos on a Windows PC over Wi-Fi

https://glassveil.app
1•ftwelve•11m ago•0 comments

Buster the hamster home safe after hitching ride in Halloween pumpkin

https://www.cbc.ca/news/canada/ottawa/buster-the-hamster-home-safe-after-hitching-ride-in-hallowe...
3•madihaa•11m ago•0 comments

Show HN: Track people in video locally without AGPL or cloud APIs

https://github.com/obendidi/trackflow
1•ouail_bendidi•13m ago•1 comments

Ask HN: What's Going on with the Minecraft Rust Rewrite? (Horizon)

2•goodmythical•14m ago•1 comments

Show HN: Shirudo.today: Virtual eBPF patching on stock Linux

https://shirudo.today/blog/launch.html
5•avrecum•18m ago•0 comments

Token River – About the Record

https://tokenriveralbum.com/about
1•mayank•20m ago•1 comments

Ryanair quietly changes seating policy for passengers who do not pre-book seat

https://www.irishtimes.com/life-style/travel/2026/11/23/ryanair-quietly-changes-seating-policy-fo...
1•Markoff•23m ago•0 comments

Sleep Is Death was ahead of its time (2018)

https://www.eurogamer.net/sleep-is-death-was-ahead-of-its-time
1•bpierre•26m ago•0 comments

I asked Siri to team up with Claude and read me the news

https://automato.substack.com/p/siri-plus-claude-plus-shortcuts
1•andrewstetsenko•34m ago•0 comments

Temporal.io: Durable Execution Against Distributed Chaos

https://srdata.dev/en/escritos/temporal-io-orquestacion-ejecucion-durable.html
1•bastiates•34m ago•0 comments

Thoughts on the Future of Web Browsers

https://sarahjamielewis.com/log/2026/future-of-web-browsers.html
1•birdculture•37m ago•0 comments

UK to launch first licensing scheme for knife sales

https://www.theguardian.com/uk-news/2026/nov/25/uk-knife-sales-licensing-scheme
1•baal80spam•37m ago•1 comments

Peano Arithmetic cannot determine BB(173) thanks to Quine's New Foundations

https://twitter.com/ElliotGlazer/status/2126047123288322548
2•ogogmad•39m ago•0 comments

3DGS Training in <10 Seconds

https://electronicarts.github.io/perf-gs/
1•nozbufferHere•39m ago•0 comments

You are mad at AI for the wrong reasons

https://benedictide.com/posts/ai/
2•paulpauper•39m ago•0 comments

Global lake synchrony signals rising planetary-scale ecological coupling

https://www.pnas.org/doi/10.1073/pnas.2611874123
2•geox•39m ago•0 comments

Novita, StreamLake, etc. are ByteDance Ark wrappers

https://kendell.dev/blog/arkwrapper/
3•leafingensemble•42m ago•0 comments

Facebook is wrong, text is deathless (2016)

https://kottke.org/16/06/facebook-is-wrong-text-is-deathless
1•rajeev1123•43m ago•0 comments

Nvidia's 'great man theory' is flawed

https://www.ft.com/content/6a01bdc9-f242-4272-b5e3-a147af5b125c
4•bookofjoe•45m ago•1 comments

Mozilla/Firefox-MCP

https://github.com/mozilla/firefox-mcp
1•super256•47m ago•0 comments

Why is every agent orchestrator the exact same app?

https://kevinak.se/blog/3602153a-3f9c-4ce0-8a4b-fc8e0abceb4f
2•kevinak•50m ago•0 comments

"Kid in the Cockpit” (1994)

https://en.wikipedia.org/wiki/Aeroflot_Flight_593
1•abbadadda•53m ago•2 comments

Should I Buy a Gun?

https://robbiewmthompson.com/blog/buying-a-gun/
1•paulpauper•53m ago•2 comments

AI made self-hosting fun again

https://janlukas.blog/posts/ai-self-hosting
56•jlelse•54m ago•35 comments

What Is the Point of Mountains

https://wadapan.substack.com/p/all-souls-exam
1•paulpauper•54m ago•0 comments