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!

Show HN: Picker – a simple macOS app to help you choose when you can't decide

1•gnoky•1m ago•0 comments

QMD – Quick Markdown Search

https://github.com/tobi/qmd
1•kenrose•3m ago•1 comments

Fix Your Robots.txt or Your Site Disappears from Google

https://www.alanwsmith.com/en/37/wa/jz/s1/
1•bobbiechen•3m ago•0 comments

Mozilla's Firefox Nightly .rpm package for RPM based Linux distros

https://blog.nightly.mozilla.org/2026/01/19/introducing-mozillas-firefox-nightly-rpm-package-for-...
1•pascalchevrel•4m ago•1 comments

Drawing Truchet Tiles in SVG

https://alexwlchan.net/2025/truchet-tiles/
1•surprisetalk•4m ago•0 comments

Freesound

https://freesound.org/
1•surprisetalk•4m ago•1 comments

Preserved Fish, Boss of New York City

https://signoregalilei.com/2025/12/21/preserved-fish-boss-of-new-york-city/
1•surprisetalk•4m ago•0 comments

Show HN: Antigravity-usage – CLI to check your AI quota without opening your IDE

https://github.com/skainguyen1412/antigravity-usage
2•skainguyen1412•7m ago•0 comments

What it's like to be banned from the US for fighting online hate

https://www.technologyreview.com/2026/01/19/1131384/what-its-like-to-be-banned-from-the-us-for-fi...
2•HotGarbage•9m ago•0 comments

Bootstrapping Bun

https://walters.app/blog/bootstrapping-bun
1•zerf•11m ago•0 comments

Motorola, Intel, IBM Make a Mainframe in a PC – The PC XT/370

https://thechipletter.substack.com/p/motorola-intel-ibm-make-a-mainframe
1•rbanffy•11m ago•0 comments

San Francisco and Richmond Fed Presidents on What's Happening in the Economy

https://kyla.substack.com/p/san-francisco-fed-president-mary
1•mooreds•12m ago•0 comments

Things I miss from professional networking

https://thehumansource.com/
1•salbertengo•12m ago•0 comments

I'm Going to Dig a Hole

https://randsinrepose.com/archives/im-going-to-dig-a-hole/
1•mooreds•13m ago•0 comments

AskSary – All-in-One AI Platform with GPT-5.2, Grok, and Coding Canvas

https://www.asksary.com
1•sarymismail•13m ago•0 comments

Blobject

https://en.wikipedia.org/wiki/Blobject
1•themaxdavitt•13m ago•0 comments

Show HN: Multi-Cloud Data Migration Platform

https://dataraven.io/
1•coreylane•14m ago•0 comments

What Happens When Users Hit Your Postgres at Once

https://engrlog.substack.com/p/what-happens-when-thousands-of-users
1•tirtha•16m ago•0 comments

Clockwork: Runtime agnostic async executor with powerful configurable scheduling

https://github.com/nikhilgarg28/clockwork
1•tanelpoder•17m ago•0 comments

College Football Teams Are Now Worth Billions–and Their Values Are Skyrocketing

https://www.wsj.com/sports/football/college-football-team-value-16fd09bb
1•bookofjoe•18m ago•1 comments

Project Cybersyn

https://en.wikipedia.org/wiki/Project_Cybersyn
2•cromulent•19m ago•1 comments

Cows Can Use Sophisticated Tools

https://nautil.us/the-far-side-had-it-all-wrong-cows-really-can-use-sophisticated-tools-1262026/
3•Tomte•19m ago•0 comments

Mark Nelsen's Weather Page

https://www.marknelsenweather.com/
1•oregoncurtis•22m ago•0 comments

Spatial canvas for running Claude Code agents in parallel

https://old.reddit.com/r/ClaudeAI/comments/1qh5v55/i_experimented_with_a_figmastyle_canvas_to_run/
2•mprokopp•22m ago•0 comments

WA proposes 3D-printed gun controls with blocking features, blueprint detection

https://www.tomshardware.com/3d-printing/washington-state-proposes-new-3d-printed-gun-controls-wi...
1•josephcsible•24m ago•1 comments

A Tale of UDP tracking: Hytale server auto stop and start with systemd

https://nwildner.com/posts/2026-01-19-hytale/
1•Risthel•25m ago•0 comments

PreK: Faster, dependency free drop-in alternative to pre-commit, built in Rust

https://github.com/j178/prek
1•nateb2022•25m ago•0 comments

Copy-on-write teaches you everything about Swift Internals

https://blog.jacobstechtavern.com/p/copy-on-write-swift-internals
2•jakey_bakey•25m ago•0 comments

Show HN: A 4^5 Piece Hacker News Themed Connections-Like Puzzle

https://threeemojis.com/en-US/play/globs/en-US/demo?size=jumbo&themeName=hn
1•knuckleheads•26m ago•0 comments

Show HN: Blobcache

https://blobcache.io/
1•brendoncarroll•27m ago•0 comments