frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Perelman's Proof of the Poincar E Conjecture: A Nonlinear PDE Perspective

https://arxiv.org/pdf/math/0610903
1•tzury•1m ago•0 comments

Show HN: SMath Units, RCPC Initiative

https://github.com/JTRSoftware/Project_RCPC/tree/main/ReadyToShare/sMath
1•jtr87•2m ago•0 comments

Blue on X: "unrot your brain"

https://twitter.com/bluewmist/status/2012755834636533893
1•bilsbie•4m ago•0 comments

Show HN: Open-source confusion matrix generator for ML models

1•pareshrnayak•4m ago•1 comments

Ljudmila

https://wiki.ljudmila.org/Main_Page
1•jruohonen•4m ago•0 comments

The real technical debt is semantic decay and only platforms can stop it

https://unvarnishedgrady.substack.com/p/on-platforms-iii-the-physics-of-meaning
1•ecurb•4m ago•0 comments

Show HN: 13MB full-text site search

https://www.asciimx.com/log/site-search/
1•kovac•5m ago•0 comments

Coding with LLMs can still be fun

https://www.codingwithjesse.com/blog/coding-with-llms-can-still-be-fun/
1•CodingWithJesse•6m ago•0 comments

Could Europe Defeat America in an All-Out War?

https://globalaffairsexplained.com/europe-defeat-america/
1•type0•8m ago•1 comments

Show HN: Moshi – Talk to Claude Code from your phone (zero desktop install)

https://getmoshi.app
1•rjyo•8m ago•0 comments

What Is Plan 9?

https://fqa.9front.org/fqa0.html#0.1
6•AlexeyBrin•9m ago•1 comments

Show HN: Straw – HTTP Liquid template engine

https://github.com/moritzrinow/straw
1•devmojo•10m ago•0 comments

Stop Begging Prospects to Open Your Files

https://www.sendnow.live
2•sendnow•12m ago•0 comments

Show HN: I made a Tetris based block puzzle game

https://playdropstack.com/
3•lastodyssey•13m ago•0 comments

String Theory Can Now Describe a Universe That Has Dark Energy

https://www.quantamagazine.org/string-theory-can-now-describe-a-universe-that-has-dark-energy-202...
2•7777777phil•15m ago•0 comments

Self Driving Biology

https://mattshams.com/writings/self-driving-biology
1•hnpwd•16m ago•0 comments

Artist's Statement (1971)

https://www.emohr.com/articles-biblio/ManfredMohrParis1971Text.jpg
2•jruohonen•16m ago•0 comments

I hotreload Rust and so can you

https://kampffrosch94.github.io/posts/hotreloading_rust/
1•birdculture•17m ago•0 comments

Show HN: LlmSHAP – Multi-threaded input importance for prompts and RAG context

https://github.com/filipnaudot/llmSHAP
3•filipn9•23m ago•3 comments

QKX Exchange Red Flags: When Charts Don't Match Real Market Behavior

1•Kangaroo_•24m ago•0 comments

I went from literature/language to Rust systems programming in under a year

https://github.com/whispem
1•whispem•25m ago•1 comments

Software engineers can no longer neglect their soft skills

https://www.qu8n.com/posts/most-important-software-engineering-skill-2026
2•quanwinn•27m ago•0 comments

Show HN: I learned to code at 84 to build a privacy-first location app

https://placemeguardian.com/demoportal.php
1•morgleman•28m ago•0 comments

Three Inverse Laws of Robotics

https://susam.net/inverse-laws-of-robotics.html
1•susam•29m ago•0 comments

I'm Alone and in the Dark

https://politicalemails.org/messages/2061015
2•zqna•30m ago•0 comments

WebGPU from WebGL

https://webgpufundamentals.org/webgpu/lessons/webgpu-from-webgl.html
1•beeflet•30m ago•0 comments

Judge orders Anna's Archive to delete data scraped from WorldCat

https://arstechnica.com/tech-policy/2026/01/judge-orders-annas-archive-to-delete-scraped-data-no-...
3•i-blis•31m ago•0 comments

Sci-hub.se domain is in ClientHold state

https://who.is/whois/sci-hub.se
2•shelfchair•31m ago•0 comments

Gold Fever Cold and the True Adventures of Jack London in the Wild

https://www.smithsonianmag.com/history/gold-fever-deadly-cold-and-amazing-true-adventures-jack-lo...
1•janandonly•32m ago•0 comments

(Open) Widevine support added to the OpenBSD Chromium port

https://www.undeadly.org/cgi?action=article;sid=20260118112808
2•upofadown•32m ago•1 comments