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!

T9 in the Terminal for Codex, Claude, Gemini

https://github.com/Xsamsx/T9T
1•kyivctoner•45s ago•1 comments

Writing my own text editor, and daily-driving it

https://blog.jsbarretto.com/post/text-editor
1•todsacerdoti•49s ago•0 comments

Why Systems Optimized for Metrics Eventually Drift from Reality [pdf]

https://offbrandguy.com/wp-content/uploads/2026/03/optimization-trap-reality-drift-framework-2023...
1•realitydrift•2m ago•1 comments

Show HN: OpenClaw skill for think-tank style analysis of crises like Iran war

https://github.com/vassiliylakhonin/global-think-tank-analyst
1•vassilbek•5m ago•0 comments

Ask HN: What are some good lectures or talks like this one? [pdf]

https://www.labouseur.com/projects/codeReckon/papers/The-Emperors-Old-Clothes.pdf
1•jdironman•8m ago•1 comments

New Design for Firefox.com

https://www.firefox.com/en-US/
2•pentagrama•16m ago•0 comments

Recursive Problems Benefit from Recursive Solutions

https://jnkr.tech/blog/recursive-benefits-recursive
1•luispa•18m ago•0 comments

Lovable I.A Credits at a Discount

https://mestredalovable.lovable.app/
1•Sebastiao_Tatu•22m ago•1 comments

How HN: Specwatch – Generate OpenAPI specs by watching live API traffic

https://github.com/rajeevramani/specwatch
1•rajeevramani•26m ago•1 comments

Storm [video]

https://www.youtube.com/watch?v=HhGuXCuDb1U
1•nomilk•28m ago•0 comments

Zig – Type Resolution Redesign and Language Changes

https://ziglang.org/devlog/2026/#2026-03-10
2•Retro_Dev•40m ago•0 comments

The tests are the code now

https://softwaredoug.com/blog/2026/03/10/the-tests-are-the-code-now.html
4•zdw•41m ago•0 comments

Show HN: Assemble – Claude Code skill for parallel AI team execution

https://github.com/LakshmiSravyaVedantham/assemble
1•sravyavedantham•43m ago•0 comments

Breaking Control Flow Integrity by Abusing Modern C++ (Coroutines) – BH USA 2025 [video]

https://www.youtube.com/watch?v=hxIPoi4ONNA
2•matt_d•49m ago•0 comments

Show HN: ImageHost.ing – burn-after-reading image host on Cloudflare's free tier

https://imagehost.ing
1•lzy•49m ago•0 comments

Show HN: Polymorph (YC W26) – AI personalization for consumer app engagement

https://usepolymorph.com/
1•andrewsy•50m ago•0 comments

The Highly Exclusive Way That Everybody Shops Now

https://www.theatlantic.com/culture/2026/03/shopping-drop-exclusive-selling-out/686308/
1•paulpauper•50m ago•2 comments

Programming the Loop

https://ianbarber.blog/2026/03/10/programming-the-loop/
1•matt_d•53m ago•0 comments

Terence Tao had a paper rejected

https://mathstodon.xyz/@tao/113721209277409929
2•paulpauper•55m ago•0 comments

Ask HN: How do you review gen-AI created code?

2•captainkrtek•56m ago•3 comments

Pristan: The simplest way to create a plugin infrastructure in Python

https://github.com/mutating/pristan
1•pomponchik•1h ago•0 comments

Pact – contracts-first multi-agent coding (212/212 ICPC vs. 79-92% Claude Code)

https://jmcentire.github.io/pact/
1•jmcentire2025•1h ago•0 comments

VPNs surge in Australia as mandatory age verification for adult content begins

https://www.techradar.com/vpn/vpn-privacy-security/vpns-surge-in-australia-as-mandatory-age-verif...
2•reassess_blind•1h ago•1 comments

xAI wins permit to build power plant in Mississippi despite pollution concerns

https://www.cnbc.com/2026/03/10/elon-musk-xai-permit-for-mississippi-plant-despite-pollution-conc...
2•spenvo•1h ago•2 comments

The No World Order: Meir Kahane, Netanyahu, Trump, and the War Beyond Iran

https://sarahkendzior.substack.com/p/the-no-world-order
3•hkhn•1h ago•0 comments

Show HN: ULLI – A Linux installer without a live USB flash drive

https://github.com/rltvty2/ulli
1•AlOwain•1h ago•0 comments

NYC considers increasing minimum wage to $30 by 2030

https://ny1.com/nyc/all-boroughs/mornings-on-1/2026/03/10/city-council-considers-increasing-minim...
2•geox•1h ago•0 comments

Show HN: Readhn – AI-Native Hacker News MCP Server (Discover, Trust, Understand)

https://github.com/xodn348/readhn
2•xodn348•1h ago•0 comments

Curly Prompt – An AI Prompting Language with Local LLM Powered AI Agent

https://github.com/jimthunderbird/curlyprompt
2•jimthunderbird•1h ago•0 comments

Saudi Arabia declares 2026 as the Year of AI

https://twitter.com/spagov/status/2031365339376660682
2•sibilsalim•1h ago•1 comments