frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

The ROLV CPU Breakthrough

https://rolv.ai
1•heggenhougen•2m ago•1 comments

Given AI, should I still consider becoming a computer programmer? Yes, and...

https://htmx.org/essays/yes-and/
1•rsyring•3m ago•0 comments

SSHKit – An Elixir Toolkit for Performing Tasks on One or More Servers

https://github.com/bitcrowd/sshkit.ex
1•TheWiggles•4m ago•0 comments

HN: I built a Bitcoin meme site with 21-episode fake Satoshi interviews

https://satoshisaidwhat.com
1•FunAnalyst5490•6m ago•1 comments

The US-Israeli Strike on Iran: A Game-Changer for Ukraine?

https://www.kyivpost.com/opinion/70953
1•JumpCrisscross•10m ago•0 comments

The New Cool Thing: Being Human

https://www.honest-broker.com/p/the-new-cool-thing-being-human
1•paulpauper•12m ago•0 comments

Suspected insiders make over $1.2M by betting on U.S.'s Iran strike

https://www.coindesk.com/markets/2026/02/28/suspected-insiders-make-over-usd1-2-million-on-polyma...
2•airhangerf15•13m ago•0 comments

Show HN: Ductwork – A Go platform for running AI agents on autopilot

https://github.com/dneil5648/ductwork
1•dneil8675•13m ago•0 comments

Bets on Fate of Iran's Khamenei Spark Uproar at Leading Prediction Markets

https://www.wsj.com/world/middle-east/bets-on-fate-of-irans-khamenei-spark-uproar-at-leading-pred...
2•paulpauper•14m ago•0 comments

U.S. Races to Accomplish Iran Mission Before Munitions Run Out

https://www.wsj.com/world/middle-east/u-s-races-to-accomplish-iran-mission-before-munitions-run-o...
1•ParentiSoundSys•14m ago•0 comments

Show HN: Code-Graph-RAG – Knowledge graph RAG for any codebase

https://github.com/vitali87/code-graph-rag
1•vitali87•14m ago•1 comments

Allegations of insider trading over prediction-market bets tied to Iran conflict

https://www.morningstar.com/news/marketwatch/20260301140/allegations-of-insider-trading-over-pred...
2•paulpauper•15m ago•0 comments

The Rectangular Cows: Geometric Livestock in 19th-Century Paintings

https://rarehistoricalphotos.com/rectangular-cows/
1•ZeljkoS•16m ago•0 comments

Breeze QtWidgets style changes to help us prepare for Union

https://akselmo.dev/posts/breeze-and-union-preparing/
1•birdculture•16m ago•0 comments

Show HN: PartyHub Rental – Marketplace for party equipment rentals

https://www.partyhubrental.com
1•eibrahim•17m ago•0 comments

Show HN: I'm 15. I mass published 134K lines to hold AI agents accountable

https://github.com/nobulexdev/nobulex
4•nobulexdev•18m ago•2 comments

Show HN: OpenClaw Directory – Compare Deployers, Skills, and Tools for OpenClaw

https://openclawdirectory.co.uk/
1•Wealthyshezzy1•20m ago•0 comments

Show HN: Sussurro – local, opensource, speech to text with system-wide dictation

https://github.com/cesp99/sussurro
1•cesp99•21m ago•1 comments

AWS UAE suffers AZ outage after "objects strike data center", amid Iran attacks

https://www.datacenterdynamics.com/en/news/aws-uae-outage-after-objects-struck-the-data-center-ca...
2•rocketpastsix•21m ago•1 comments

MIT Prof Theodore Postol tech analysis of Missile defense capacity [video]

https://www.youtube.com/watch?v=iH6nN0EUGvM
1•throwawa1•21m ago•0 comments

Dario Amodei on Anthropic's Pentagon Spat

https://www.businessinsider.com/dario-amodei-pentagon-free-speech-patriots-american-values-2026-2
1•doener•21m ago•0 comments

Show HN: ColdString – An 8-byte (1-word) SSO string for Rust

https://github.com/tomtomwombat/cold-string
1•tomtomwombat•23m ago•0 comments

Show HN: Potatoverse platform for webapps, SQLite and static binary

https://github.com/blue-monads/potatoverse
5•born-jre•25m ago•0 comments

A Year in Reading, 2025

https://sharedphysics.com/a-year-in-reading-2026/
2•goopthink•27m ago•0 comments

FlyTrap: Attract autonomous drones with an adversarial umbrella

https://arxiv.org/abs/2509.20362
2•fainpul•27m ago•1 comments

Drop the Backpack: What $900/Day in AI Costs Taught Us About MCP

https://www.apiphani.io/whitepapers/drop-the-backpack-what-900-day-in-ai-costs-taught-us-about-mcp/
2•sonabinu•31m ago•0 comments

Psychology: Who dont maintain many close friends, learned independence too early

https://www.bolde.com/psychology-says-people-who-dont-maintain-many-close-friends-often-learned-i...
18•gurjeet•33m ago•12 comments

Show HN: Free AI Tools – Email Writer, LinkedIn Posts, Code Review

https://crazeemedia.app.n8n.cloud/webhook/ai-tools
1•armanidev•34m ago•2 comments

Little Free Library Books

https://littlefreelibrary.org/
1•TigerUniversity•36m ago•0 comments

TSArena – Independent blind pairwise testing for AI safety

https://tsarena.ai/
1•solosevn•37m ago•1 comments