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!

Title: Show HN: Werkbank – 57 tool-using tasks to compare self-hosted LLM setups

https://github.com/aisyndicate-ch/victors-werkbank
1•Schampuswerner•1m ago•0 comments

Pleione: AI Playground with Community

https://getpleione.com/en
1•octemberr•1m ago•0 comments

Birds, Plants and Ants

https://blue-continuum.com/birds-plants-and-ants
1•dnetesn•3m ago•0 comments

Ask HN: Worth switching back from Cursor to Antigravity

1•lecodexai•3m ago•0 comments

One Postgres branch after another

https://boringsql.com/posts/how-postgresql-branching/
1•waximabbax•4m ago•0 comments

Show HN: A static Unix-like website that runs Claude Code, Codex and Git

https://kuber.studio/#/claude
1•kuberwastaken•4m ago•0 comments

Show HN: MailWebhook lets you receive email in your app via a webhook

https://www.mailwebhook.com/email-to-webhook
1•pavelsg•4m ago•0 comments

Qw4 – CPU inference engine for Qwen4-35B-A3B in C11 and hand-written assembly

https://github.com/Eric-Lautanen/qw4
1•peter_d_sherman•5m ago•0 comments

The ocean's newest surveillance network has feathers

https://www.anthropocenemagazine.org/2026/11/the-oceans-newest-surveillance-network-has-feathers/
1•speckx•5m ago•0 comments

Chuck O'Rear, Windows XP Bliss photographer, dead at 84

https://www.sfchronicle.com/bayarea/article/charles-chuck-orear-windows-22566791.php
1•classichasclass•6m ago•0 comments

Tencent solves 65 unsolved math problems with open-weight models and traces

https://hy.tencent.ai/research/hymath?langVersion=en
1•iamjs•6m ago•0 comments

The first archive for AI-generated math with anonymous submissions

https://anonymath.ai
1•_skyforest•8m ago•1 comments

Niels Bohr wondered if life was beyond physics

https://blue-continuum.com/niels-bohr-wondered-if-life-was-beyond-physics
1•dnetesn•9m ago•0 comments

Show HN: I built an accessibility-first writing and research app

1•ryzalyusoff•11m ago•0 comments

Great Divergence

https://en.wikipedia.org/wiki/Great_Divergence
1•theletterf•11m ago•0 comments

First-ever fully AI movie hits theaters–Hollywood grapples w tech's growing use

https://www.cbsnews.com/news/gods-dont-give-gifts-first-fully-ai-movie-theaters/
1•bookofjoe•14m ago•0 comments

The Agony and Awkwardness of Running with the Boss

https://www.wsj.com/lifestyle/workplace/the-agony-and-awkwardness-of-running-with-the-boss-i-expl...
1•wallflower•14m ago•0 comments

Show HN: Varve – Inventory, du, costs and tags for S3/GCS/Azure and filesystems

https://github.com/varveio/varve
1•sagiba•15m ago•1 comments

Decision models for 96% less than Opus

https://modelplane.ai/blog/decision-models-on-modelplane
3•bassamtabbara•17m ago•1 comments

UFork: radical Actor-based concurrent memory-safe machine architecture

https://ufork.org/tutorial/index.html
1•childintime•18m ago•1 comments

Show HN: Overload – Mac battery manager showing AI agent usage in % per hour

https://overloadmac.com/
1•tudorbuildsai•19m ago•0 comments

Spf Lookup Benchmark 2026

https://spf1.com/blog/spf-lookup-benchmark-2026.html
1•bwoud•20m ago•0 comments

The RSS ecosystem quietly exploded in 2026

https://news.lavx.hu/article/the-rss-ecosystem-quietly-exploded-in-2026-here-s-what-matters
1•rapnie•20m ago•0 comments

Space Data Centers – Environmental impact of 77,000 starship launches

https://ihavenapkinthoughts.substack.com/p/one-million-evs-for-space-data-centers
2•viraj_shah•21m ago•0 comments

Fixing a Bug with Formal Methods and Property-Based Testing

https://goteleport.com/blog/formal-methods-property-based-testing-p-language/
1•russjones•22m ago•0 comments

Faest signature algorithm based on SHA-3 and AES

https://faest.info/
1•fanf2•29m ago•0 comments

PUBG Creator's Studio Had Grand Ambitions, Now It's Filed for Bankruptcy

https://kotaku.com/pubg-creators-independent-studio-has-filed-for-bankruptcy-2001003374
4•ksec•36m ago•0 comments

Trickles: A Stateless Network Stack for Improved Scalability, Resilience, and Fl

https://www.usenix.org/legacy/publications/library/proceedings/nsdi05/tech/full_papers/shieh/shie...
1•coryalthoff•40m ago•0 comments

DoD SBIR Tech Trend Analysis over past 45 years

https://sbir-topic-map.pages.dev/
1•mtkliema•40m ago•0 comments

Tom Rocks Maths Essay Competition (Archives)

https://tomrocksmaths.com/trm-essay-competition/
1•sargstuff•41m ago•0 comments