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!

The New York Times sues Brave web browser for AI scraping and bypassing paywalls

https://www.theverge.com/tech/1024588/brave-lawsuit-ai-scraping-new-york-times
1•docdeek•24s ago•0 comments

A Bloodbath in the Stock Market?

https://awealthofcommonsense.com/2026/11/a-bloodbath-in-the-stock-market/
1•speckx•44s ago•0 comments

MCaptcha

https://mcaptcha.org/
1•WhyNotHugo•1m ago•0 comments

Found a backdoor on my NixOS laptop disguised as a "Nix-update" service?

https://discourse.nixos.org/t/found-a-backdoor-on-my-nixos-laptop-disguised-as-a-nix-update-servi...
1•srid•1m ago•0 comments

Tessarum: A Collection of Public Domain Art That Works Well as Phone Backgrounds

https://tessarum.com/
1•charlie42•1m ago•0 comments

Custom Voices with Qwen3-TTS

https://lucumr.pocoo.org/2026/10/29/qwen3-custom-voices/
2•mattvr•3m ago•0 comments

Trump vows to pardon Elon Musk if Democrats win midterms

https://finance.yahoo.com/economy/policy/articles/trump-vows-pardon-elon-musk-143500039.html
1•vrganj•3m ago•0 comments

The Invisible Engineering of Windows: Windows Are Absurd

https://practical.engineering/blog/2026/11/3/windows-are-absurd
1•crescit_eundo•3m ago•0 comments

NFL Scorigami

https://nflscorigami.com/
1•dieselgate•4m ago•0 comments

Quili AI

https://www.quili.ai/
3•Shugyousha•4m ago•0 comments

Unions gain access to 1000s of Google workers after employment rights overhaul

https://www.theguardian.com/politics/2026/nov/02/unions-google-workers-uk-employment-rights
2•nephihaha•4m ago•0 comments

Show HN: Interactive notes on RLHF, attention, LoRA and LLM evals

https://concepts.laxmena.com/
2•laxmena•4m ago•0 comments

The State of Longevity: The healthmaxxing economy is here

https://www.a16z.news/p/the-state-of-longevity
2•crescit_eundo•5m ago•0 comments

The cameras pointed at the balconies at the Cosmopolitan in Vegas

2•noduerme•5m ago•0 comments

Tell HN: Please Vote

4•cperciva•5m ago•1 comments

Anthropic's compute tab could top $1T as Q3 revenue nears $17B

https://www.theregister.com/ai-and-ml/2026/11/02/anthropics-compute-tab-could-top-1t-as-q3-revenu...
4•Bender•6m ago•0 comments

Fire risk to US structures will nearly triple by 2060 if we do nothing

https://www.colorado.edu/today/2026/11/03/fire-risk-us-structures-will-nearly-triple-2060-if-we-d...
3•geox•6m ago•0 comments

Architect creates open source replacement for VM migration tool

https://www.theregister.com/virtualization/2026/11/03/architect-creates-open-source-replacement-f...
3•Bender•6m ago•0 comments

The Transformers: The Movie (1986)

https://www.patreon.com/MiddayMatinees/posts/transformers-170050129
2•edent•9m ago•0 comments

Ancient Meteorite Found in the Sahara Holds Secrets About Mars' Watery Past

https://www.wired.com/story/ancient-fragment-from-mars-found-in-the-sahara-holds-secrets-about-th...
2•Brajeshwar•10m ago•0 comments

Listen to the Earliest Known Recordings of a Nearly Dead American Language

https://nautil.us/listen-to-the-earliest-known-recordings-of-a-nearly-dead-american-language-1286289
2•Brajeshwar•10m ago•0 comments

Report reveals campaign promoting racist, and Islamophobic views in Europe

https://www.aljazeera.com/news/2026/10/30/report-reveals-campaign-promoting-racist-islamophobic-a...
3•bhouston•10m ago•0 comments

Multi-dimensional array views for systems programmers

https://gist.github.com/pervognsen/0e1be3b683d62b16fd81381c909bf67e
2•fanf2•11m ago•0 comments

Are the Fridges Ok?

https://arethefridgesok.org/
8•madars•11m ago•2 comments

Show HN: HackerChurn – which SaaS tools HN wants to cancel

https://hissingkitty.com/hacker-churn
2•drewlem•11m ago•0 comments

Open models can do 90% of work at a twentieth of the cost of a frontier LLM

https://www.theregister.com/ai-and-ml/2026/11/03/open-models-can-do-90-of-agentic-work-at-a-twent...
2•Bender•11m ago•0 comments

Bear turns 10, and it still feels like day one

https://blog.bear.app/2026/11/bear-turns-10-and-it-still-feels-like-day-one/
2•psxuaw•11m ago•0 comments

The Model Has No Arms and Legs – can we stop the marketing hype?

https://chaosguru.substack.com/p/the-model-has-no-arms-and-legs
2•allixsenos•12m ago•0 comments

World of Warcraft: Forever Is Overrun with AI Slop

https://www.404media.co/world-of-warcraft-forever-is-already-overrun-with-ai-slop/
3•speckx•13m ago•0 comments

No Brother of Mine Will Play the Flute

https://homosabiens.substack.com/p/no-brother-of-mine-will-play-the
4•surprisetalk•13m ago•0 comments