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!

What's wrong with my digital products?

https://malvik.de
1•svenmalvik•1m ago•1 comments

AppleUnsold – The Apple products they won't sell you

https://appleunsold.com
1•reaperducer•2m ago•0 comments

The ADHD founder's survival guide

https://www.skunkworks.build/p/the-adhd-founders-survival-guide
1•stared•3m ago•0 comments

Bill Burr on Why Men Will Choose Robots over Women [video]

https://www.youtube.com/watch?v=XU9Ymeovx1U
1•keepamovin•6m ago•0 comments

Are We Claudemaxxing?

https://claudemaxxing.org/
3•namdao2000•7m ago•0 comments

Nvidia's plan to invest up to $100B in OpenAI has stalled

https://www.reuters.com/business/nvidias-plan-invest-up-100-billion-openai-has-stalled-wsj-report...
1•carlos-menezes•7m ago•0 comments

The (AI) Nature of the Firm

https://camerongordon0.substack.com/p/the-ai-nature-of-the-firm
1•iciac•10m ago•0 comments

"Giving up upstream-ing my patches & feel free to pick them up"

https://mail.openjdk.org/pipermail/hotspot-dev/2026-January/118080.html
1•csmantle•13m ago•0 comments

Ancient Greek statues were painted

https://bigthink.com/high-culture/greek-statues-painted/
1•wolfi1•14m ago•0 comments

How to improve your productivity by 200% in just 9 months

https://www.jorgegalindo.me/en/blog/posts/how-to-improve-your-productivity-by-200-in-just-9-months
1•jorgegalindo•18m ago•2 comments

Melania PG, Now Playing, 1h 44M, Documentary

https://www.rottentomatoes.com/m/melania
3•GreenSalem•19m ago•1 comments

Show HN: Afelyon – open-source AI agent that turns Jira tickets into GitHub PRs

https://afelyon.com/
1•AbduNebu•25m ago•0 comments

How Upc Barcodes Work

https://craigball.net/2021/01/25/understanding-the-upc-because-you-can/
1•asaiacai•25m ago•0 comments

Paper Notes – NanoLog – A Nanosecond Scale Logging System

1•carzzyDev•29m ago•0 comments

Show HN: Thought to tweet in 30sec – learns your voice (founder pricing forever)

https://trumpet.house
1•chrislxy•32m ago•0 comments

Euro firms must ditch Uncle Sam's clouds and go EU-native

https://www.theregister.com/2026/01/30/euro_firms_must_ditch_us/
6•jamesblonde•32m ago•0 comments

Show HN: Wanderlust-Rust daemon nukes Windows PATH bloat every 30 min

https://github.com/Michael-A-Kuykendall/wanderlust
1•MKuykendall•33m ago•0 comments

Show HN: LibreBlog – privacy-first, in-browser SSG with citation/RIS import

https://github.com/LibreBlogOrg/LibreBlog
1•libreblog•34m ago•0 comments

htmx: Server Sent Event (SSE) Extension

https://htmx.org/extensions/sse/
6•tosh•35m ago•2 comments

METR releases Time Horizon 1.1 with 34% more tasks

https://metr.org/blog/2026-1-29-time-horizon-1-1/
1•mustaphah•37m ago•0 comments

Tell HN: Kimi AI builds persistent profiles from your conversations

2•csomar•44m ago•0 comments

Show HN: Npmtraffic – mobile-friendly NPM download stats with daily tables

https://npmtraffic.com
1•quietbyte•45m ago•0 comments

This cute AI-generated schoolgirl is a growing far-right meme

https://www.cnn.com/2026/01/31/uk/amelia-meme-ai-far-right-intl-scli
3•breve•50m ago•0 comments

Show HN: New CLI tool to count tokens locally

https://github.com/zahidcakici/tokenizer-cli
2•zahidcakici•51m ago•0 comments

Praxis Nation

https://www.praxisnation.com/
1•xg15•54m ago•1 comments

The Perry Bible Fellowship

https://pbfcomics.com/
3•the-mitr•55m ago•0 comments

Automatic Programming

https://antirez.com/news/159
25•dvrp•55m ago•3 comments

Show HN: Qeek – Go Deep‑Learning Framework with Tensors, AutoGrad and CUDA

https://github.com/sahandsafizadeh/qeep
1•avestura•57m ago•0 comments

The Most Important Code Is the Code No One Owns

https://techyall.com/blog/the-most-important-code-is-the-code-no-one-owns
1•birdculture•59m ago•0 comments

PlaybackStats: Private YouTube Viewing Stats Without Account or Tracking

https://playbackstats.com
1•ashing•59m ago•0 comments