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!

Anthropic is no longer a frontier lab

https://twitter.com/trydotworks/status/2098618997230985375
1•try-working•57s ago•0 comments

Google allegedly stole open-source code for mobile AI tool

https://www.neowin.net/news/google-steals-open-source-code-for-mobile-ai-tool/
2•OutOfHere•1m ago•0 comments

The OpenSSL Library supports DTLS 1.3

https://openssl-library.org/post/2026-09-09-dtls-1.3/
1•gslin•3m ago•0 comments

Is truth future proof? [pdf]

https://khoury.northeastern.edu/~cmartens/papers/plateau26-itfp.pdf
1•encyclopedism•4m ago•0 comments

The gpg.fail aftermath: On responsible disclosure, GPG, & the state of security [video]

https://media.ccc.de/v/2026-728-the-gpg-fail-aftermath-on-responsible-disclosure-gpg-and-the-stat...
1•_djo_•4m ago•0 comments

Linux Zoom client proactively reading everything written to X11 clipboard

https://hachyderm.io/@simontatham/117201594980991062
3•encyclopedism•7m ago•1 comments

Show HN: Termique, an SSH client where the server can't read your credentials

https://termique.app/
1•masitings•7m ago•0 comments

Park ranger found trees missing from the living world for millions of years

https://spacedaily.com/t-park-ranger-australian-canyon-wollemi-pine-discovery/
1•bryanrasmussen•7m ago•1 comments

The prestige and status of research fields within mathematics(2020)[pdf]

https://arxiv.org/abs/2008.13244
1•num42•10m ago•0 comments

4,400-Year-Old Tomb of Egyptian Judge Found at Saqqara with Colors on Walls

https://arkeonews.net/4400-year-old-tomb-of-an-egyptian-judge-found-at-saqqara-with-colors-still-...
1•arunbahl•14m ago•0 comments

Exxon's Communication Strategy to Neutralize Public Opposition (2022)

https://ojs.stanford.edu/ojs/index.php/intersect/article/view/2402
2•joebig•16m ago•0 comments

NHTSA Opens Investigation into Tesla Cybercab Self-Certification

https://www.nhtsa.gov/press-releases/investigation-tesla-cybercab-self-certification
1•Betelbuddy•16m ago•0 comments

Ten Mathematics Problems I Will Never Solve(1997)[pdf]

http://www.giancarlorota.org/problems/problems.pdf
2•num42•18m ago•0 comments

Musk and Altman back Anthropic CEO on slowing AI down

https://www.yahoo.com/news/us/article/dario-is-right-musk-and-altman-back-anthropic-ceo-on-slowin...
1•andsoitis•20m ago•3 comments

With regulatory capture we will speedrun to a new feudalist time

https://twitter.com/levelsio/status/2098839424356270163
3•bilsbie•21m ago•0 comments

Show HN: AI-Powered Word Guessing Game

https://synapse.akshayr.xyz/
1•barbierocks•22m ago•0 comments

SEO 2026: Why Brand Signals, Entity Authority Matter Alongside Backlinks

https://scalevise.com/resources/seo-2026-brand-signals-entity-authority-backlinks/
1•dxs•23m ago•0 comments

crustyBASIC – BASIC cross compiler for retro systems

https://telengard.itch.io/crustybasic
2•telengard•25m ago•0 comments

Show HN: I use AirPods as wireless IMUs to track discs, bowling balls and runs

https://kinapod.com/technology
1•paultracer•25m ago•0 comments

LED Torches tested and reviewed by Fred-in-the-shed since 1999

https://www.fredshed.co.uk/LEDtorches.htm
1•microsoftedging•27m ago•0 comments

San Franciscans are having sex in robotaxis, and nobody is talking about it

https://sfstandard.com/2023/08/11/san-francisco-robotaxi-cruise-debauchery/
3•edward•29m ago•4 comments

Distilling a Bigram

https://www.sithankanna.com/posts/bigram-distillation.html
1•hdit•31m ago•0 comments

We're living through an explainer epidemic

https://www.dazeddigital.com/life-culture/article/70929/1/thoughtfluencers-hot-takes-tiny-mics-ex...
1•iamben•32m ago•0 comments

Don't Hit Publish If You Miss This Rule

https://canro91.github.io/2026/09/11/Publish/
1•speckx•33m ago•0 comments

India's payments regulator rolls tap to pay outside Visa and Mastercard networks

https://twitter.com/npci_npci/status/2098072369973825677
3•villgax•34m ago•1 comments

Computer Use Agents Are Excellent QA Engineers

https://tristanrhodes.com/blog/Computer-Use-Agents-are-Excellent-QA-Engineers
1•partypete•35m ago•0 comments

LG Denies Accusations of Smart TVs Continuously Recording Its Users

https://www.engadget.com/2256728/lg-denies-accusations-of-smart-tvs-continuously-recording-its-us...
3•speckx•37m ago•1 comments

Can A.I. "Go Rogue"?

https://www.newyorker.com/culture/open-questions/can-ai-go-rogue
2•saikatsg•38m ago•0 comments

Dario Just Said Pump the Brakes on AI

https://captaincompliance.com/education/dario-just-proposed-slowing-ai-development-on-purpose/
4•richartruddie•39m ago•1 comments

I just made a Git platform hosted on the blockchain

https://infinigit.com/
1•cd-4•39m ago•0 comments