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!

Robotic Servicing of Geosynchronous Satellites technology to launch in 2026

https://www.darpa.mil/news/2026/robotic-servicing-geosynchronous-satellites-technology-launch-2026
1•newer_vienna•15s ago•0 comments

Replibook

https://github.com/AlexRosbach/Replibook
1•tcmb•30s ago•0 comments

LTV and the Time Value of Money

https://jslandy.com/ltv-and-time-value-of-money/
1•efavdb•39s ago•0 comments

Improving C# Memory Safety

https://devblogs.microsoft.com/dotnet/improving-csharp-memory-safety/
2•soheilpro•1m ago•0 comments

Grok falls flat in Washington, undercutting SpaceX's AI growth story

https://www.reuters.com/world/grok-falls-flat-washington-undercutting-spacexs-ai-growth-story-202...
1•1vuio0pswjnm7•2m ago•0 comments

Does using LLMs make me dumber?

https://wilsoniumite.com/2026/05/21/does-using-llms-make-me-dumber/
1•Wilsoniumite•2m ago•0 comments

SpaceX and OpenAI both filing for IPO the same week

https://www.forbes.com/sites/antoniopequenoiv/2026/05/20/elon-musks-spacex-files-for-highly-antic...
1•pzxc•3m ago•1 comments

Vitamin C as a nitrosation inhibitor: Modeling study across dietary patterns

https://www.sciencedirect.com/science/article/pii/S002251932600069X?via%3Dihub
1•bookofjoe•3m ago•0 comments

I tested Haiku vs. Sonnet across 3 agent tasks – the cheap model won every time

https://github.com/aimvik07/agent-eval
1•aimvik07•4m ago•0 comments

Language models are weird for the same reason human cultures are weird

https://davidoks.blog/p/language-models-are-weird-for-the
1•jprs•5m ago•0 comments

Big Tech's AI Debt Binge Tests High-Grade Market, Barclays Says

https://www.bloomberg.com/news/articles/2026-05-21/big-tech-s-ai-debt-binge-tests-high-grade-mark...
1•1vuio0pswjnm7•6m ago•0 comments

Qwen 3.7 Max is on OpenRouter: $2.5 in, $7.5 out

https://xcancel.com/OpenRouter/status/2057500097206976983
1•theanonymousone•6m ago•0 comments

Show HN: Computer Police – block malicious NPM/pip installs locally

https://computer.police.dev/
1•kannthu•7m ago•0 comments

Drones reshape war in Colombia as deaths and injuries mount

https://www.theguardian.com/world/2026/may/18/drones-war-colombia-civilians-farc-acled
1•YeGoblynQueenne•7m ago•0 comments

The Claude -pocalypse

https://theautomatedoperator.substack.com/p/the-claude-pocaylpse-or-how-i-learned
1•idopmstuff•7m ago•0 comments

Throughput vs. Goodput: The Performance Metricin LLM Testing

https://qainsights.com/throughput-vs-goodput-the-performance-metric-you-are-probably-ignoring-in-...
1•qainsights•8m ago•1 comments

MyIPNow – IP and Network Toolkit

https://myipnow.net/
1•myipnow•8m ago•0 comments

(delete me)

https://micnik.stagas.deno.net/
1•stagas•10m ago•0 comments

Musk's SpaceX discloses massive losses ahead of expected record-breaking IPO

https://www.washingtonpost.com/technology/2026/05/20/elon-musk-spacex-initial-public-offering-fil...
1•1vuio0pswjnm7•10m ago•0 comments

On Not Being a Language Model

https://www.xydac.com/blog/on-not-being-a-language-model/
1•xydac•10m ago•0 comments

Geminis Ad Auction Revealed: "Mechanism Design for Large Language Models"

https://arxiv.org/abs/2310.10826
1•jcfrei•11m ago•0 comments

Nvidia's revenue blows past Wall Street expectations as AI boom accelerates

https://www.theguardian.com/technology/2026/may/20/nvidia-revenue-ai-boom
1•Brajeshwar•13m ago•0 comments

Agents Are Not One Thing

https://jlmr.dev/posts/agents-are-not-one-thing/
2•jelmersnoeck•13m ago•0 comments

Show HN: Agent.email – sign up via curl, claim with a human OTP

2•adisingh13•13m ago•0 comments

SpaceX's historic IPO plans: Billions in losses and Musk's ownership

https://www.cnbc.com/2026/05/20/spacex-ipo-live-updates.html
2•samaysharma•16m ago•0 comments

Show HN: Personal business communication coach for Technical Leaders

https://clarityhoop.com/
1•Sanej•17m ago•1 comments

Framework-agnostic design systems: a practical approach to web components

https://piccalil.li/blog/framework-agnostic-design-systems-part-1/
1•paulathevalley•18m ago•0 comments

The LLM Death Spiral

2•robomartin•19m ago•0 comments

Oura, Maker of Popular Smart Rings, Files Confidentially for IPO

https://www.bloomberg.com/news/articles/2026-05-21/oura-maker-of-popular-smart-rings-files-confid...
2•brandonb•20m ago•1 comments

London Mayor Blocks Palantir

https://www.theguardian.com/uk-news/2026/may/21/london-mayor-sadiq-khan-blocks-met-police-deal-wi...
29•ZiiS•21m ago•6 comments