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!

The Life of a Composer

https://composer.pablostanley.com/#1
1•tambourine_man•54s ago•0 comments

Fine-Tuning Local Models for the GPU Poor – Qwen3.8-27B on RTX 4090

https://shimin.io/journal/fine-tuning-local-models-for-the-gpu-poor/
1•recurrence•1m ago•0 comments

Show HN: Shh-code – coding agent with privacy

https://github.com/maksympetkus/shh-code
1•pentagram•2m ago•0 comments

Switzerland's off grid valley of ancient stone shelters

https://www.bbc.com/travel/article/20261118-switzerlands-off-grid-valley-of-ancient-stone-shelters
1•tosh•2m ago•0 comments

Show HN: Fmgrep – indexed grep over a persistent FM index

https://github.com/pepeiborra/fmgrep
1•pepeiborra•3m ago•0 comments

We're Entering a Chinese World

https://www.semafor.com/article/11/24/2026/were-entering-a-chinese-world
1•leotravis10•3m ago•0 comments

Citi Bike member ebike per-minute fees capped at $3.65

https://citibikenyc.com/memberebikecap
2•geox•3m ago•0 comments

Show HN: Irix 2600 – An Atari VCS demo on a Burgertime cartridge

http://deater.net/weave/vmwprod/i2600/
1•deater•5m ago•0 comments

Show HN: Furrow – How much is your farmland worth?

https://furrow.land/
2•www223•5m ago•2 comments

An agent swarm trying to decode the Voynich Manuscript

https://voynichswarm.com/
3•ayanb9440•6m ago•0 comments

Show HN: FrameGloss – Browser Screen Studio alternative (WebCodecs, no uploads)

https://framegloss.app/
1•gweedo767•7m ago•0 comments

Agents are our users. Humans are our customers

https://kaveha.com/blog/agents-are-our-users-humans-are-our-customers/
1•hevaka•7m ago•0 comments

Show HN: A shirudo registry with 100 CVE+ Shields. upatch.dev

https://upatch.dev
1•shimont•8m ago•0 comments

The Islamic Roots of Science Fiction

https://gizmodo.com/the-islamic-roots-of-science-fiction-1632693067
1•theanonymousone•8m ago•0 comments

Anthropic stole my RH proofs and presented them as their own

https://twitter.com/HanyelPaulOkolo/status/2125370998572855573
3•dante54•8m ago•0 comments

Show HN: Run Inkling 2 Mini on Mac Faster Than Anywhere Else

https://www.subconscious.dev/local
3•Jackobrien•9m ago•1 comments

Lyfe.ninja BlkSeal Python SDK Now Available on PyPI

https://pypi.org/project/lyfeninja-blkseal/
1•lyfeninja•10m ago•1 comments

The Rise of the Vibe Stack

https://prostack.uk/blog/the-rise-of-the-vibe-stack/
1•jimmy-c•11m ago•0 comments

Show HN: NeXDM – A 5.3 MB Rust download manager for Windows

https://nexdm.in/
1•Technews2026•12m ago•0 comments

October in Servo: video captions and inert content

https://servo.org/blog/2026/11/25/october-in-servo/
2•todsacerdoti•14m ago•0 comments

Show HN: MacroMag OS – Modular Linux Distro with a Rust Object Shell (VOS)

https://github.com/MacroMag-os/MacroMag-32
1•adrianmorawski7•16m ago•0 comments

China Develops Bird-Shaped Reconnaissance Drones as Part of Pigeon Program

https://www.armyrecognition.com/archives/archives-land-defense/land-defense-2024/china-develops-b...
2•o_-_o•17m ago•2 comments

Show HN: Sidedoor, a referral-first job-search agent that runs on your machine

https://github.com/yoursidedoor/sidedoor
1•davidbones•17m ago•0 comments

GPT 6.2 Astra is superhuman in mathematical optimization

https://rybindmitry.github.io/blogs/gpt-6-2-astra-is-superhuman-in-mathematical-optimization.html
1•piotrgrabowski•20m ago•0 comments

WA inventor who pioneered CD, DVD technology dies at 95

https://www.seattletimes.com/business/technology/wa-inventor-who-pioneered-cd-dvd-technology-dies...
1•geephroh•21m ago•0 comments

The Economics of Disappointment: An Analysis of the Fake Game Advertising Model

https://medium.com/@smoking2man/the-economics-of-disappointment-an-analysis-of-the-fake-game-adve...
1•Aldus551•21m ago•0 comments

Show HN: Nachuan – Verifiable zero-telemetry multi-worktree AI coding plane

https://github.com/wg5759/nachuan
1•maomao5759•22m ago•0 comments

Show HN: Fork Linux desktops in 139ms for computer-use agent training

https://github.com/Drums-Labs/drumsd
1•sahiljagtapyc•23m ago•0 comments

Show HN: Modelpin – see what changes when your LLM app switches models

https://github.com/samarthputhraya/Modelpin
1•samarthputhraya•24m ago•1 comments

Tobacco plants could produce cancer medicine

https://www.eurekalert.org/news-releases/1153014
1•gmays•24m ago•0 comments