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!

I'm done coding with AI [video]

https://www.youtube.com/watch?v=2ZU3j4GQ4K8
1•alt227•1m ago•0 comments

Analyzing Slow Performance on the Framework Laptop 13 Pro Intel Panther Lake

https://www.phoronix.com/review/fedora-pantherlake-thermald-tuned
1•rbanffy•1m ago•0 comments

The Deadline Dividend

https://deadline-dividend.onrender.com
1•serialwindow•2m ago•0 comments

Tailscale Traces Database Corruption to 16y/o SQLite WAL-Reset Bug

https://tailscale.com/blog/sqlite-wal-reset-bug
2•ropbear•3m ago•0 comments

Linux Seeing Patches for Better Hybrid Graphics on 2018~2019 MacBook Pros

https://www.phoronix.com/news/Linux-2026-Patches-For-2018-MBP
1•DemiGuru•3m ago•0 comments

Sequoia Raises Its Comfort with Risk in AI Bets

https://www.bloomberg.com/news/newsletters/2026-08-11/sequoia-raises-its-bets-on-ai-startups
1•wslh•4m ago•1 comments

AI Watermarks Are Coming. What Will Universities Do with Them?

https://www.reddit.com/r/AIEducation/comments/1vmd46t/ai_watermarks_are_coming_how_should_univers...
1•behindai•6m ago•1 comments

Unearthing a 31 year old Easter egg in Ecco the Dolphin

https://32bits.substack.com/p/under-the-microscope-ecco-the-dolphin-98c
1•bbayles•6m ago•0 comments

Show HN: NYC's 349 CCTV feeds as a live crowd map

https://somodus.com/a/25e5b366a8033e5b147e8a9546ebd871
1•eric2025•7m ago•0 comments

RF Filter Design for ESP32-S3 – PCB Effects and EM Co-Simulation

https://dispatch.altivlabs.com/esp32-s3-rf-filter-design-part-2/
1•yourstruly-br•7m ago•0 comments

Stealing Reasoning Traces from Proprietary LLM APIs

https://arxiv.org/abs/2608.09867
2•shikharbhardwaj•8m ago•0 comments

LFM2.5-VL-3B: A Better and Faster Vision-Language Model for the Edge

https://www.liquid.ai/blog/lfm2-5-vl-3b
2•samstevens•9m ago•1 comments

South Africa's Eskom targets data centre 'gold rush' for its power surplus

https://www.ft.com/content/107b354b-ba03-44f2-9939-517cbcc11cd0
2•JumpCrisscross•10m ago•1 comments

The Railway Bubble vs. the AI Bubble (2025)

https://awealthofcommonsense.com/2025/11/the-railway-bubble-vs-the-ai-bubble/
2•mooreds•11m ago•0 comments

Show HN: Research on LLM Disagreement on Factual Claims

https://zenodo.org/records/21829261
1•kostaj•11m ago•1 comments

Circumstantial Complexity, LLMs and Large Scale Architecture

https://datagubbe.se/aiarch/
1•andsoitis•11m ago•0 comments

McDonald's built a 515-page dossier on one customer

https://www.wired.com/story/mcdonalds-built-a-515-page-dossier-on-me-it-says-ill-never-leave/
1•BlueBerry2001•12m ago•0 comments

Did poop enable the evolution of complex animals?

https://arstechnica.com/science/2026/08/feces-fueled-a-flurry-of-evolution-during-the-cambrian-st...
2•Brajeshwar•12m ago•0 comments

User Interfaces of the Demo Scene

https://datagubbe.se/scenegui/
1•andsoitis•12m ago•0 comments

Show HN: Monkey see, monkey do – reproduce text via native OCR on macOS

https://github.com/faheel/msmd
1•faheel•12m ago•0 comments

Simulated red blood cells and microscopy

https://lucasamoudruz.com/blog/red-blood-cells.html
1•amlucas•13m ago•0 comments

Singapore Airlines loses almost $800M on Air India bet

https://www.ft.com/content/5ed01c06-573f-4864-bc11-6cea70593197
1•JumpCrisscross•13m ago•0 comments

If the markets reject OpenAI and Anthropic, the US should nationalize them

https://www.theguardian.com/commentisfree/2026/aug/12/openai-anthropic-ai-models
1•andsoitis•14m ago•0 comments

GulliBench: Measuring Skepticism in Frontier Models

https://vetto.ai/companies/gullibench.html
6•rigelbm•14m ago•0 comments

Show HN: NoCrap – Gamifying porn addiction recovery

https://nocrap.vercel.app/
2•uioio•15m ago•0 comments

Obituary: AmigaDOS developer Dr. Tim King has passed away

https://amiga-news.de/en/news/AN-2026-08-00070-EN.html
7•doener•16m ago•0 comments

Reverse-engineering an abandoned capture box with AI (and where it failed)

https://chiptron.eu/reviving-old-unsupported-devices-with-ai-avermedia-game-capture-hd-ii/
1•smitka•16m ago•1 comments

80% of Investing Tools Have a Free Tier

https://www.findmymoat.com/stats/investing-tools
2•jera_value•17m ago•0 comments

Show HN: Cc-probeline – Claude Code status line with Fable limits and turn costs

https://github.com/labzink/cc-probeline
1•labzink•17m ago•1 comments

anti-slop: Opinionated Oxlint rules

https://github.com/dmmulroy/anti-slop
1•tosh•17m ago•0 comments