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!

Androids Are All Dying, Except Google? [video]

https://www.youtube.com/watch?v=Ph-TMMku1xk
1•mgh2•2m ago•0 comments

AWS ExtendDB: the DynamoDB API with pluggable backends

https://aws.amazon.com/blogs/database/introducing-extenddb-an-open-source-dynamodb-compatible-ada...
1•jsw•4m ago•0 comments

A Booming Shadow Market of Sketchy A.I. Investments

https://www.newyorker.com/culture/infinite-scroll/a-booming-shadow-market-of-sketchy-ai-investments
1•petethomas•4m ago•0 comments

Google is dethroning OpenAI as the king of consumer AI

https://www.economist.com/business/2026/05/20/google-is-dethroning-openai-as-the-king-of-consumer-ai
1•petethomas•5m ago•0 comments

I made a browser alone and barely got any users

https://kagerou.glass/
3•kageroumado•6m ago•1 comments

OpenAI to confidentially file for IPO as soon as Friday

https://www.cnbc.com/2026/05/20/openai-ipo-filing.html
3•doppp•9m ago•0 comments

Private equity's new escape hatch keeps unsold companies in limbo

https://www.ft.com/content/92a167c0-206b-4408-9a60-f56c6f68cf6a
3•petethomas•11m ago•0 comments

PyTorch 2.12 Release

https://pytorch.org/blog/pytorch-2-12-release-blog/
3•gmays•12m ago•0 comments

Haskell Foundation 2026 Update

https://discourse.haskell.org/t/haskell-foundation-2026-update/14136
3•azhenley•21m ago•0 comments

House Passes Housing Bill, Uniting on a Measure to Bring Down Costs

https://www.nytimes.com/2026/05/20/us/politics/housing-bill-house-senate-trump.html
3•harambae•24m ago•0 comments

SpaceX S-1

https://www.sec.gov/Archives/edgar/data/1181412/000162828026036936/spaceexplorationtechnologi.htm...
4•bane•25m ago•0 comments

Long-Term Finasteride and Dutasteride Use: It's Time to Sound the Alarm

https://pmc.ncbi.nlm.nih.gov/articles/PMC7308241/
2•gradus_ad•26m ago•0 comments

Building DeepSeek's Answer to Claude Code

https://dlcmh.github.io/deepseek-harness
3•dlcmh•29m ago•0 comments

Smart Earbuds with built-in camera and AI

https://heyordo.com
3•im_ishika•36m ago•2 comments

HD189733B: A hot Jupiter that rains molten glass

https://en.wikipedia.org/wiki/HD_189733_b
4•us-merul•42m ago•0 comments

Ccstory – CLI tool to track time spent on Claude Code

https://github.com/atomchung/ccstory
2•atomtw•43m ago•0 comments

Containers Are a Security Boundary (some assembly required)

https://ram.tianon.xyz/post/2026/05/20/container-security.html
3•ImJasonH•47m ago•0 comments

TBN Protocol – Runtime governance infrastructure for AI agents

https://tbn.hardinai.co.uk/demo
3•Hardinai•50m ago•0 comments

Show HN: CipherStash Stack – Data Level Access Control in TS/JS

https://cipherstash.com/blog/introducing-cipherstash-stack
7•dandraper•51m ago•0 comments

How to Start a Website with Web Host Pro

https://www.slideshare.net/slideshow/comprehensive-2026-guide-to-starting-a-website-with-web-host...
2•cya11•59m ago•0 comments

The Largest Vocabulary in Hip Hop (2019)

https://pudding.cool/projects/vocabulary/index.html
2•amichae2•1h ago•0 comments

Show HN: E2E Encrypted Terminal Screen Share

https://github.com/jsell-rh/lockwire
2•blinkerfluid•1h ago•0 comments

Decompile binaries to Rust, not C

https://twitter.com/mahal0z/status/2057147401987637300
4•mahaloz•1h ago•0 comments

Researchers in Ireland uncover medieval book in Rome with oldest English poem

https://apnews.com/article/old-english-manuscript-poetry-bede-caedmon-hymn-latin-italy-106769c014...
4•gmays•1h ago•0 comments

Why Multigres has its own connection pooler

https://multigres.com/blog/two-jobs-two-processes
3•gregorvand•1h ago•0 comments

What is Demand Coop and why tech workers should join one

https://cahootzcoops.com/blog/what-is-a-demand-coop
18•DeonRob•1h ago•7 comments

Nx Console VS Code extension was the initial access vector in the GitHub breach

https://twitter.com/jeffbcross/status/2057236396658811020
3•vldszn•1h ago•1 comments

What I'd audit on an AI-built SaaS before its first paying customer

https://knbrlo.com/blog/audit-ai-built-saas/
2•knbrlo•1h ago•1 comments

Show HN: Windows 98½

https://win9-5.com/desktop.html
2•keepamovin•1h ago•0 comments

81yo Grandma Streaming Minecraft to Pay for Grandson's Cancer Swatted

https://www.thegamer.com/grammacrackers-81-year-old-minecraft-youtuber-swatted/
4•kirubakaran•1h ago•1 comments