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!

Wasmer Swift SDK for iOS and macOS

https://wasmer.io/posts/wasmer-sdk-swift-ios-macos
1•CharlesW•30s ago•0 comments

Show HN: Armada – Every Claude Code and Codex session and limit, on one screen

https://armada.mgcrea.io/
1•olouv•2m ago•0 comments

Long Running Agents and the Assumption Problem

https://javiergonzalez.io/blog/the-assumption-problem/
1•javier123454321•2m ago•0 comments

Vocule: a custom WebGPU and WASM inference engine and web SDK for parakeet redux

https://karanganesan.com/vocule/
1•karanganesan•2m ago•0 comments

Show HN: Enclawed – A hard-fork hardening framework for AI agent gateways

https://enclawed.com/
1•enclawed•2m ago•0 comments

No PHP 8.6.0RC1

https://scherzer.dev/Blog/20260923-no-php86-rc-1
1•petecooper•4m ago•0 comments

Saudi oil scientists ended up working on most important climate reports

https://www.theguardian.com/environment/2026/sep/21/saudi-arabia-aramco-oil-scientists-ipcc-clima...
2•justin66•5m ago•0 comments

Show HN: Most Hated Tools

https://www.mosthatedtools.app/
1•leonagano•6m ago•0 comments

Show HN: ChaosTree 2.0.1: A highly optimized Java Sorted Set/Map library

https://github.com/Chaos-vy/ChaosTree
1•chaos_vy•9m ago•0 comments

Becoming a High Taste Tester

https://swyx.io/high-taste-tester
1•Rafsark•11m ago•0 comments

Voice AI Conference – Worth the Time?

https://deepgram.com/speak
1•moegevirtz•11m ago•1 comments

Norton antivirus software maker in talks to acquire GoDaddy

https://domainnamewire.com/2026/09/24/norton-antivirus-software-maker-in-talks-to-acquire-godaddy/
2•speckx•11m ago•0 comments

Games Explained

https://gamesexplained.com/
1•tilt•12m ago•0 comments

F-Droid 2.0: A New Chapter for Android Freedom

https://f-droid.org/2026/09/24/f-droid-2.0-a-new-chapter-for-android-freedom.html
7•daveoc64•12m ago•0 comments

GM's Stance on CarPlay Is as Fractured and Confusing As Ever

https://www.thedrive.com/news/gms-stance-on-carplay-is-as-fractured-and-confusing-as-ever
1•cf100clunk•12m ago•0 comments

Show HN: Local First AI Calculator

https://axiom.clor.app/
1•jacobgold•13m ago•0 comments

Jev Against a Cross-Encoder

https://getunblocked.com/blog/jev-in-production-vs-cross-encoder/
1•felineflock•13m ago•0 comments

Paperclip: Open-source orchestration for teams of AI agents

https://github.com/paperclipai/paperclip
1•lobo_tuerto•14m ago•0 comments

Websites that read in the terminal: the TermWeb standard

https://en.andros.dev/blog/dcf8f636/websites-that-read-in-the-terminal-the-termweb-standard/
1•ibobev•14m ago•0 comments

Healthy Feedback

https://martinfowler.com/articles/healthy-peer-feedback.html
1•ibobev•15m ago•0 comments

Towards a future space-based, highly scalable AI infrastructure system design

https://arxiv.org/abs/2511.19468
1•andsoitis•15m ago•0 comments

5G Live Streaming: Benefits, Challenges, and How It Works

https://www.red5.net/blog/5g-live-streaming-benefits-challenges-how-it-works/
1•mondainx•15m ago•0 comments

CIA warns Russia preparing attacks on Spain, France, Italy with drones from sea

https://www.independent.co.uk/news/world/europe/cia-drone-europe-russia-ukraine-b3055605.html
3•vrganj•16m ago•1 comments

"Not Conio but Compatible" for Amiga VBCC

https://retrogamecoders.com/amiga-vbcc-c-not-conio/
1•ibobev•16m ago•0 comments

Show HN: CraftCX – Observability and intelligence tooling for AI Support team

https://craftcx.com/blog/introducing-craftcx
1•dugjason•16m ago•0 comments

DHH at Rails World – Ruby on Rails no longer needed now because AI can make apps

https://twitter.com/_architected/status/2102863549689459031
4•thunderbong•17m ago•2 comments

AI companies don't bribe reporters. They fund fellowships

https://www.drjoshcsimmons.com/writing/ai-companies-dont-bribe-reporters
1•joshcsimmons•18m ago•0 comments

Human labour is largely invisible to AI

https://fohlen.dev/posts/invisble-human-labour/
1•usernametaken29•18m ago•0 comments

Pixel Joint

https://pixeljoint.com/
2•surprisetalk•18m ago•0 comments

The Academy for unusually ambitious young people

https://theacademysf.com
1•GlibMonkeyDeath•18m ago•0 comments