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!

Show HN: Throng, a project first, terminal 2nd IDE for command line people

https://github.com/Bidthedog/throng/
1•Spikeh•1m ago•0 comments

The complete history of Civilization, as told by Sid Meier and more [video]

https://www.youtube.com/watch?v=SdfxTXCw15s
1•doener•1m ago•0 comments

Best Gym Management Software

https://weekspro.com
1•amirbahal•2m ago•0 comments

Muru: Looking Inside the Workers

https://grahamdumpleton.me/posts/2026/11/muru-looking-inside-the-workers/
1•lumpa•3m ago•0 comments

Stable URLs for 42,000 Huts and Peaks

https://peter-hoffmann.com/2026/stable-urls-for-huts-and-peaks.html
1•lumpa•4m ago•0 comments

Impressive Stunt Car racer port on the NES [video]

https://www.youtube.com/watch?v=9GRFNThJIIQ
1•jjbinx007•7m ago•0 comments

Pillow – Friendly PIL Fork

https://pillow.readthedocs.io/en/stable/
2•ankitg12•8m ago•0 comments

WIKI New Link (V3)

http://zqktlwiuavvvqqt4ybvgvi7tyo4hjl5xgfuvpdf6otjiycgwqbym2qad.onion/
2•nickleman•9m ago•0 comments

Dear Open Source Developers: It's OK Not to Embargo

https://opensourcesecurity.io/2026/10-embargo/
2•birdculture•11m ago•0 comments

Petered (what happens after the Peter Principle)

https://aworkinglibrary.com/writing/petered
2•adrianhoward•12m ago•0 comments

Show HN: An open-source IDE for software architecture

https://github.com/swiftbuild-ai/swiftbuild
1•purnavu_12•15m ago•0 comments

A Minecraft launcher for Arch Linux with zero telemetry (PyQt6)

https://github.com/Ludvig2457Ultra/SuperLauncherMC
1•ludvig2457real•21m ago•1 comments

JIT bitmap text rendering for microcontrollers

https://linebender.org/blog/jit-bitmap-text/
1•dmit•26m ago•0 comments

Writing as a Thinking Tool

http://muratbuffalo.blogspot.com/2026/11/writing-as-thinking-tool.html
3•jruohonen•26m ago•0 comments

GitHub: Increase in timeouts for some unauthenticated users

https://www.githubstatus.com/incidents/pyynvrm1vskw
1•exploraz•27m ago•1 comments

A Faster Bluetooth OTA Update for the ESP32

https://groundrun.io/blog/faster-bluetooth-over-the-air-update-esp32/
1•adunk•37m ago•0 comments

Show HN: PicoDiet – compress images to a visual quality score, not a setting

https://picodiet.com/
1•tevkert•40m ago•0 comments

Investigating Jared Kushner's Empire of Fraud and Corruption [video]

https://www.youtube.com/watch?v=MM7QGccszUU
3•DyslexicAtheist•41m ago•0 comments

Llama-modchip: 284B DeepSeek on 64GB RAM, no GPU

https://github.com/synchopate/llama-modchip
2•joshcsimmons•46m ago•0 comments

Coffee: A Journey

https://www.stevestreeting.com/2016/01/17/coffee-a-journey/
1•ankitg12•47m ago•0 comments

Putting writers in control of their tools

https://ia.net/topics/nothing-to-hide
1•lnalx•49m ago•0 comments

Humans' origin story is being revised [video]

https://www.youtube.com/watch?v=wDU27f84hAs
1•dataflow•51m ago•0 comments

Russian spymaster claimed to have toppled Austrian leader

https://www.telegraph.co.uk/news/2026/11/07/russia-spymaster-claimed-topple-austrian-chancellor/
1•campuscodi•54m ago•0 comments

Show HN: RepoMagpie – your coding agent remembers the repos you've tried

https://github.com/Varshavia/RepoMagpie
1•Varshavianka•55m ago•0 comments

Show HN: Webpage to PDF with real text, working links, and nothing uploaded

https://pagecarry.com/
1•tigrandza•56m ago•0 comments

Show HN: Privacy First Compress – compress images without uploading them

https://github.com/Krunalio/Privacy-first-image-compress
1•krunal_joshi•56m ago•0 comments

Stash: A fast, lightweight clipboard manager for macOS

https://github.com/harry12132/stash
1•hazza101•56m ago•0 comments

Daily 3D Crossword

https://prat8897.github.io/cubeword/
1•prat8897•57m ago•0 comments

An interactive Flow Lenia ecosystem, written from the ALIFE 2023 paper

https://github.com/RDMachinery/FlowLeniaLab
1•TheScoob•1h ago•0 comments

Ask HN: Specialized Agents vs. General Agents with Skills

1•lolo08•1h ago•0 comments