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!

DuctTape Collective

https://ducttapecollective.com/
1•jruohonen•29s ago•0 comments

Lepodisiran Reduces Oxidized Phospholipids

https://www.acc.org/latest-in-cardiology/articles/2026/08/29/08/48/mon-jacc-lipids-esc-2026
1•brandonb•29s ago•0 comments

Twenty-One Miles – How far from a road you can get in the lower 48

https://ryansajdak.com/remote/
1•jtsnow•59s ago•0 comments

Show HN: Preview Postgres writes from AI agents with xmin checks (pg-dry-run)

https://github.com/polycore/pg-dry-run
1•anarkafkas•2m ago•0 comments

Order from disorder: do we need a new law of physics?

https://www.nature.com/articles/d41586-026-02685-0
1•Brajeshwar•2m ago•0 comments

Oscar Winner Brings Monsters to Life with His Simulation Software

https://spectrum.ieee.org/oscar-winner-jernej-barbic
1•jruohonen•2m ago•0 comments

Apple Watch Ultra 4 will differentiate itself from prior models

https://9to5mac.com/2026/08/28/heres-how-apple-watch-ultra-4-will-differentiate-itself-from-prior...
1•brandonb•3m ago•0 comments

'The forgotten empire': When Russia colonised California

https://www.bbc.com/travel/article/20260828-when-russia-colonised-california
1•tzury•3m ago•0 comments

Edit and present slides in Markdown with AI

https://kordikp.github.io/slaidy/
1•kordikp•3m ago•0 comments

What Are Platform Businesses?

https://platformchronicles.substack.com/p/what-are-platform-businesses
2•rafaelc•6m ago•0 comments

ChatGPT and Reddit now face EU's toughest online safety rules

https://arstechnica.com/tech-policy/2026/08/chatgtp-and-reddit-now-face-eus-toughest-online-safet...
3•ViktorRay•8m ago•0 comments

He Was a Top Lawn Care Influencer on YouTube. Then Everything Went Haywire

https://www.nytimes.com/2026/08/30/magazine/greg-chism-youtube-bad-baby.html
2•mooreds•8m ago•0 comments

Australia risks missing out on AI economic boom due to 'slow' business uptake

https://www.abc.net.au/news/2026-08-31/ai-could-boost-australias-economy-treasury-flag-slow-uptak...
2•ern•9m ago•0 comments

Twelve questions to ask before you choose your fleet's memory platform

https://medium.com/@majid.fekri/the-agent-memory-checklist-6b3da2df17e2
2•supportm•10m ago•0 comments

Launch HN: Hebbian Robotics (YC S26) – Build scalable robotics data pipelines

https://github.com/Hebbian-Robotics/hflow
3•kstonekuan•11m ago•0 comments

Risk averse Australians not 'having a go' in a culture of compliance (2019)

https://www.smh.com.au/business/the-economy/risk-averse-australians-not-having-a-go-in-a-culture-...
2•ern•11m ago•0 comments

Agentic Trust Controls

https://trustcontrols.ai/
4•mooreds•12m ago•0 comments

Kahn vs. Anthropic, PBC

https://www.vacadaffanlaw.com/post/kahn-v-anthropic-pbc
4•Bluestein•13m ago•1 comments

Show HN: 2x-4x cheaper GLM 5.3 for coding and research

https://www.coralbricks.ai
2•Hiteshjain118•14m ago•0 comments

'Talk to Mom': Burning Man attendees use this phone to call home

https://www.sfgate.com/sf-culture/article/burning-man-pay-phone-19736797.php
3•Bluestein•15m ago•0 comments

Snake embryos often coil in one direction. Now, we may know why

https://www.science.org/content/article/snake-embryos-often-coil-one-direction-now-we-may-know-why
2•Brajeshwar•15m ago•0 comments

AI ruined some of my most precious accessibility tools

https://straye.dgirl.gay/blog/2026/ai-ruined-accessibility/
3•speckx•16m ago•0 comments

Migrating a production cluster off ingress-nginx to Traefik v3

https://hostim.dev/blog/migrating-off-ingress-nginx/
2•pv1337•18m ago•0 comments

Show HN: What Happens When You Give Your AI Agents a Voice and an Attitude

https://fellowgeek.github.io/mcp-speak/
3•pcbmaker20•18m ago•1 comments

Apache Iggy, a message streaming platform in Rust, graduates to an Apache TLP

https://iggy.apache.org/blogs/2026/08/24/apache-iggy-top-level-project-tlp-graduation/
10•spetz•19m ago•3 comments

Doubling of Kobo's U.S. sales in both 2025 and 2026, 70% US female customer base

https://www.reddit.com/r/kobo/comments/1w20azv/the_doubling_of_kobos_us_sales_in_both_2025_and/
3•seam_carver•20m ago•0 comments

Free Online Tools and Apps

https://actuallyfreeonlinetools.com
3•bobby2shorts•20m ago•0 comments

ArchUnit for Python

https://github.com/LukasNiessen/ArchUnitPython
2•amai•20m ago•1 comments

ChatGPT to face tougher regulation in the EU

https://www.theverge.com/ai-artificial-intelligence/986682/openai-chatgpt-eu-dsa
3•dataking•21m ago•1 comments

Playa Phone

https://playaphone.com/
18•cutoff•21m ago•2 comments