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!

Bank Account Remains Secure

https://www.argmin.net/p/your-bank-account-remains-secure
1•_delirium•2m ago•0 comments

Sometimes I need to push an emtpy commit just to trigger a pipeline

https://captainslog.me/memos/2026-08-01-push-emtpy-git-commit/
1•speckx•4m ago•0 comments

Plan Mode Is Dead?

https://freshworktree.com/plan-mode-is-dead/
2•skeggsguy•5m ago•0 comments

Pixel Code Policy – Visuomotor Programs from Demonstrations

https://jianghanxiao.github.io/pixel-code-policy/
1•E-Reverance•5m ago•0 comments

An update on February 2027 Next Fest

https://store.steampowered.com/news/group/4145017/view/696530069632320391
1•ashxel•6m ago•0 comments

Show HN: fsimg -- a tar-like tool that reads/writes FAT, HFS+, APFS, QNX images

https://github.com/stass/fsimg
1•stass•7m ago•1 comments

Junk Minimalism: A wind chime made of 170 pieces of space debris

https://junk.vaguespac.es/
1•thebigship•8m ago•0 comments

Samsung Will Reportedly Reveal Its First Humanoid Robot at CES

https://www.engadget.com/2330261/samsung-will-reportedly-reveal-its-first-humanoid-robot-at-ces/
2•gmays•9m ago•0 comments

A2Optimizer: Accelerating Time-to-Efficiency of LLM Serving with Agents

https://arxiv.org/abs/2611.36831
1•matt_d•9m ago•0 comments

The Submarine

https://paulgraham.com/submarine.html
1•seizethecheese•10m ago•0 comments

The Insane Privacy Policy Change in Mouse Gesture Extension "CrxMouse"

https://note.com/moosoo_sym/n/n6608406f6e66?hl=en
2•Bad_CRC•11m ago•0 comments

The Usaid Files Show an Agency Bending over Backwards to Avoid Censorship

https://www.techdirt.com/2026/11/30/i-read-all-248-usaid-files-they-show-an-agency-bending-over-b...
2•tastyface•11m ago•1 comments

Show HN: L'Eco di Turing – Autonomous daily briefing on AI alignment and evals

https://il-quotidiano.web.app/
1•lazzermu•11m ago•0 comments

CIA accused of decades-long cover-up over JFK assassination in new House report

https://www.theguardian.com/us-news/2026/nov/30/jfk-cia-lee-harvey-oswald-cover-up-report
2•SLHamlet•13m ago•0 comments

Germany braces for potential -30°C winter as 'Super El Niño' threatens

https://www.euronews.com/2026/11/30/germany-braces-for-potential-30c-winter-as-super-el-nino-thre...
1•rawgabbit•14m ago•0 comments

FindByFace

https://findbyface.net/
1•fanspediaoffici•15m ago•0 comments

Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF

https://playground.archlang.uk/
2•chanmeng•16m ago•0 comments

LLM on bare-metal making ASM games

https://twitter.com/superalesha/status/2127470584405565897
1•jensgk•16m ago•0 comments

Feelings on doing Advent of Code for the last time

2•zodwick•18m ago•0 comments

Show HN: FederationPulse – find memory leaks across micro-frontend boundaries

https://federationpulse.monryte.com/
1•adrianbsandu•18m ago•0 comments

People, ryan – people will never go out of business

https://aimode.substack.com/p/people-ryan-people-will-never-go
2•warthog•20m ago•0 comments

How does telephone ringing work? [video]

https://www.youtube.com/watch?v=dqKFS1p1ivo
2•doctoboggan•21m ago•0 comments

Dot matrix printers could print in full color. Sort of. [video]

https://www.youtube.com/watch?v=0r6DrlY6Yqw
2•throw0101c•21m ago•0 comments

Anthropic has found a theoretical way to crack advanced encryption

https://text.npr.org/nx-s1-6058206
1•greenburger•22m ago•0 comments

Who wants a lamp that wants to be wanted?

https://www.computerworld.com/article/4251660/who-wants-a-lamp-that-wants-to-be-wanted.html
1•mikelgan•22m ago•0 comments

Erosion – write cross-platform native mobile apps in Rust

https://github.com/fwaris/erosion
1•fwaris•23m ago•0 comments

Show HN: Dx Code – Fastest IDE+ADE+Browser. Built on Top of Zed Code Editor

https://dx.essencefromexistence.com/download
1•essfrmexistence•24m ago•0 comments

Bomber: A Novel of Technology

https://infovore.org/archives/2026/11/28/bomber
1•edent•26m ago•0 comments

Anthropic announces six-week delay for latest frontier model to address security

https://cyberscoop.com/anthropic-delays-frontier-ai-model-safety-safeguards/
2•speckx•26m ago•1 comments

Meta, TikTok, EU sponsoring AI tools to detect anti-Israel speech

https://thegrayzone.com/2026/11/28/meta-tiktok-eu-sponsoring-ai-tools-to-detect-anti-israel-speech/
4•unitedfirmware•27m ago•0 comments