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!

Show HN: I built a marketing kit with 500 skills and 56 plugins

https://cmokit.co/
1•mohitvaswani•2m ago•0 comments

Show HN: Statnest

https://statsnest.app/
1•ranwhatcom•3m ago•0 comments

Ask HN: Just heard two rounds of large caliber rifle fire

1•Choad_20261104•4m ago•0 comments

Yes, 17M lines of Lean is a lot

https://micjm.com/blog/yes-17m-lines-of-lean-is-a-lot/
1•seizethecheese•5m ago•0 comments

Researchers send an unblockable message using gravity

https://news.uq.edu.au/2026-11-uq-researchers-send-unblockable-message-using-gravity
2•geox•9m ago•0 comments

Esperanto

https://lernu.net/esperanto
2•minimal3•10m ago•0 comments

A honeypot that prints receipts

https://honeyprinter.com/
2•robbieo•12m ago•0 comments

A Partial Evaluator for C

https://phoenix.labri.fr/software/tempo/
2•measurablefunc•14m ago•0 comments

Mass destruction of weapons

https://computer.rip/2026-11-22-mass-destruction-of-weapons.html
2•firloop•18m ago•0 comments

A Healthy Society Falls Apart

https://www.honest-broker.com/p/how-a-healthy-society-falls-apart
2•paulpauper•25m ago•0 comments

Two missing pieces in the AI safety discussion

https://www.noahpinion.blog/p/two-missing-pieces-in-the-ai-safety
1•paulpauper•26m ago•0 comments

Intelligence Isn't Power

https://www.nytimes.com/2026/10/09/opinion/ezra-klein-podcast-arvind-narayanan.html
1•paulpauper•26m ago•0 comments

The Cosmos-ICEYE Incident

https://www.fpri.org/article/2026/11/the-cosmos-iceye-incident-a-glimpse-of-the-past-and-the-future/
1•jonbaer•30m ago•0 comments

Lowering Perplexity Without Scaling

https://micjm.com/blog/lowering-perplexity-without-scaling/
1•qlte•32m ago•0 comments

DeFlock Amerca Facebook Group Suspended as a Dangerous Organization

https://www.facebook.com/shugvermonte/posts/the-deflock-america-group-with-over-840k-members-has-...
3•gscott•34m ago•1 comments

Apple's "User Not Found" Bounces: Check the Suppression List You Keep

https://dmarcguard.io/blog/apple-icloud-user-not-found-bounces/
1•meysamazad•35m ago•0 comments

De-fanging dangerous triggers in GitHub Actions across an organization

https://pyfound.blogspot.com/2026/11/de-fanging-dangerous-triggers-in-github.html
1•meysamazad•35m ago•0 comments

GTA 6 Data Privacy Controversy Gaining Steam

https://captaincompliance.com/education/gta-6-privacy-controversy-what-rockstar-games-and-take-tw...
2•richartruddie•36m ago•1 comments

Good morning and welcome to my idea of a new web

https://dave.writersweb.org/index.md
1•meysamazad•38m ago•0 comments

Show HN: CubePod – E2B-compatible sandboxes with persistent rootfs on K8s

https://github.com/cubeplexai/cubepod
1•xfalpha•38m ago•0 comments

The robot that wants to take control of your life

https://www.youtube.com/watch?v=Xw5AwB05u5M
1•geerlingguy•46m ago•0 comments

Without Don Bluth, Where Would Animation Be Now?

https://animationobsessive.substack.com/p/without-don-bluth-where-would-animation
1•zdw•49m ago•0 comments

Shrines of Somerville, 2026

https://erichaines.com/someshrines.html
1•madars•51m ago•0 comments

Crypto-Christianity

https://en.wikipedia.org/wiki/Crypto-Christianity
2•silver92bullet•53m ago•1 comments

A fast, output-compatible Rust reimplementation of the AWS CLI v2

https://github.com/conao3/rust-awscli
1•matsuu•58m ago•0 comments

HTML-in-Canvas Experiments

https://html-in-canvas.page/
2•cheeaun•1h ago•1 comments

Computing Education When Writing Code Is No Longer the Challenge

https://cacm.acm.org/opinion/computing-education-when-writing-code-is-no-longer-the-challenge/
1•azhenley•1h ago•0 comments

State of the tech job market: late 2026

https://www.lennysnewsletter.com/p/state-of-the-tech-job-market-late
1•nreece•1h ago•0 comments

Show HN: Codexed – A local settings editor for Codex CLI

https://github.com/codex-config/codexed
1•ftchd•1h ago•0 comments

A collective effort in open research

https://solveathome.org/
1•Stevvo•1h ago•0 comments