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!

GitOps in the Age of AI

https://confighub.com/blog/gitops-in-the-age-of-ai-c73d0bd506ba
1•mooreds•47s ago•0 comments

Why I Still Build Small Windows Tools with AutoIt

https://www.gexos.org/why-i-still-build-small-windows-tools-with-autoit/
1•gexos•2m ago•0 comments

Agentic test processes, LLM benchmarks, and other notes on agentic coding fr

https://danluu.com/ai-coding/#llm-variance
1•lifeisstillgood•2m ago•0 comments

Companies must address self-driving car interference with emergency vehicles

https://www.reuters.com/world/us/companies-must-address-self-driving-car-interference-with-emerge...
1•EA-3167•6m ago•0 comments

The Myth of the Solo Unicorn

https://stephenforte1.substack.com/p/the-myth-of-the-solo-unicorn
1•Darmani•6m ago•0 comments

Kk

2•jeie•7m ago•0 comments

Gene modification proposed to bring back near extinct American chestnut

https://www.usatoday.com
1•rmason•10m ago•2 comments

Multigres Supports Listen/Notify Across Pooled Connections

https://multigres.com/blog/listen-notify
2•eatonphil•12m ago•0 comments

NYT calls University of California 'test-blind' admissions a 'terrible' mistake

https://www.foxnews.com/media/new-york-times-calls-university-california-test-blind-admissions-po...
1•SilverElfin•14m ago•3 comments

China Is Abusing AI

https://www.theatlantic.com/international/2026/07/xi-jinping-censorship-ai-training/687696/
3•malshe•14m ago•2 comments

Pilot dies after jumping from plane leaving trainee to land it

https://www.dailyrecord.co.uk/news/uk-world-news/pilot-dies-after-jumping-plane-37398564
1•delichon•14m ago•0 comments

Show HN: Onboard-CLI, a LLM powered and AST-based tool to visualize codebase

https://github.com/animesh-94/Onboard-CLI
1•yr_animesh•15m ago•0 comments

Claude, Start My Database

https://docs.eventsourcingdb.io/blog/2026/07/09/claude-start-my-database/
1•goloroden•16m ago•0 comments

Zombie 'who owns Unix?' lawsuit comes alive again

https://www.theregister.com/os-platforms/2026/07/06/zombie-who-owns-unix-lawsuit-comes-alive-agai...
2•ecliptik•16m ago•0 comments

I Built My Son an Over-Engineered Robot [video]

https://www.youtube.com/watch?v=teeNgLN_ZRI
1•skibz•18m ago•0 comments

FAANG Simulator

https://www.abeyk.com/escape-the-rat-race/
4•nerdbiscuits•18m ago•1 comments

Decisions That Doubled Gusto Engineering's Throughput

https://gusto.com/company-news-ai-transformation-engineering
1•wildmaples•19m ago•0 comments

Maybe Anthropic and OpenAI Are Not the Future of Artificial Intelligence

https://www.nytimes.com/2026/07/08/opinion/openai-anthropic-palantir-alex-karp.html
3•littlexsparkee•19m ago•0 comments

Model and effort in Claude Code: knowing more vs. trying harder

https://xcancel.com/i/article/2074900291062034618
1•Topfi•21m ago•0 comments

Show HN: Skill-extractor turns coding agent transcripts into reusable skills

https://github.com/surenode-ai/skill-extractor
1•chand249•21m ago•0 comments

Show HN: Hnwork.app – UI for Who is hiring posts

https://hnwork.app/
5•scottilee•24m ago•0 comments

What's the Point of Sex, Anyway?

https://www.newyorker.com/magazine/2026/06/29/on-the-origin-of-sex-book-review-lixing-sun
2•Tomte•25m ago•0 comments

Interview #21 – Aiden (Rabbit R1)

https://app.notion.com/p/shawwn/Aiden-rabbit-R1-3970c85fad9380aa9b88d44e323f68b6?source=copy_link
1•sillysaurusx•25m ago•1 comments

Dibi8 – Open-source AI tools directory, 4 languages

https://dibi8.com
1•dibi8•26m ago•0 comments

Slughorn, Slug font/glyph render lib for OpenGL/OSG/Vulkan/GPU APIs (MIT lic))

https://alphapixeldev.com/slughorn-mit-licensed-gpu-agnostic-slug-font-glyph-rendering-library-fo...
2•XenonofArcticus•27m ago•1 comments

The Mystery of the Giant Clams of the Red Sea and Indian Ocean (2020)

https://dantheclamman.blog/2020/07/04/the-mystery-of-the-giant-clams-of-the-red-sea-and-indian-oc...
1•downbad_•29m ago•0 comments

PC Market Runs Low on RAM to Grow: Shipments Decline 4.9% as Memory Crunch Bites

https://www.idc.com/resource-center/press-releases/2q26-pc-top5/
1•speckx•30m ago•0 comments

Boston suing Meta and other social media companies over features for students

https://www.boston25news.com/news/local/boston-suing-meta-other-soical-media-companies-over-alleg...
1•1vuio0pswjnm7•31m ago•0 comments

Hyperia 0.16.1 now supports spoken summaries from any coding agent

https://github.com/DeepBlueDynamics/hyperia/releases
1•kordlessagain•31m ago•0 comments

Green River Residents Shut Down License Plate Reader Camera Project

https://cowboystatedaily.com/2026/07/08/green-river-people-shut-down-license-plate-reader-camera-...
4•Bender•32m ago•0 comments