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!

Testing = slow? Yeah, that's by design, you dipshit

https://www.maaikebrinkhof.nl/testing-slow-yeah-thats-by-design-you-dipshit/
2•linhns•2m ago•0 comments

Building a peer-to-peer alternative to Cloudflare Tunnels with edge TLS certs

https://pangolin.net/news/building-a-peer-to-edge-peer-reverse-proxy
3•miloschwartz•3m ago•0 comments

Show HN: Agentic Intent Benchmark

https://github.com/intent-bench/intent-bench
1•ryan4rtmx•3m ago•0 comments

Show HN: AgentSite – Same bytes to every visitor; Markdown twin at <body> top

https://agentsite.app/
2•dguiley•4m ago•0 comments

Scientists break 30-year superconductivity record at normal pressure

https://www.sciencedaily.com/releases/2026/05/260527023220.htm
2•foota•4m ago•0 comments

Who Wants to Work Anyway?

https://dschreiber.substack.com/p/who-wants-to-work-anyway
2•dimfisch•6m ago•1 comments

Oura Ring 5

https://www.bloomberg.com/news/articles/2026-05-28/oura-ring-5-40-smaller-more-like-regular-ring-...
2•ramonga•8m ago•1 comments

Why do LLM keys all start with sk?

2•swaraj•9m ago•0 comments

Oura Ring 5

https://ouraring.com/blog/inside-the-ring-oura-ring-5/
2•tosh•9m ago•0 comments

NYED Data Explorer Shows 15 Years of Charter School Success

https://redwallanalytics.com/posts/2023-02-22-nyed-data-explorer-shows-15-years-of-charter-school...
1•sebg•10m ago•0 comments

How do you process your "saved but never watched" content pile?

https://github.com/TheBVL/DRIP
1•thebvl•11m ago•1 comments

Why the US job market is so hard, especially for recent college graduates

https://www.msn.com/en-us/news/us/why-the-us-job-market-is-so-hard-especially-for-recent-college-...
2•thehoff•13m ago•2 comments

Problem with Contract Analysis AI

1•rohisinh•14m ago•0 comments

A multi-tool agent harness: graph routing, middleware, and state budgets

https://github.com/Bella3202019/promptloop/blob/main/docs/The_Harness_Behind_Deep_Agent.md
1•velapod•15m ago•0 comments

Valve Takes Crazy Pills and Jacks Up Steam Deck Pricing

https://boilingsteam.com/valve-takes-crazy-pills-and-jacks-up-steam-deck-pricing/
2•ekianjo•16m ago•0 comments

Intel Hyperscan: How We Match Regular Expressions

https://www.intel.com/content/www/us/en/collections/libraries/hyperscan/regular-expression-match....
1•tosh•16m ago•0 comments

Ask HN: Wishlist for an Immich-macOS-App?

2•markusMB•18m ago•0 comments

The Mississippi Miracle

https://en.wikipedia.org/wiki/Mississippi_Miracle
1•panny•18m ago•0 comments

I Tried to Sell My House with a Chatbot

https://www.nytimes.com/2026/05/28/technology/sell-house-with-ai-no-realtor.html
1•burkaman•19m ago•1 comments

Only 17% of all 64-bit Integers are products of two 32-bit integers

https://lemire.me/blog/2026/05/22/only-17-of-all-64-bit-integers-are-products-of-two-32-bit-integ...
2•sebg•22m ago•0 comments

Show HN: Free open source coding models in Slack

https://www.runcord.com/
2•ramonga•22m ago•0 comments

EaglePress – v2.0 milestone, Blog with Python3 and PostgreSQL

https://eaglepress.org/
1•eagle10ne•23m ago•0 comments

I built a Claude Code hook stack that catches AI patterns before they ship

https://founder-voice-kit.com
1•Assafkip•23m ago•0 comments

Burn the Ships

https://offsquare.substack.com/p/burn-the-ships
1•fkodom•24m ago•0 comments

Using risk and traffic modeling to predict hazard efficacy on golf courses

https://golfcoursewiki.substack.com/p/measure-2000-times-cut-once
1•scoofy•26m ago•0 comments

Data Parallel C++

https://library.oapen.org/handle/20.500.12657/76704
2•tosh•26m ago•0 comments

The Pope Grasps the Limits of AI

https://www.theatlantic.com/ideas/2026/05/pope-leo-ai-catholic-church/687298/
1•Michelangelo11•29m ago•0 comments

AWS services to own your vibe-coded app's deployment

https://norahsakal.com/blog/vibe-coded-app-now-what/
1•norsak•30m ago•0 comments

How do otters smell underwater?

https://iere.org/how-do-otters-smell-underwater/
1•thunderbong•31m ago•0 comments

Websites Are Not Going to Die

https://meiert.com/blog/websites-are-not-going-to-die/
1•speckx•31m ago•0 comments