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!

A Software Factory Is No Substitute for Maturity

https://www.nibzard.com/dark-factory
1•nkko•3m ago•0 comments

NIMO Holo-Optical Glasses

https://www.nimoar.com
1•mertbio•3m ago•0 comments

Show HN: PolyTrip – crowd-funded group trip planning with AI

https://polytrip.co/
1•Maorperry1•4m ago•0 comments

Cross-Model LLM Code Review: Should you use Claude to review Codex or vice versa

https://arxiv.org/abs/2607.21656
1•mil22•6m ago•1 comments

Google AI Studio's "Delete" button is misleading [video]

https://www.tiktok.com/@user6510076090944/video/7670062915185085719?is_from_webapp=1&sender_devic...
1•Bitu79•7m ago•0 comments

Bluesky's new CEO wants to grow it all

https://www.theverge.com/podcast/974387/bluesky-toni-schneider-interview-ai-atproto-atmosphere
1•thm•11m ago•0 comments

No data centers in my backyard

https://jasmi.news/p/no-data-centers-in-my-backyard
1•theahura•11m ago•0 comments

Appgp.tv – building protocols for the AI-native web

https://appgp.tv/
1•mrxai•12m ago•1 comments

Nearly Half of the Company Websites We Checked Had No Security Headers

https://ciphercue.com/blog/nearly-half-of-companies-send-zero-of-7-basic-security-headers
1•adulion•12m ago•0 comments

Ray Bradbury's "There Will Come Soft Rains" is set today (2026-08-04)

https://short-stories.co/@raybradbury/there-will-come-soft-rains-6k8vr4xxlnmj
1•askvictor•14m ago•0 comments

Redbrix – A browser-based MySQL editor for non-technical users

https://redbrix.io/
1•AndyGriff•15m ago•1 comments

I RL-finetuned an LLM to unslop my writing

https://castform.com/blog/unslop/
1•stevekrouse•16m ago•0 comments

Wikimedia Foundation hired the union busters its own encyclopedia warned about

https://medium.com/regarding-wikipedia/the-wikimedia-foundation-hired-the-union-busters-its-own-e...
3•akolbe•18m ago•0 comments

Why Large Language Models Fail at Tabular Prediction

https://arxiv.org/abs/2608.02412
4•sbulaev•20m ago•0 comments

Show HN: Paranoia – Get a cold, adversarial review of your code

https://github.com/subvertnormality/paranoia-local
1•Grahf•20m ago•0 comments

Free Raycast Alternative? Introducing Tinycast

https://github.com/abue-ammar/tinycast
1•michael-sumner•20m ago•0 comments

Good Assistant, for turning long-term goals into daily progress

https://good-assistant.ai
1•jensabacik•22m ago•1 comments

Bartłomiej Kubkowski swims for 56 hours across the Baltic Sea

https://www.telegraph.co.uk/world-news/2026/08/03/polish-man-swims-100-miles-baltic-sea-sweden-po...
1•thunderbong•23m ago•0 comments

Learning-Rust.Github.io: Rust Programming Language Tutorials for Everyone

https://learning-rust.github.io
2•dumindunuwan•23m ago•1 comments

Scilab: Open-source software for numerical computation

https://www.scilab.org/
3•Tomte•26m ago•0 comments

DeepSeek V4 Flash on a Single AMD MI300X

https://github.com/ryanzhou/deepseek-v4-flash-mi300x
3•zhoutong•26m ago•0 comments

The end of the EU is near, and it's going to get ugly

https://newsletter.doomberg.com/p/final-countdown
3•simonebrunozzi•27m ago•1 comments

Bending Spoons is acquiring Airtable for $1.285B

https://www.reuters.com/legal/transactional/bending-spoons-makes-first-post-ipo-acquisition-with-...
1•maguay•32m ago•0 comments

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1•FrojoS•35m ago•1 comments

Show HN: Servitor – simplest way to run local dev containers

https://sndsabin.github.io/servitor/
1•havu12•37m ago•0 comments

Bending Spoons to Acquire Airtable

https://twitter.com/fedesimio/status/2084539635829465266
2•jbegley•38m ago•0 comments

Homebench – Benchmark local LLMs for speed, memory, and quality

https://github.com/david-g-3654/homebench
2•davai-g•38m ago•0 comments

AI Appliances: AI Agents and Agencies in YAML

https://leanpub.com/kdeps
1•jjuliano•39m ago•0 comments

Show HN: Clawx – A package manager where packages are agent tasks

https://github.com/debarshibasak/clawx
1•debarshri•41m ago•0 comments

57,000 tines lighter than Loom (download the HTML)

https://www.dropbox.com/scl/fi/kex0qo53gkxy8jb4cqaox/deck-recorder.html?dl=0&e=1&noscript=1&rlkey...
1•astonfred•43m ago•0 comments