frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

I Am Doing This: The Origin Story of Project-AI

https://zenodo.org/records/19592336
1•IAmSoThirsty•18s ago•0 comments

Lipovive Review: Effective Formula for Fitness

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•JamesLoynes•1m ago•0 comments

OpenAI boss 'deeply sorry' for not telling police of mass shooter's account

https://www.bbc.com/news/articles/cq6je7e80r7o
1•chistev•5m ago•0 comments

An AI driven WP theming workflow

https://anchor.host/a-custom-wordpress-theme-from-scratch-in-2026-an-ai-driven-workflow/
1•g00m•6m ago•0 comments

Savings Hacks You Must Know

https://www.threads.com/@financial.tips.101/post/DXnfOxRCMEX
1•hennix22•10m ago•0 comments

Claude 4.7 vs. ChatGPT 5.5

https://www.tomsguide.com/ai/7-0-wipeout-i-put-chatgpt-5-5-and-claude-4-7-through-7-impossible-te...
1•ageospatial•11m ago•0 comments

Claude Platform on AWS (Coming Soon)

https://aws.amazon.com/claude-platform/
1•qainsights•13m ago•0 comments

Txtfold – summarize large files for LLMs

https://github.com/kristiandupont/txtfold
1•kristiandupont•16m ago•0 comments

The Silencing Engine

https://kitchencloset.com/realstuff/essays/the_silencing_engine/
1•bcRIPster•21m ago•0 comments

Show HN: ChatForm – Create an AI chat form in 1 minute

https://chatform.000ooo.ooo/
1•fengyiqicoder•28m ago•0 comments

Draft's knowledge graph engine – deterministic codebase understanding for AI

https://www.getdraft.dev/blog/local-graph-engine/
1•mayurpise•31m ago•0 comments

Why the Future Doesn't Need US

https://web.archive.org/web/20160210081017/http://www.wired.com/2000/04/joy-2/
1•signa11•34m ago•0 comments

The Publishing Mystery That No One Wants to Talk About

https://www.theatlantic.com/books/2026/04/who-really-wrote-autistic-author-woody-brown-novel/686814/
1•samclemens•40m ago•0 comments

AMD's Zen: Coming Back from the Dead

https://clamtech.org/?dest=zen1
1•matt_d•43m ago•1 comments

Coyote vs. Acme (1990)

https://www.newyorker.com/magazine/1990/02/26/coyote-v-acme
1•aaronbrethorst•54m ago•0 comments

Learning About FPGAs in Finance

https://www.semidesignjobs.com/blog/fpgas-in-finance-hft
1•johncole•1h ago•0 comments

Show HN: Another experiment with an Erdos problem and LLMs

1•ilitirit•1h ago•0 comments

US power demand to reach record highs in 2026–2027 driven by AI and data centers

https://www.reuters.com/business/energy/us-power-use-beat-record-highs-2026-2027-ai-use-surges-ei...
5•latentframe•1h ago•2 comments

Ask HN: Will local models on normal hardware ever compete?

1•locusofself•1h ago•2 comments

Roast My Startup: Aluqos

https://www.aluqos.com/
1•ndossantos•1h ago•1 comments

Details That Make Interfaces Feel Better

https://jakub.kr/writing/details-that-make-interfaces-feel-better
2•vinhnx•1h ago•0 comments

Transformation and Analogies

https://camerongordon0.substack.com/p/on-transformation-and-analogies
1•iciac•1h ago•0 comments

Critical Thinking: The Architecture of Doubt

https://calltothink.com/blog/critical-thinking-architecture-of-doubt/
1•akarnam37•1h ago•0 comments

Show HN: Vibe Check – Client-side invisible Unicode steganography scanner

https://websationflow.com/
1•Raywob•1h ago•0 comments

I'm Not a Robot

https://sheets.works/data-viz/captcha
2•thunderbong•1h ago•0 comments

The Foldable iPhone Is Basically an iPad Mini That Folds in Half

https://gizmodo.com/the-foldable-iphone-is-basically-an-ipad-mini-that-folds-in-half-2000750451
1•thunderbong•1h ago•1 comments

Show HN: Paper Millionaire – A Startup Stock Option Horror Roguelike

https://paper-millionaire.pagey.site/
2•freakynit•1h ago•0 comments

Show HN: Free On-Brand AI Ad Maker

https://www.context.dev/free-tools/ad-maker
1•ICodeSometimes•1h ago•0 comments

Show HN: MemOperator-4B

https://huggingface.co/MemTensor/MemOperator-4B
2•MemTensor•1h ago•0 comments

Branimir Lambov from IBM on Cassandra

https://theconsensus.dev/p/2026/04/26/branimir-lambov-from-ibm-on-cassandra.html
2•SerCe•1h ago•0 comments