frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•9mo 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!

Bay Area software rep. lost $176K after accepting remote job she thought with FB

https://abc7news.com/post/bay-area-software-rep-lost-176k-savings-accepting-remote-job-she-though...
2•randycupertino•12m ago•1 comments

Joy of a Competent Beginner

https://xydinesh.com/posts/joy-of-competent-beginner/
1•xydinesh•12m ago•1 comments

Florida's Unprecedented Execution Pace

https://deathpenaltyinfo.org/new-report-examines-floridas-unprecedented-execution-pace-and-trends...
1•weslleyskah•13m ago•0 comments

Show HN: C/C++ Cheatsheet – a modern, practical reference for C and C++

https://github.com/crazyguitar/cppcheatsheet
1•crazyguitar•14m ago•0 comments

Show HN: The firmware that got me detained by Swiss Intelligence

https://github.com/seabass011/davos-incident-firmware
1•reutinger•17m ago•0 comments

Rust Burn 0.20.0 Release: Unifying CPU and GPU Kernels with CubeCL

https://burn.dev/blog/release-0.20.0/
1•stmw•18m ago•0 comments

Autodesk burns the village to feed AI and the Cloud – cuts 7% of workforce

https://blog.adafruit.com/2026/01/22/autodesk-burns-the-village-to-feed-ai-and-the-cloud-cuts-7-o...
3•zdw•21m ago•0 comments

Introduction to Coinduction in Agda Part 1: Coinductive Programming

https://jesper.cx/posts/coinduction-part-1.html
1•matt_d•21m ago•0 comments

Show HN: Verify Unlimited Emails with 99.9% accuracy

https://email2verify.com/
1•aswinsilvadasan•22m ago•1 comments

Show HN: Public Key Directory – Key Transparency for the Fediverse

https://publickey.directory
1•some_furry•26m ago•0 comments

Chinese AI is a risk for Europe. So is shunning it

https://www.economist.com/leaders/2026/01/22/chinese-ai-is-a-risk-for-europe-so-is-shunning-it
1•petethomas•28m ago•0 comments

Show HN: Neoment – A Matrix client, bringing chat functionality into your editor

https://github.com/Massolari/neoment
1•wsdjeg•29m ago•0 comments

I spent 3 years chasing Backlinks the wrong way, what worked in 2026?

https://webmatrices.com/post/i-spent-3-years-chasing-backlinks-the-wrong-way-heres-what-actually-...
1•bishwasbh•30m ago•0 comments

AI-Free Free-to-Use Music Shorts

https://onj.me/shorts/
1•cdvonstinkpot•34m ago•0 comments

Mortal Kombat Motion Picture Soundtrack 1995 [video]

https://www.youtube.com/watch?v=ZozxHpX4x8c
1•nomilk•34m ago•0 comments

Badgefor.me – Work from home. Look like you didn't

https://www.badgefor.me/
2•squalrus•39m ago•0 comments

Toms AI BackGround Remover Software

https://tomdahne.com/TomsBGRemover/pad/tomsbgremover.xml
1•ezimedia•39m ago•1 comments

.NET Aspire is now open source [video]

https://www.youtube.com/watch?v=crvgYrFYrrw
1•tartoran•39m ago•0 comments

Winapp, the Windows App Development CLI

https://blogs.windows.com/windowsdeveloper/2026/01/22/announcing-winapp-the-windows-app-developme...
1•thunderbong•43m ago•0 comments

I accidentally made probabilistic programming 30-200x faster

1•Aeowulf•45m ago•0 comments

Show HN: Cosmic AI – See your tech debt in dollars and fix it fast

https://cosmic-ai.pages.dev/
1•Saurabh_Kumar_•46m ago•0 comments

The unreasonable effectiveness of pattern matching

https://arxiv.org/abs/2601.11432
1•chbint•46m ago•0 comments

The AI Revolution in Coding: Why I'm Ignoring the Prophets of Doom

https://codingismycraft.blog/index.php/2026/01/23/the-ai-revolution-in-coding-why-im-ignoring-the...
2•codingismycraft•49m ago•0 comments

Elon Musk loves this. X article to video (open-source)

https://github.com/pooriaarab/x-article-to-video
1•pooriaarab•50m ago•0 comments

Why talking to LLMs has improved my thinking

https://philipotoole.com/why-talking-to-llms-has-improved-my-thinking/
4•otoolep•52m ago•0 comments

CIDR 2026 Proceedings

https://vldb.org/cidrdb/2026/
1•remywang•55m ago•0 comments

The lost art of XML

https://marcosmagueta.com/blog/the-lost-art-of-xml/
26•Curiositry•59m ago•9 comments

Over 1k Arizona teachers resigning plays a part in shortage

https://azpbs.org/horizon/2025/11/teacher-shortage-2/
3•toomuchtodo•59m ago•1 comments

Asciinema: Making Movies at the Command-Line

https://lwn.net/Articles/1053355/
1•signa11•1h ago•0 comments

Google decides what you see in Images and where invisible keywords are born

https://comuniq.xyz/post?t=738
1•01-_-•1h ago•0 comments