frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Techno-Tribalism: Why Do Programmers Wage Holy Wars over Programming Languages?

https://xice.cx/en/posts/Techno-Tribalism/
1•stevefan1999•1m ago•0 comments

Google failing to label unofficial "visa" websites

https://indicator.media/p/google-promised-to-label-ads-for-unofficial-visa-providers-it-s-doing-a...
1•weryberl5•2m ago•1 comments

Linux joins Heathrow's grounded fleet of information screens

https://www.theregister.com/offbeat/2026/11/11/linux-joins-heathrows-grounded-fleet-of-informatio...
1•pjmlp•2m ago•0 comments

The TikTok to OnlyFans Pipeline: how TikTok is selling the sex industry to girls

https://cease.org.uk/news/tiktok-to-onlyfans-pipeline-report/
1•DeepLogin•2m ago•0 comments

Code mode that survives a crash

https://twitter.com/manojlds/status/2115868615333327059
1•tosh•3m ago•0 comments

Claudia.gallery

https://claudia.gallery/
1•ZeljkoS•9m ago•0 comments

Employees taking 32% more leave for GTA 6 launch day

https://remote.com/gta
2•egze•12m ago•0 comments

Atrocious Boeing Why? [video]

https://www.reddit.com/r/aviation/comments/1xtvs71/this_is_atrocious_boeing_why/
2•edward•14m ago•0 comments

Show HN: Mu Dashboard – System and Browser Vitals

https://chromewebstore.google.com/detail/mu-dashboard-system-brows/glicheafndnenmakkbnolglbkbiidmbf
2•lucakk•16m ago•0 comments

Hawley calls for Senate to pass data center moratorium

https://thehill.com/homenews/senate/6214878-hawley-calls-gop-data-center-moratorium/
2•01-_-•17m ago•0 comments

Pixel3D Pixel Art Creation Tool

https://apps.apple.com/us/app/pixel3d-dream-to-3d-reality/id6479245806
2•lucakk•20m ago•0 comments

LLM-Anthropic 0.31

https://simonwillison.net/2026/Nov/9/llm-anthropic/
2•millspore•21m ago•1 comments

Nvidia Multimedia Accelerator (1995)

https://web.archive.org/web/19961112163303/http://www.nvidia.com/corporate/prnv.html
2•armcat•22m ago•0 comments

I built Cashnix – an expense tracker to make managing personal finances easier

https://play.google.com/store/apps/details?id=com.warehouseapp.Spendora&hl=en_IN
2•sbbhaiswar•25m ago•0 comments

Show HN: MFlare – Cloudflare usage and deploy status in the macOS menu bar

https://mflare.yuy1n.io/
3•yuyinws•25m ago•0 comments

Key Facts About U.S. Data Centers

https://www.pewresearch.org/short-reads/2026/11/11/key-facts-about-us-data-centers/
2•giuliomagnifico•28m ago•0 comments

Show HN: Keep all your Claude desktop Code sessions when you swap accounts

https://github.com/ramonmazinga/claude-code-multi-account-bridge
2•ramonmazinga•29m ago•0 comments

Show HN: Taster – Plain-English rules your agent can't forget or ignore

https://github.com/rinkesh2010rpp/taster-ai
2•Rinkesh2010rpp•29m ago•0 comments

Show HN: MetaArena – Compare & Rank 5,353 Meta Global AI Hackathon Projects

https://meta-hackathon.com/
2•ohong•33m ago•0 comments

Tell HN: Gemini Hydrogen Reachable via Vertex

2•jcmp•35m ago•0 comments

Online multiplayer and more on an original NES [video]

https://www.youtube.com/watch?v=eGUmaMX9nOs
1•LaserDiscMan•36m ago•0 comments

Show HN: Tmv – File sorting utility written in Bash

https://github.com/SamerKolasevic29/tmv
2•znj29•43m ago•2 comments

FreeSpeech Messenger – Decentralized messaging with your own relay servers

https://github.com/rebisway/freespeech
2•rebisway•46m ago•0 comments

Possible Futures

https://borretti.me/article/possible-futures
3•varjag•48m ago•1 comments

'GTA 6' Pre-Loads Are Slowing Down the Internet, Warns ISP

https://www.forbes.com/sites/paultassi/2026/11/11/gta-6-pre-loads-are-slowing-down-the-internet-w...
4•vismit2000•48m ago•1 comments

Banks turn to credit insurance as they hit limits on lending to AI boom

https://www.ft.com/content/599932b7-a548-4d45-8ba4-70bdb8d14565
3•petethomas•48m ago•0 comments

Uncle Timmy's Public Blog PSF 2024 Bans

https://tim-one.github.io/psf/
3•Bluestein•52m ago•0 comments

1,509 to 6ms: Why Was Sending Feedback So Slow from Sydney?

https://usero.io/blog/why-feedback-was-slow-from-sydney
1•willsmith72•52m ago•1 comments

Show HN: Sparks Dating reply assistant focused on natural conversarion

https://www.yourdatingassistant.com
2•saurav7__•53m ago•1 comments

Computational Thinking Through Modular Sound Synthesis

https://olney.ai/ct-modular-book/index.html
1•CyMonk•55m ago•0 comments