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!

Japan protests Russia's extradition requests for ICC president and 8 other staff

https://mainichi.jp/english/articles/20261010/p2g/00m/0in/006000c
1•mdp2021•5m ago•0 comments

GitSwarm: Decentralized Compounding Inference

https://veds12.github.io/git-swarm/
1•matt_d•11m ago•0 comments

Pocket Cloud – Automated zero-cost NAS and media server on unrooted Android

2•Huzefdev•11m ago•0 comments

DHP – agent work that survives kill -9

https://github.com/SIDDARTHAREDDY8/dhp
2•siddarthareddy8•12m ago•0 comments

Metal Driver for Nvidia GeForce RTX Cards on macOS 15 Sequoia

https://github.com/nullmoth/nvidia-macos-driver
2•MrBuddyCasino•13m ago•0 comments

ESA's Map of Recovered Reentry Debris

https://reentry.esoc.esa.int/home/recovereddebris
2•_Microft•15m ago•0 comments

Vectorized CLZ and CTZ

https://purplesyringa.moe/blog/vectorized-clz-and-ctz/
2•g0xA52A2A•15m ago•0 comments

The Coming Technological Singularity: How to Survive in the PostHuman Era (1993)

https://edoras.sdsu.edu/~vinge/misc/singularity.html
2•adityaathalye•17m ago•0 comments

Helping Developers Since 2015 [R/TestMyApp]

https://www.reddit.com/r/TestMyApp/
1•cs1996•20m ago•0 comments

Designing Kolibri: Architecture Trade-Offs from First Principles

https://aleph-alpha.com/en/blog/designing-kolibri-architecture-trade-offs-from-first-principles/
2•frostbyte7•24m ago•0 comments

Show HN: The safe-choice tax – what the vendor nobody gets fired for costs

https://svpremium.dev/
3•PaywallBuster•25m ago•1 comments

We must recall open-ended AI agents with internet access from the market

https://garymarcus.substack.com/p/we-must-recall-open-ended-ai-agents
1•chmaynard•26m ago•0 comments

Show HN: Osfeed – open-source tools by what they do and what breaks on upgrade

https://osfeed.dev/
1•iluxavin•29m ago•0 comments

The Insane Real Engineering of the Nazi Enigma Machine [video]

https://www.youtube.com/watch?v=JsBZOcqZerk
3•dataflow•29m ago•1 comments

Show HN: Kenerate – One workspace for AI image, video and music models

https://kenerateai.app/
2•welcomezhangjun•31m ago•0 comments

Using Mastodon and Bluesky as the comment back end for a static website

https://codeberg.org/souverain/commentaires/src/branch/main/README.en.md
2•kadrek•31m ago•0 comments

Like a drill going into my eye: why the Havana syndrome mystery refuses to die

https://www.theguardian.com/us-news/ng-interactive/2026/oct/10/havana-syndrome-mystery-cia-russia
1•ggm•32m ago•0 comments

RepRapMicron: A decent 500μm (1/2mm) Benchy

http://blog.reprap.org/2026/10/reprapmicron-success-decent-500m-12mm.html
2•_Microft•33m ago•0 comments

PWA to Replace DeepL and Google Translate

https://github.com/Donnie/latte
1•donnieashok•34m ago•0 comments

Reverse Engineering Therion's Steal Success Rate in Octopath Traveler

https://alessandrocuzzocrea.com/reverse-engineering-octopath-traveler-therion-steal-success-rate/
1•rex64•34m ago•0 comments

Wrapper for Free Open Router Models

https://wfform.com/
1•metaph6•34m ago•0 comments

Hawaiian Harmony: Blood Sugar Support Liquid Supplement Guide

https://script.google.com/macros/s/AKfycbwa0L-VYEKBZYw-ZwhH_9RStnRil53WbgddYtT5ySEQ6xLMnVSa_WBcue...
1•wendwardgen•34m ago•0 comments

Researchers studied AI layoffs. Here's their warning. [video]

https://www.youtube.com/watch?v=O3gYyCB2n9o
3•shinryuu•34m ago•1 comments

How Does Life Unfold? A Landscape Metaphor Comes into Its Own

https://www.quantamagazine.org/how-does-life-unfold-a-landscape-metaphor-comes-into-its-own-20261...
1•asplake•35m ago•0 comments

Microsoft 365 subscribers set to lose up to 4 TB of OneDrive storage

https://www.theregister.com/personal-tech/2026/10/09/microsoft-365-subscribers-set-to-lose-up-to-...
2•beardyw•36m ago•0 comments

Plydesk: Connect to Linux machines using a password or SSH key-No daemon

https://osfeed.dev/p/iluxav/plydesk
2•iluxavin•36m ago•0 comments

Biggest Democracy Under Siege

https://www.bbc.com/news/live/cwg7xz8vr58pt
2•amtamt•39m ago•1 comments

Only mock your own interfaces

https://henko.net/blog/only-mock-your-own-interfaces/
1•ykgoon•49m ago•0 comments

Train your own Decision Model with Unsloth

https://unsloth.ai/docs/basics/train-your-own-decision-model-with-unsloth
1•vinhnx•50m ago•0 comments

Vec1: Native vector search (ANN) in SQLite

https://sqlite.org/vec1/doc/trunk/doc/vec1.md
3•thunderbong•51m ago•1 comments