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!

Why Is China Not Freaking Out about AGI?

https://www.richardhanania.com/p/why-is-china-not-freaking-out-about
1•paulpauper•1m ago•0 comments

Can you pay for your wrongs?

https://endsdontjustifythemeans.com/p/can-you-pay-for-your-wrongs
1•paulpauper•2m ago•0 comments

TanStackDB: Going All in on Oracles

https://tanstack.com/blog/tanstack-db-1.0-rc1-going-all-in-on-oracles
1•thadt•2m ago•0 comments

Pentworks, an open-source CLI tool for managing penetration testing projects

https://github.com/Sheykder/Pentworks
1•ogovorkov22•2m ago•0 comments

The US-China LLM Open-Weight Feedback Loop

https://sebastianraschka.com/blog/2026/us-china-open-weight-feedback-loop.html
1•ModelForge•4m ago•0 comments

The Fate of the Riemann Hypothesis [pdf]

https://www.math.brown.edu/reschwar/Stories/AI.pdf
1•unprovable•6m ago•1 comments

Researching Gta6 PC Compatibility

https://github.com/thecolourfoundation/Leonida-pc
1•malikx•6m ago•0 comments

"possibly the nastiest piece of abuse of the C switch statement rules I know of"

https://hachyderm.io/@simontatham/117653935395211357
1•pavel_lishin•6m ago•0 comments

The Curse of Monkey Island Remastered

https://www.youtube.com/watch?v=3_3lISD-ZGg
1•ragojose•7m ago•0 comments

NariQ: BF16-level Qwen3.8-27B in a 10 GB file

https://huggingface.co/nari-labs/Qwen3.8-27B-NariQ-GGUF
1•toebee•8m ago•1 comments

Invalidity of the Alpoge Proposed Proof of the Riemann Hypothesis

https://philpapers.org/rec/NIEIOT-2
2•krona•10m ago•0 comments

What it means to let go

https://sashachapin.substack.com/p/what-it-actually-means-to-let-go
1•surprisetalk•11m ago•0 comments

Show HN: Carpe – Frame-accurate clip vault extension for YouTube

https://chromewebstore.google.com/detail/carpe-clip-vault-for-yout/hllapkfjhkofhmdggmbbcjadkeecjhdf
1•ferhatwi•16m ago•0 comments

Chat with Work: AI Bots in Europe

https://chatwithwork.com/
1•ksec•18m ago•0 comments

Go Ahead and Contribute, No Assignment Needed

https://www.tisonkun.io/posts/dont-lick-the-cookie/
1•tison•18m ago•0 comments

Europe's open-source cloud ecosystem is growing

1•eva_fly99•19m ago•0 comments

The End of the World

https://mateusaraujo.info/2026/11/23/the-end-of-the-world/
1•bigtimber•19m ago•0 comments

Show HN: I built a local-first daily planner app for iOS

https://apps.apple.com/ph/app/daily-planner-zesfy/id6479947874
1•whereinside•20m ago•0 comments

Algorithms, Explained, Proved and Run

https://algorithm.tamnd.com/
1•mbustamanter•20m ago•0 comments

Show HN: Stat Space – One menu bar app for stats, fans, volume, ports and sleep

https://statspace.app/
1•zernonia•20m ago•1 comments

How to Run AI Coding Agents on Kubernetes: Sandbox vs. Environment

https://www.okteto.com/blog/how-to-run-ai-coding-agents-on-kubernetes/
1•pchico83•20m ago•0 comments

Show HN: Zean Transpiles Zig to Lean

https://github.com/okcontract/zean
5•hbbio•21m ago•1 comments

GL.iNet: a second, older backdoor that the security firmware leaves in place

https://gl-i.net/security/csa-2026-01/
2•acossta•21m ago•0 comments

Staying Connected in China

https://thomas.skowron.eu/blog/staying-connected-in-china/
1•speckx•22m ago•0 comments

ReARM Boards: Managing Agentic Coding Squads [video]

https://www.youtube.com/watch?v=EB_Oj5euJEY
1•taleodor•27m ago•0 comments

Call center operator gets 8 years for helping scam 30k Americans

https://www.bleepingcomputer.com/news/security/call-center-operator-gets-8-years-for-helping-scam...
3•noworld•28m ago•0 comments

Show HN: Seenlio – Find any screenshot on your Mac by its text or a description

https://seenlio.app
1•priyanshuurmali•29m ago•0 comments

Beating the compiler at signed 32-bit division

https://lemire.me/blog/2026/10/31/beating-the-compiler-at-signed-32-bit-division/
2•surprisetalk•31m ago•0 comments

A 1x1 black RGB PNG is 69 bytes in Pillow, 67 bytes with zlib Z_RLE

https://paragraph.com/@oneblackpixel/a-1x1-black-rgb-png-is-69-bytes-in-pillow-67-bytes-with-zlib
1•KINGOFTHESCREEN•31m ago•0 comments

Free, open-source Android TV launcher

https://nooko.com/
1•edib•33m ago•0 comments