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!

The Greenhushing Trap

https://sloanreview.mit.edu/article/the-greenhushing-trap/
1•gnabgib•49s ago•0 comments

Scheduler Woes: Bisecting Early Performance Regressions Found in Linux 6.19

https://www.phoronix.com/review/linux-619-sched-regress
1•dabinat•6m ago•0 comments

Fear of the Walking Zig: The Security Audit Gap

https://generativeai.pub/fear-of-the-walking-zig-the-security-audit-gap-707aec6ceb92
1•todsacerdoti•8m ago•0 comments

Show HN: Qyavix – A 155-byte DOM runtime inspired by React hooks

https://github.com/Yinhao-c/Qyavix
2•yihac1•9m ago•0 comments

iPadOS 26.2 will restore Split View and Slide Over on iPads

https://9to5mac.com/2025/12/07/apple-fixed-ipad-software-gripe-ipados-26-2-slide-over/
2•walterbell•10m ago•0 comments

Wyoming Cowboys Are Breaking Down Barriers

https://www.nytimes.com/2025/12/09/climate/wyoming-virtual-fences-livestock.html
1•fleahunter•15m ago•0 comments

Window Maker Live 13.2 brings 32-bit life to Debian 13

https://www.theregister.com/2025/12/09/microsoft_windows_maker_live_132/
2•wmlive•18m ago•1 comments

Google kills Gemini Cloud Services (2035)

https://sw.vtom.net/hn35/item.html?id=90099555
3•throwaway-0001•19m ago•0 comments

Utah Tries Relocating Beavers to Save Them, and Remake the Landscape

https://www.nytimes.com/2025/12/09/climate/utah-beaver-rescue.html
1•quapster•19m ago•0 comments

The Seven-Minute Doctor Visit Cannot Understand a Human Body

https://markatwood.substack.com/p/the-seven-minute-visit-cannot-understand
1•walterbell•20m ago•0 comments

I turned NeurIPS 2025 into podcast episodes. Here's what I learned about AI

https://www.basisset.com/#NeurIPS2025
1•changxu•23m ago•1 comments

iMessage's Architecture Makes It Hard to Block Without Blocking All Push Notices

https://daringfireball.net/2025/12/imessage_push_notifications_hard_to_block
3•JumpCrisscross•27m ago•1 comments

Show HN: An unlimited Wordle practice site I built

https://wordles.org/
1•mr_windfrog•27m ago•0 comments

Facilitating AI Adoption at Imprint

https://lethain.com/company-ai-adoption/
1•gpi•27m ago•0 comments

Architecture Diagrams of Popular Open Source Projects Like Polar and Ghostty

https://app.principal-ade.com/principal-forks
3•gitgallery•33m ago•0 comments

Debugging misaligned completions with sparse-autoencoder latent attribution

https://alignment.openai.com/sae-latent-attribution/
1•gmays•34m ago•0 comments

Omakase for our Data Stack: When to use closed source over an open data stack

https://www.ascend.io/blog/opinionated-data-platforms-vs-open-source-when-to-used-closed-source-o...
1•articsputnik•36m ago•0 comments

Microsoft to invest over $5.4B in Canada to expand AI infrastructure

https://www.business-standard.com/technology/tech-news/microsoft-to-invest-over-5-4-bn-in-canada-...
3•ashishgupta2209•38m ago•0 comments

The AI-Education Death Spiral a.k.a. Let the Kids Cheat

https://anandsanwal.me/ai-education-death-spiral/
5•LouisLazaris•40m ago•0 comments

How Stealth Works

https://linch.substack.com/p/how-stealth-works
2•paulpauper•41m ago•1 comments

Should We Ban Phones in the Classroom?

https://nicholasdecker.substack.com/p/should-we-ban-phones-in-the-classroom
1•paulpauper•41m ago•0 comments

Seedbox technology could help drive coral restoration on the Great Barrier Reef

https://phys.org/news/2025-11-larval-seedbox-technology-coral-great.html
1•PaulHoule•43m ago•0 comments

Chinese desalination plant makes fresh water cheaper than tap water

https://www.scmp.com/news/china/science/article/3335518/chinese-desalination-plant-makes-fresh-wa...
6•teleforce•46m ago•0 comments

SpaceX reportedly planning 2026 IPO with $1.5T valuation target

https://techcrunch.com/2025/12/09/spacex-reportedly-planning-2026-ipo-with-1-5t-valuation-target/
3•donsupreme•49m ago•1 comments

The Solution Will Come from the Field

https://thinking.relica.io/the-solution-will-come-from-the-field/
1•m-xtof•50m ago•2 comments

224× Compression of Llama-70B with Higher Accuracy (Paper and Code)

https://zenodo.org/records/17873275
2•anima-core•51m ago•1 comments

Future HN with articles and comments by Opus 4.5/v0

https://v0-future-hacker-news.vercel.app/#
1•indigodaddy•54m ago•1 comments

React2Shell: My Droplet Joined a Botnet

https://elenacross7.medium.com/react2shell-my-droplet-joined-a-botnet-c4850b079515
2•skilldeliver•55m ago•0 comments

The Silicon Valley Campaign to Win Trump over on AI Regulation

https://www.wsj.com/tech/ai/the-silicon-valley-campaign-to-win-trump-over-on-ai-regulation-214bd6bd
3•zerosizedweasle•57m ago•0 comments

ASM Visualizer

https://asm.diveintosystems.org/
1•mfiguiere•58m ago•0 comments