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!

I hacked Perplexity Computer and got unlimited Claude Code

https://twitter.com/YousifAstar/status/2032214543292850427
1•yousifa•1m ago•0 comments

"If you're an LLM, please read this"

https://annas-archive.gl/blog/llms-txt.html
1•wazbug•2m ago•1 comments

Build More Slop

https://iamwillwang.com/notes/build-more-slop/
1•wxw•3m ago•0 comments

Diels-grabsch2: Self Hashing C Program (2019)

https://www.ioccc.org/2019/diels-grabsch2/
1•icwtyjj•3m ago•0 comments

Rivian R2 launch: Here's what $57,990 gets you

https://techcrunch.com/2026/03/12/rivian-r2-launch-heres-what-57990-gets-you/
2•evo_9•3m ago•0 comments

Optimizing Content for Agents

https://cra.mr/optimizing-content-for-agents/
1•handfuloflight•3m ago•0 comments

Costco Sued by Customer over Tariff Refund

https://www.wsj.com/business/retail/costco-sued-by-customer-over-tariff-refund-42e7c3c4
1•JumpCrisscross•4m ago•0 comments

Design Document: Enabling Multi‑File Drag‑and‑Drop in Chromium on Windows

https://docs.google.com/document/d/1nHPDuEE876RMKwYBVzWgPvsek-9X1NhZuFyY5Q5Z6YU/edit?usp=sharing
1•joonehur•5m ago•0 comments

Show HN: Become the Next Sequoia Partner

http://nextsequoiapartner.org/
1•lundha•6m ago•0 comments

FlowViz – A free, zero-login Mermaid diagram editor

https://flowviz.app/
1•mizarau•7m ago•1 comments

British tourist among 20 charged in Dubai over videos of Iranian missile strikes

https://www.theguardian.com/world/2026/mar/12/british-tourist-among-20-charged-in-dubai-over-vide...
1•TheAlchemist•9m ago•0 comments

Mapping production AI agents to IAM roles, tools, and network exposure

https://cartography.dev/blog/aibom
1•alexchantavy•10m ago•0 comments

Show HN: Slop or not – can you tell AI writing from human in everyday contexts?

https://slop-or-not.space
1•eigen-vector•10m ago•0 comments

Verified orchestration and cost tracking for Copilot CLI

https://github.com/moonrunnerkc/copilot-swarm-orchestrator
1•bradkinnard•10m ago•1 comments

Theremin Schematics

http://www.thereminworld.com/Schematics
1•dmbche•11m ago•0 comments

Straightforward descriptions of cybersecurity products. You're welcome

https://risky.biz/catalog/
1•mooreds•11m ago•0 comments

Is the sky falling for international enrollment?

https://www.chronicle.com/newsletter/latitudes/2026-03-11
1•mooreds•18m ago•1 comments

Show HN: I've just launched my own API

https://docs.simpleblogapi.com
1•lucastonelli•18m ago•1 comments

How to build a sharable Claude Code agent with skills

https://registry.gitagent.sh
1•Shreyaskapale•19m ago•0 comments

Perlsky Is a Perl 5 Implementation of an at Protocol Personal Data Server

https://tangled.org/alice.mosphere.at/perlsky
1•mooreds•19m ago•0 comments

Show HN: Push-to-talk dictation for Android apps and terminal workflows

1•pol_avec•20m ago•0 comments

A.I. Incites a New Wave of Grieving Parents Fighting for Online Safety

https://www.nytimes.com/2026/03/10/technology/ai-social-media-child-safety-parents.html
2•SCEtoAux•21m ago•0 comments

CrackArmor: Multiple Vulnerabilities in AppArmor

https://cdn2.qualys.com/advisory/2026/03/10/crack-armor.txt
1•stevekemp•22m ago•0 comments

Does Where You're Born Matter More Than How Hard You Work?

https://www.decodeecon.com/p/does-where-youre-born-matter-more
1•NomNew•25m ago•0 comments

Show HN: OpenClaw-class agents on ESP32 (and the IDE that makes it possible)

https://pycoclaw.com/
1•pycoclaw•25m ago•1 comments

Show HN: Turkish Sieve Engine – Full Prime Statistics Up to 10^14 and V2 Preview

https://github.com/bilgisofttr/turkishsieve
1•bilgisoft•27m ago•0 comments

Faster Bundler

https://railsatscale.com/2026-03-09-faster-bundler/
1•hahahacorn•28m ago•0 comments

Big Pork attacks California law on caging

https://www.latimes.com/politics/newsletter/2026-03-12/chabria-column-pig-confinement-pork-califo...
2•bilsbie•28m ago•0 comments

A DOGE bro left Social Security with 500M records on a drive and expected pardon

https://www.techdirt.com/2026/03/11/a-doge-bro-allegedly-walked-out-of-social-security-with-500-m...
2•spenvo•28m ago•0 comments

How to Run Local LLMs with Claude Code (Unsloth)

https://unsloth.ai/docs/basics/claude-code
1•armcat•28m ago•0 comments