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!

Mike Rowe 464: Palmer Luckey–The Department of War Has a Mullet

https://music.youtube.com/podcast/csmQqaSHJrw
1•nradov•3m ago•0 comments

RSS.Social – the latest and best from small sites across the web

https://rss.social/
1•Curiositry•7m ago•0 comments

Building a JavaScript runtime in one month

https://themackabu.dev/blog/js-in-one-month
1•alexinavar•7m ago•1 comments

Carney says old world order 'is not coming back'

https://www.bbc.com/news/articles/cly3d28p4p8o
2•kwar13•9m ago•2 comments

Blade Runner Costume Design (2020)

https://costumedesignarchive.blogspot.com/2020/12/blade-runner-1982.html
1•exvi•9m ago•0 comments

Yes, I Love Ops: Because We Do Not Fear Production

https://mollysheets.com/2023/04/15/yes-i-love-ops/
1•mooreds•10m ago•0 comments

Chinese EVs Blow Past Tesla and Tariffs En Route to Global Reign

https://www.wsj.com/business/autos/china-cars-tariffs-byd-tesla-fa18066f
2•JumpCrisscross•12m ago•0 comments

Wasabi Raises $70M in New Equity

https://wasabi.com/company/newsroom/press-releases/wasabi-raises-70m-in-new-equity-to-power-the-n...
1•marc__1•12m ago•0 comments

Macaronis and the New Romantics: Making my 18th Century 'Macaroni' wig (2015)

https://revolutionarycostumes.blogspot.com/2015/03/making-18th-century-macaroni-wig.html
1•exvi•14m ago•0 comments

SubtleCrypto: GenerateKey() Method

https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey
3•mooreds•15m ago•1 comments

Humans in the Loop

https://robbyonrails.com/articles/2026/01/20/humans-in-the-loop/
1•mooreds•16m ago•0 comments

Show HN: Wearable data and meal pics → a real coach adjusts plan every week

https://helloformafit.com/
1•nemath•18m ago•0 comments

How long do you think? I give it 3 years

2•hmokiguess•18m ago•1 comments

Humans&

https://humansand.ai/
1•flinner•19m ago•0 comments

AI startup Humans& raises $480M at $4.5B valuation in seed round

https://www.reuters.com/business/ai-startup-humans-raises-480-million-45-billion-valuation-seed-r...
2•flinner•20m ago•0 comments

"AI has taught us that people are excited to replace human beings"

https://www.theguardian.com/technology/2026/jan/19/ed-zitron-on-big-tech-backlash-boom-and-bust-a...
1•Brajeshwar•20m ago•0 comments

Outliner

https://outliner.com/
1•handfuloflight•21m ago•0 comments

Australia criminalises hurting feelings [video]

https://www.youtube.com/watch?v=VskqOgr1OtU
1•hekkle•22m ago•0 comments

High-bandwidth flash progress and future

https://blocksandfiles.com/2026/01/19/a-window-into-hbf-progress/
1•tanelpoder•26m ago•0 comments

Rust's Standard Library on the GPU

https://www.vectorware.com/blog/rust-std-on-gpu/
4•nnethercote•28m ago•0 comments

Your Brain Might Not Be Full of Microplastics After All

https://www.insidehook.com/wellness/microplastics-studies
5•RickJWagner•29m ago•0 comments

Ask HN: Do you protect your client-side JavaScript? Why or why not?

1•nikitaeverywher•29m ago•0 comments

A 1970s Babysitting Co-Op as a Metaphor for Crypto's Future

https://www.realclearmarkets.com/articles/2026/01/20/a_1970s_babysitting_co-op_as_a_metaphor_for_...
1•RickJWagner•29m ago•0 comments

Show HN: CoCursor – Team collaboration tools for Cursor IDE

https://github.com/toheart/cocursor
1•toheart•31m ago•0 comments

25% of new cars sold globally in 2025 were EVs – here's who bought them

https://electrek.co/2025/12/17/25-percent-of-new-cars-sold-globally-are-evs-heres-who-is-buying-t...
2•toomuchtodo•39m ago•1 comments

Show HN: HiveSpace – GitLab Runner Health Dashboard

https://www.hivespace.io/
1•steffs•40m ago•0 comments

I made this to save my bookmarks to review later in an inbox-like view

https://cachetag.com
2•samweb3•48m ago•1 comments

From Human Ergonomics to Agent Ergonomics

https://wesmckinney.com/blog/agent-ergonomics/
1•nojito•52m ago•0 comments

Pituffik Space Base

https://en.wikipedia.org/wiki/Pituffik_Space_Base
2•handfuloflight•56m ago•5 comments

Show HN: Autonomous outbound research and outreach drafts

https://www.prospecter.io
1•Greateste•1h ago•0 comments