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 Schema Named Hash Sent Our Ruby SDK into Infinite Recursion

https://octri.dev/blog/schema-names-shadow-standard-library
2•khalidkhair•5m ago•0 comments

Show HN: Kotlean: write Android apps in Lean

https://github.com/kbr-/kotlean
1•kbr-•5m ago•0 comments

Silent degradation is back, Fable and Mythos 5.2 perform at level of Opus 5.5

https://twitter.com/sfxnz/status/2120058367825908031
2•espeed•6m ago•1 comments

Yahoo is betting the house on its new AI, from search to all its services

https://www.fastcompany.com/91637528/yahoo-scout-new-search-ux
1•mkmk•6m ago•0 comments

Getting Started with OpenIndiana

https://docs.openindiana.org/handbook/getting-started/
1•measurablefunc•7m ago•0 comments

Show HN: Broken links silently waste your Google crawl budget

https://sitetoolsbox.com/article.php?id=55
1•kagouhui•10m ago•0 comments

A real-time city-infra map of Seattle

https://busytowns.org
1•abouhmad•12m ago•1 comments

MoofPort: An Open-Source WiFi Ethernet Driver for the Wi-Fi on Classic Mac

https://github.com/matthewmrichter/moofport
1•marcusbasant•14m ago•1 comments

Why did an Anglo-Saxon kingdom mint copper coins when silver was plentiful?

https://www.cambridge.org/core/journals/antiquity/article/debasement-and-the-production-of-copper...
1•titusblair•21m ago•1 comments

We Tore Down the MacBook Proled XDR and Found the Secret of the Glowing Apple

https://www.ifixit.com/News/120152/we-tore-down-the-macbook-proled-xdr-and-found-the-secret-of-th...
2•gnabgib•21m ago•0 comments

Powerful New Embedded C++ Scripting Language

https://jaiscript.com/
1•Devacor•24m ago•1 comments

Adobe brings AI agents and new creative tools to Photoshop Premiere and Firefly

https://techcrunch.com/2026/11/10/adobe-adds-more-ai-to-its-products-and-launches-an-mcp/
1•belcairn•24m ago•0 comments

OpenAI Continues to Suffer Heavy Losses as Revenue Rises to $10B

https://www.wsj.com/business/earnings/openai-continues-to-suffer-heavy-losses-as-revenue-rises-to...
3•JumpCrisscross•28m ago•2 comments

The Best Algebras Are Spinny [video]

https://www.youtube.com/watch?v=-k-Dnw0F3kc
1•marvinborner•29m ago•0 comments

PG Finds – PostgreSQL Articles and Tools from Hacker News

https://albedoweb.github.io/pg-finds/
1•albedoweb•30m ago•0 comments

Build-Aware Context and a Checking Harness for C++ Coding Agents

https://byteask.ai/research/byteask-system-cpp
1•anirudhak•31m ago•0 comments

Show HN: Vaultbase – a self-hosted back end in a single binary

https://github.com/vaultbase-sh/vaultbase
1•khalidsheet•32m ago•0 comments

Stanley Zabar Has Died at 94

https://www.nytimes.com/2026/11/10/obituaries/stanley-zabar-dead.html
3•bmmayer1•32m ago•0 comments

How I became a machine learning practitioner (2019)

https://blog.gregbrockman.com/how-i-became-a-machine-learning-practitioner
1•brandonb•32m ago•0 comments

AI proved your code correct. What did it actually prove?

https://kellerai.io/resources/ai-proved-your-code-correct
3•trehans•38m ago•1 comments

30 years of Internet transfers with curl

https://daniel.haxx.se/blog/2026/11/11/30-years-of-internet-transfers-with-curl/
3•sohkamyung•39m ago•0 comments

Openrouter will scan all traffic, adds human review

https://openrouter.ai/blog/announcements/csam-screening/
1•leafingensemble•39m ago•1 comments

Show HN: Code-to-ERD tool that only renders the tables you're currently editing

https://sqlestev.com
1•lestev•40m ago•1 comments

The Four Tiers of AI Intelligence

https://blog.coship.fyi/blog/ai-tiers/
1•Bolwin•42m ago•0 comments

Visualizing the Flow of Energy Through the U.S. Economy

https://www.viz.gl/projects/energy-flow/
2•skadamat•43m ago•1 comments

Extending LLDB to Debug Applications That Span CPUs and GPUs

https://engineering.fb.com/2026/11/09/developer-tools/extending-lldb-to-debug-applications-that-s...
3•JDevlieghere•51m ago•0 comments

The coming war on general computation [video]

https://www.youtube.com/watch?v=HUEvRyemKSg
1•Bluestein•52m ago•0 comments

Show HN: Rystic – Stateful Local Simulators of Slack, GitHub and Linear

https://www.rystic.ai
3•evan_whitehouse•55m ago•0 comments

LLMs Play Zachtronics' TIS-100

https://tis-100.wincon.dev/
3•fairestvalue•1h ago•0 comments

I built a Rio de Janeiro Map in Isometric Pixel Art style [video]

https://www.youtube.com/watch?v=OeYzRevuSCQ
2•bdelmas•1h ago•1 comments