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!

LLMs are inside fabs, so why aren't they solving core problems?

https://www.waferpilot.xyz/resources/fab-llm-yield-reliability/
1•mangohaha•28s ago•0 comments

Telegram Web A: Telegram's Zero-Dependency Official Web Client

https://github.com/Ajaxy/telegram-tt
1•theanonymousone•11m ago•0 comments

Show HN: Pbschema-lens – static doc generator for protobuf

https://github.com/ymmt2005/pbschema-lens
1•ymmt2005•13m ago•0 comments

The game industry is broken – can we fix it?

https://knowledge.edge-online.com/p/the-game-industry-is-broken-can-we-fix-it-tim-sweeney-edge-crash
2•mellosouls•15m ago•0 comments

World's Timekeepers Vote to Eliminate the Leap Second

https://www.smithsonianmag.com/smart-news/its-official-timekeepers-have-gotten-rid-of-the-leap-se...
1•signa11•15m ago•0 comments

Fast approximation algorithms for knapsack problems (1977)

https://ieeexplore.ieee.org/document/4567944
1•vismit2000•28m ago•0 comments

Dot factory – a spec to describe complex (agentic) workflows

https://redbeardlab.github.io/dotFactory/
1•siscia•31m ago•0 comments

Matthew Prince on why Cloudflare offers a free version and always will

https://webmasters.stackexchange.com/questions/88659/how-can-cloudflare-offer-a-free-cdn-with-unl...
5•thatslast•33m ago•1 comments

Mobile Application GPU Optimization Guide

https://arm-software.github.io/magog/
1•matt_d•34m ago•0 comments

Rahn Curve

https://en.wikipedia.org/wiki/Rahn_curve
1•baxtr•35m ago•0 comments

Does moving a GPU server's request loop into the kernel save CPU?

https://eunomia.dev/blog/2026/10/17/bpf-gpu-server/
1•thatslast•35m ago•0 comments

Wing Commander 3 is getting a remaster

https://www.pcgamer.com/games/sim/it-looks-like-wing-commander-3-is-getting-a-remaster-after-ea-p...
2•jbm•38m ago•0 comments

AI Slop? Nay, AI Gourmet

https://octomon.dev/blog/ai-slop-and-ai-gourmet/
1•securitypedant•42m ago•0 comments

A Mole Infiltrated the Highest Ranks of American Militias

https://www.propublica.org/article/ap3-oath-keepers-militia-mole
23•georgecmu•43m ago•1 comments

Du said Chrome was using 67 GB on my Mac. APFS said 2

https://dev.to/md_ayanbag_03a42545b17ac/du-said-chrome-was-using-67-gb-on-my-mac-apfs-said-2-here...
2•mdayan896•44m ago•1 comments

NextMove Berkeley

https://www.eventbrite.com/e/2003559456268/preview/?aff=oddtdtcreator
1•sianazari•47m ago•1 comments

Notes on the Complex Roots of Unity

https://eli.thegreenplace.net/2026/notes-on-the-complex-roots-of-unity/
2•sks_15•53m ago•0 comments

Refurb weekend II: Alpha Micro Eagle 300 and friends

http://oldvcr.blogspot.com/2026/10/refurb-weekend-ii-alpha-micro-eagle-300.html
1•classichasclass•54m ago•0 comments

Buildings set ablaze as police clash with protesters across France

https://www.theguardian.com/world/2026/oct/17/protests-france-high-prices-social-security-gilets-...
3•akbarnama•55m ago•0 comments

Standout film art, selected since 2011

https://www.reelizer.com/
1•vinhnx•1h ago•0 comments

Threads and Bluesky have quarantined some of the worst people on the Internet

https://twitter.com/nikitabier/status/2111281464742662307
3•sippingabonedry•1h ago•1 comments

You and the Atom Bomb – George Orwell (1945)

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/you-and-the-...
3•sram1337•1h ago•1 comments

Ghidra + CBMC = Assembly Model Checker

https://www.philipzucker.com/asmc_cpp/
2•matt_d•1h ago•0 comments

Show HN: Sphinx – a hook that quizzes you on your AI's code before shipping

https://sphinx-six-theta.vercel.app/
28•critiquebrowser•1h ago•9 comments

Association between handgrip strength and incident depression

https://www.sciencedirect.com/science/article/pii/S0022395626000968
9•geox•1h ago•2 comments

Life Ratings of Young Adults Down 20 Points Since 2010

https://news.gallup.com/poll/715010/life-ratings-young-adults-down-points-2010.aspx
2•bushwart•1h ago•0 comments

Build architecture diagrams by making a Factorio factory

https://github.com/echohack/factory
1•echohack5•1h ago•1 comments

Show HN: 500 clocks in one 6.3 MB HTML file by Opus 5.5

https://tkgally.github.io/500-clocks/
5•tkgally•1h ago•2 comments

A Coming Incident Crisis?

https://www.philvenables.com/post/a-coming-incident-crisis
2•fagnerbrack•1h ago•0 comments

OpenPrinter

https://www.crowdsupply.com/open-tools/openprinter
13•xjia•1h ago•1 comments