frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Non-Obvious Things I Learned About GEPA

https://www.elicited.blog/posts/non-obvious-things-about-gepa/
1•justanotheratom•56s ago•1 comments

Tensor 1.5 matches Opus 4.5 94% cheaper and 20x faster

https://movementlabs.ai
1•movementlabsAI•1m ago•0 comments

Einstein: NewtonOS running on other operating systems

https://github.com/pguyot/Einstein
1•fanf2•7m ago•0 comments

2B R 0 2B

https://www.gutenberg.org/files/21279/21279-h/21279-h.htm
1•memalign•8m ago•0 comments

Flock license plate reader recorded its own theft, suspect in custody

https://www.fox35orlando.com/news/mount-dora-police-flock-license-plate-reader-theft-recorded-sus...
1•gscott•11m ago•0 comments

Spirograph style Lego drawing machine

https://jkbrickworks.com/simple-drawing-machine/
1•ensocode•12m ago•0 comments

Netrw.vim Repository Archived

https://github.com/saccarosium/netrw.vim
1•dzogchen•20m ago•0 comments

Couples rate honesty/trust/sex/money 1-10 → AI coach closes every gap

https://apps.apple.com/us/app/bondbeyond-relationship-care/id6443636330
1•Developodroid•21m ago•0 comments

Why IBM's CEO doesn't think current AI tech can get to AGI

https://www.theverge.com/podcast/829868/ibm-arvind-krishna-watson-llms-ai-bubble-quantum-computing
1•donutloop•21m ago•0 comments

One Shot Prompt from Database Schema

https://hub.harvis.io/
1•putna•22m ago•2 comments

Show HN: SimpSave – A lightweight Python KV store with read‑and‑use persistence

https://github.com/Water-Run/SimpSave
1•WaterRun•22m ago•0 comments

How to Import OST File to Office 365?

1•fardeen7186•23m ago•1 comments

Show HN: Qrdrop: Because file sharing shouldn't feel like work

https://peerlist.io/behi_beta/project/qrdrop
1•behnamazimi•25m ago•0 comments

The Kenyan Workers Training China's AI Models

https://restofworld.org/2025/kenya-china-ai-workers/
1•untwerp•28m ago•0 comments

How would your feed look if you got to control what you saw on social media?

https://www.abc.net.au/news/2025-12-08/chanel-contos-teach-us-consent-fix-our-feed/106107546
1•robin_reala•34m ago•0 comments

The overlooked engineering behind high-efficiency LEDs

1•emmasuntech•37m ago•0 comments

Show HN: Bat‑KV – A tiny single‑file KV database for Windows Batch scripts

https://github.com/Water-Run/Bat-KV
1•WaterRun•37m ago•0 comments

ZTE's Nubia M153 Running ByteDance's Doubao AI Agent

https://twitter.com/TaylorOgan/status/1996538308697137277
2•xnhbx•40m ago•0 comments

Netflix won Hollywood's biggest prize

https://techcentral.co.za/how-netflix-won-hollywoods-biggest-prize/275319/
1•amalinovic•40m ago•0 comments

Why AI coding agents arent production-ready

https://venturebeat.com/ai/why-ai-coding-agents-arent-production-ready-brittle-context-windows-br...
2•_____k•42m ago•0 comments

Migrating Burningboard.net Mastodon Instance to a Multi-Jail FreeBSD Setup

https://blog.hofstede.it/migrating-burningboardnet-mastodon-instance-to-a-multi-jail-freebsd-setu...
5•todsacerdoti•43m ago•0 comments

Vector DB Comparison

https://agentset.ai/blog/best-vector-db-for-rag
1•tifa2up•45m ago•0 comments

Why I hate the myth of the suffering artist (2012)

https://www.theguardian.com/books/booksblog/2012/apr/02/myth-of-the-suffering-artist
1•robtherobber•49m ago•0 comments

Show HN: PolyBets – Prediction Market for Auctions (Bet on Auction Results)

https://polybets.fun/
5•h100ker•51m ago•2 comments

The f*** off contact page

https://www.nicchan.me/blog/the-f-off-contact-page/
71•OuterVale•52m ago•15 comments

Use Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
2•birdculture•57m ago•2 comments

Show HN: I built MonumentValley3Wiki.com – a fan wiki for Monument Valley 3

https://monumentvalley3wiki.com/
1•WanderZil•57m ago•0 comments

Brighton ban Guardian from stadium over reporting on Tony Bloom

https://www.theguardian.com/football/2025/dec/07/brighton-bans-guardian-from-stadium-over-reporti...
5•Daviey•1h ago•0 comments

Show HN: CloakProbe – A privacy-first IP and client debug service

https://cloakprobe.dev
1•drmckay•1h ago•0 comments

In the Beginning Was the Command Line

https://web.stanford.edu/class/cs81n/command.txt
1•wseqyrku•1h ago•0 comments