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!

Sentry's Seer Agent lets developers debug production issues in natural language

https://thenewstack.io/sentrys-seer-agent-debug/
1•Brajeshwar•1m ago•0 comments

We've Been Warned

https://www.axios.com/2026/04/29/ai-models-speed-warning
1•adamfeldman•1m ago•0 comments

OpenAI has, in practice, abandoned its Stargate JV

https://www.ft.com/content/664a57e2-dffa-401e-81ad-55129ffb0e89
1•cwwc•3m ago•0 comments

AI reads your Google Reviews and builds a landing page for your business

https://favurl.com/
2•valon•3m ago•0 comments

Mechatronic System Design(2023)

https://ocw.tudelft.nl/courses/mechatronic-system-design/
1•num42•4m ago•0 comments

PocketOS lost their prod DB in 9s. The rules to prevent it were in the prompt

https://github.com/exospherehost/failproofai
2•nikita-ag•4m ago•0 comments

Phi Browser – local-first memory and AI that looks like Arc

https://phibrowser.com
2•alphato_o•4m ago•0 comments

The Building Block Economy

https://mitchellh.com/writing/building-block-economy
1•tie-in•4m ago•0 comments

Pen Can Only Be Stolen

https://www.theoldghosts.com/stories/the-best-pen-can-only-be-stolen/
1•speckx•5m ago•0 comments

How HN: A natural language calorie tracker that logs to Google Sheet in terminal

https://github.com/csawai/calorie-tracker
1•csawai•7m ago•0 comments

Search Isn't Going Anywhere

https://ossama.is/writing/search
1•ossa-ma•9m ago•0 comments

OpenObserve Raises $10M Series A

https://openobserve.ai/blog/series-a-announcement/
1•prabhatsharma•10m ago•0 comments

GraphQL wasn't made for AI. But it might be one of the best ways to talk to it

https://chillicream.com/blog/2026/04/22/semantic-introspection/
1•pascal_senn•12m ago•0 comments

Finding and Fixing 24 CVEs in WeKan

https://aisle.com/blog/finding-and-fixing-24-cves-in-wekan-with-aisles-analyzer
1•mmsc•12m ago•0 comments

Warp's gambles its AI tool going open source will help it take on closed rivals

https://thenewstack.io/warp-open-source-client/
1•CrankyBear•13m ago•1 comments

CKKS – Polynomials, the Canonical Embedding, and Encoding

https://www.jeremykun.com/2026/04/29/ckks-polynomials-the-canonical-embedding-and-encoding/
1•ibobev•14m ago•0 comments

What if you tried hard?

https://aaronfrancis.com/2024/what-if-you-tried-hard-dac139a5
1•_vaporwave_•14m ago•0 comments

Stripe link-CLI: Secure one-time-use payment credentials from a Link wallet

https://github.com/stripe/link-cli
2•Olshansky•17m ago•0 comments

Opus 4.7 knows the real Kelsey

https://www.theargumentmag.com/p/i-can-never-talk-to-an-ai-anonymously
3•ilamont•18m ago•0 comments

Why JSON Schema matters more than ever in the age of generative AI

https://thenewstack.io/json-schema-ai-reliability/
1•Brajeshwar•18m ago•0 comments

Show HN: Crforest – Competing-risks RSF in Python, 6× faster than R's rfSRC

https://github.com/sunnyadn/crforest
1•sunnyadn•22m ago•0 comments

Windows K2 with faster start menu, less ads and AI, to win back user trust

https://www.windowscentral.com/microsoft/windows-11/what-is-windows-k2-everything-you-need-to-kno...
3•workfromspace•23m ago•2 comments

I got stood up by an AI agent, and tracked down its human owner in China

https://restofworld.org/2026/ai-agent-china-one-person-company/
4•speckx•24m ago•0 comments

Why a recent supply-chain attack singled out security firms Checkmarx and Bitwa

https://arstechnica.com/information-technology/2026/04/why-a-recent-supply-chain-attack-singled-o...
1•joozio•25m ago•0 comments

Ghost is now a digital public good

https://ghost.org/changelog/digital-public-good/
2•cdrnsf•25m ago•1 comments

The Design of High Performance Mechatronics(2020)

https://annas-archive.gl/md5/724e29591bb37ff0944399da5713ed77
1•num42•25m ago•1 comments

Give First, Build Right with Eric Ries

https://feld.com/archives/2026/04/give-first-build-right-with-eric-ries/
2•wslh•26m ago•0 comments

Tindie Now Owned by EETree

https://blog.adafruit.com/2026/04/29/tindie-is-back-online-and-now-owned-by-eetree-llc-a-suzhou-f...
1•abetusk•26m ago•1 comments

Address by King Charles III Before the U.S. Congress

https://brucebartlett.substack.com/p/address-by-king-charles-iii-before
1•zdw•27m ago•0 comments

A New Drug Concept to Treat Obesity and Type 2 Diabetes

https://idw-online.de/en/news870041
2•geox•27m ago•0 comments