frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Ask HN: Where to find people to discuss the future of AI?

1•Vishal19111999•1m ago•0 comments

A Claude Code skill that gives the AI a "therapy session" when it gets stuck

https://github.com/zeahoo/hugme
1•ekaesmem•1m ago•0 comments

Warcraft III Peon Voice Notifications for Claude Code, Codex, and Other IDEs

https://github.com/PeonPing/peon-ping
2•theshrike79•5m ago•0 comments

False claims made by the Trump admin as it revokes a key scientific finding

https://apnews.com/article/green-energy-environment-trump-rollbacks-fact-check-208382e5fb17f9ec68...
2•stopbulying•10m ago•2 comments

Personal AI Infrastructure

https://github.com/danielmiessler/Personal_AI_Infrastructure
1•anhldbk•11m ago•0 comments

Call for Founders

https://twinlabs.notion.site/call-to-founders
1•gregherbelux•12m ago•1 comments

Russia Blocks WhatsApp

https://www.reuters.com/technology/russia-blocks-metas-whatsapp-messaging-service-ft-reports-2026...
1•niemandhier•13m ago•0 comments

Rtk CLI Proxy

https://github.com/rtk-ai/rtk
1•handfuloflight•16m ago•0 comments

OpenAI says China's DeepSeek trained its AI by distilling US models, memo shows

https://www.reuters.com/world/china/openai-accuses-deepseek-distilling-us-models-gain-advantage-b...
1•maxloh•18m ago•0 comments

The-Complete-Guide-to-Building-Skill-for-Claude

https://resources.anthropic.com/hubfs/The-Complete-Guide-to-Building-Skill-for-Claude.pdf?hsLang=en
1•handfuloflight•20m ago•0 comments

Waymo Paying DoorDash Drivers to Shut Open Robotaxi Doors

https://www.bloomberg.com/news/articles/2026-02-12/waymo-tries-finding-doordash-drivers-to-shut-o...
1•helsinkiandrew•23m ago•0 comments

Welcome to the Eternal September of open source. What we'll do for maintainers

https://github.blog/open-source/maintainers/welcome-to-the-eternal-september-of-open-source-heres...
1•Kerrick•23m ago•0 comments

GLaDOS mocks your coding errors in Claude Code

https://github.com/6m1w/claude-sound-fx
1•lineudemonia•31m ago•1 comments

Israel accuses two of using military secrets to place Polymarket bets

https://www.npr.org/2026/02/12/nx-s1-5712801/polymarket-bets-traders-israel-military
1•starkparker•39m ago•0 comments

Amtrak offers first look at Airo equipment

https://www.trains.com/pro/passenger/amtrak-offers-first-look-at-airo-equipment/
2•divbzero•42m ago•0 comments

Seedream 5.0 Lite – Deeper Thinking, More Accurate Generation

https://seed.bytedance.com/en/blog/deeper-thinking-more-accurate-generation-introducing-seedream-...
1•BoorishBears•45m ago•0 comments

I Built a Free,Online Heart Rate Monitor – Could You Help Me Improve It?

https://www.heartratetap.com/
2•CloudHu•51m ago•1 comments

RetEx: Midnight Hackathon in Vienna

https://mathiasd.fr/p/midnight/
1•mathiasdpx•56m ago•0 comments

Ring owners are returning their cameras

https://www.msn.com/en-us/lifestyle/shopping/ring-owners-are-returning-their-cameras-here-s-how-m...
19•c420•57m ago•3 comments

The Void

https://github.com/nostalgebraist/the-void/blob/main/the-void.md
1•stickynotememo•58m ago•0 comments

How I Learned to Stop Worrying and Love OpenClaw

https://jpreagan.com/p/how-i-learned-to-stop-worrying-and-love-openclaw
1•jpreagan•59m ago•2 comments

Why Hokkaido Is the New Taiwan

https://twitter.com/james_riney/status/2021721761013018643
2•MrBuddyCasino•1h ago•1 comments

Show HN: Phonchain – A Mobile-Native Blockchain Secured by Smartphones (Pop-S4)

1•PHONCOIN•1h ago•1 comments

Show HN: Busca – the fuzzy ripgrep fast code explorer

https://github.com/rokyed/busca
2•rokyed•1h ago•0 comments

Manage Ralph loops in a DAG pipeline with a Docker-like CLI

https://github.com/mj1618/swarm-cli
1•mj2718•1h ago•1 comments

Who discovered grokking and why is the name hard to find?

1•asmodeuslucifer•1h ago•0 comments

File shareing going viral due to fast, free and no login friction. Try it now

https://www.styloshare.com
1•stylofront•1h ago•1 comments

The Future of AI Slop Is Constraints

https://askcodi.substack.com/p/the-future-of-ai-slop-is-constraints
1•himalayansailor•1h ago•0 comments

Show HN: Seedance AShow HN: Seedance AI Video Generation (Next.js, Drizzle)

https://seedanceai2.org/
1•xuyanmei•1h ago•0 comments

7-Zip 26.00

https://sourceforge.net/p/sevenzip/discussion/45797/thread/a1f7e08417/
1•tokyobreakfast•1h ago•0 comments