frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•11mo 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!

Claude Code Checkpoints

https://github.com/yahnyshc/daedalus
1•maksyyy•1m ago•0 comments

AI and Psi with Paul Werbos (Inventor of Backpropagation) [video]

https://www.youtube.com/watch?v=rMh-snQ1YWU
2•binyu•2m ago•0 comments

Show HN: Codex Workers AI Proxy – Use Workers AI models with Codex CLI

https://github.com/pitzcarraldo/codex-workers-ai-proxy
1•mrnoname•5m ago•1 comments

Show HN: ReverseYC

https://rocketplace.org/reverseyc
2•remarketme•8m ago•0 comments

Show HN: NeZha – An Open-Source Agentic Development Environment (ADE)

https://nezha.hanshutx.com/en/
1•markhan-nping•11m ago•0 comments

Building a 10BASE5 "Thick Ethernet" network (2012)

https://www.mattmillman.com/projects/10base5/
1•accrual•12m ago•0 comments

Show HN: A personality first matchmaking app

https://www.connectwithember.com/
1•willeyy•13m ago•0 comments

LLMs don't want pixels, they want tools

https://www.bobbytables.io/p/the-future-is-apis
1•btables•14m ago•0 comments

Distribution is the only moat AI can't kill

https://dheer.co/only-moat-ai-cant-kill/
1•bushido•17m ago•0 comments

Moltis – A secure persistent personal agent server in Rust

https://moltis.org/
1•rekl•18m ago•0 comments

Regional Variation in the Performance of ASR Models on Croatian and Serbian

https://aclanthology.org/2026.vardial-1.20/
1•taubek•19m ago•0 comments

Trump vows to blockade Strait of Hormuz after talks stumble

https://www.reuters.com/world/asia-pacific/us-iran-talks-pause-now-disagreements-remain-2026-04-11/
5•andyjohnson0•23m ago•1 comments

PostgreSQL Credential Rotation in Production: A Zero-Downtime Runbook

https://www.elydb.com/blog/postgresql-credential-rotation-production
1•thunderbong•24m ago•0 comments

Ask HN: What's your experience with PoW captchas against form spam?

1•pentacent_hq•25m ago•0 comments

A full-featured terminal user interface for hledger plain-text accounting

https://github.com/thesmokinator/hledger-textual
1•willm•27m ago•0 comments

Ask HN: What are all the bad things that AI companies have done which we forgot

1•Imustaskforhelp•28m ago•0 comments

Ask HN: Is Zero Trust Architecture Overkill?

2•devinabox•31m ago•0 comments

Show HN: Formal – Formal verification for AI-generated code using Lean 4

https://github.com/yamafaktory/formal
2•yamafaktory•33m ago•0 comments

Show HN: What's SBTI

https://whatssbti.com/
2•aitooltrek-com•33m ago•0 comments

Show HN: Terminal Style Web Component

https://github.com/spider-hand/terminal-element
1•spider-hand•34m ago•0 comments

Show HN: ApplePy – Embed and Call Swift from Python (Like PyO3, but for Swift)

https://github.com/jagtesh/ApplePy
2•sheepscreek•35m ago•1 comments

Show HN: PrepLists – a directory of 500 prep centers and 3PLs for sellers

https://preplists.com
1•devequijo•35m ago•0 comments

Feature Vomit

https://public.grugnotes.com/keizo/blog/feature-vomit/
3•keizo•36m ago•0 comments

Show HN: Telegram feed reader using DNS TXT records for Iran's Internet shutdown

https://github.com/sartoopjj/thefeed
2•znano•38m ago•1 comments

Trump says US will blockade Strait of Hormuz

https://www.cnn.com/2026/04/12/world/live-news/iran-us-war-talks-trump
8•Tomte•38m ago•4 comments

White Rabbit meets quantum entanglement

https://home.cern/news/news/computing/white-rabbit-meets-quantum-entanglement
1•bookofjoe•40m ago•0 comments

Ask HN: What is the best way to get your first users?

1•Mohd_Umar•40m ago•4 comments

158-year-old home distilling ban ruled unconstitutional

https://www.reuters.com/legal/government/us-appeals-court-declares-158-year-old-home-distilling-b...
2•PessimalDecimal•42m ago•1 comments

Dario Says Continual Learning Is Solved. Is It?

https://twitter.com/tianle_cai/status/2042459055483207818
1•gmays•43m ago•0 comments

Show HN: Kafkaesque – a wire-compatible mock Kafka

https://github.com/dcminter/kafkaesque
1•dcminter•46m ago•1 comments