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!

Pulitzer-winning newsrooms are quietly publishing mountains of gambling slop

https://popular.info/p/pulitzer-winning-newsrooms-are-quietly
1•speckx•14s ago•0 comments

Brooklyn Public Library: 250 most influential books in U.S. history

https://www.bklynlibrary.org/america-250/booklist/
1•phatboyslim•22s ago•0 comments

Have LLMs made anyone's life substantially better?

1•architectdrone•1m ago•0 comments

Di.gg/AI

https://di.gg/ai
1•imglorp•1m ago•0 comments

Show HN: A DNS Security Audit Tool

https://dns-audit.com/
1•marmot777•3m ago•0 comments

Anthropic's Mythos Helped Find Bugs in Apple's Desktop Operating System

https://www.wsj.com/tech/ai/anthropics-mythos-helped-find-bugs-in-apples-desktop-operating-system...
1•malshe•3m ago•1 comments

Building a Cashflow Projection Dashboard

https://theautomatedoperator.substack.com/p/building-a-cashflow-projection-dashboard
1•idopmstuff•4m ago•0 comments

Crypto Scam Victim Sues IRS to Deduct $800k in Losses

https://news.bloombergtax.com/daily-tax-report/crypto-scam-victim-sues-irs-to-deduct-800-000-in-l...
1•1vuio0pswjnm7•4m ago•0 comments

Colored microplastics could be making global warming worse

https://phys.org/news/2026-05-microplastics-global-worse.html
1•PaulHoule•4m ago•0 comments

Running Codex Safely at OpenAI

https://openai.com/index/running-codex-safely/
1•gmays•6m ago•0 comments

S.4214 – Artificial Intelligence Data Center Moratorium Act

https://www.congress.gov/bill/119th-congress/senate-bill/4214/text
1•ridiculous_leke•7m ago•0 comments

Bun v1.3.14

https://bun.com/blog/bun-v1.3.14
2•hebelehubele•8m ago•0 comments

Show HN: An interactive map of hidden AI dev agent action paths

https://www.clyra.cc/lab/
1•davidresilify•8m ago•0 comments

Violin: An open-source video translation tool (and agent skills)

https://github.com/shang-zhu/violin
1•zhushang•10m ago•1 comments

Show HN: I realized job search is basically an email problem so I built JobBox

https://www.jobbox.cc
1•archleaf•11m ago•0 comments

Linux is incredible, but these things will frustrate you if you're not ready

https://www.makeuseof.com/know-these-things-before-switching-to-linux/
1•losgehts•11m ago•0 comments

Redun: Yet another redundant workflow engine

https://github.com/insitro/redun
1•mrauha•11m ago•0 comments

Download and Streaming: Moving Image Archive: Internet Archive

https://archive.org/details/movies
1•bilsbie•13m ago•0 comments

The Elon Musk vs. Sam Altman battle is a distraction

https://www.theguardian.com/technology/commentisfree/2026/may/14/elon-musk-sam-altman-ai-feud
2•laurex•16m ago•0 comments

Welcome to Hanakai

https://hanakai.org/blog/2026/05/01/welcome-to-hanakai
1•mooreds•17m ago•0 comments

Show HN: Klent – one click between your AI agent and a prod blast radius

https://klent.dev
1•zequera•17m ago•0 comments

Agents Don't Travel Well

https://mattgoodrich.com/posts/my-ai-workspace-tmux-cloudflared/
1•mooreds•17m ago•0 comments

I Built Deckard

https://mike.lapidak.is/posts/icloud-mcp-server-deckard/
1•mooreds•17m ago•0 comments

How salt water is restoring life to parts of the Queensland coast

https://www.abc.net.au/news/2026-05-02/removing-tidal-barriers-on-farmland-to-create-wetlands/106...
1•speckx•17m ago•0 comments

I spent 8 years building Google Sheets. Now I think apps are on their way out

https://fortune.com/2026/05/13/google-sheets-engineer-apps-ending-meta-app-ai-zach-lloyd-warp/
1•zcrar70•18m ago•0 comments

NetBSD 11.0 RC4: Final release candidate before 11.0

https://blog.netbsd.org/tnf/entry/netbsd_11_0_rc4_available
2•jaypatelani•18m ago•1 comments

VUI – open-source Jarvis stack with a 300M TTS Model

https://twitter.com/harrycblum/status/2054938872249741812
4•bazlan•18m ago•3 comments

Listen and learn: you can hear when someone is lying

https://www.theguardian.com/science/2026/may/14/hidden-secret-to-spotting-a-liar-voice-inflections
1•laurex•19m ago•0 comments

I Found Some Backrooms Photos Set (more info about the site in discuss)

https://backrooms-pantheon.wikidot.com/the-new-revolution-raceway
1•RunFunVR•19m ago•1 comments

MIT: 20% drop in incoming graduate students

https://president.mit.edu/writing-speeches/video-transcript-message-president-kornbluth-about-fun...
81•dmayo•23m ago•63 comments