frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•12mo 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!

Microsoft trims cloud desktop pricing, even as it boosts AI costs

https://www.computerworld.com/article/4161546/microsoft-trims-cloud-desktop-pricing-even-as-it-bo...
1•CrankyBear•46s ago•0 comments

Robot-toast – a draggable toast library with an animated robot companion

https://www.npmjs.com/package/robot-toast
1•Pratham07007•1m ago•0 comments

Show HN: Meshgrid – A peer-to-peer mesh networking protocol for mobile devices

https://apps.apple.com/tr/app/meshgrid/id6760400899
1•toygard•2m ago•0 comments

The Expert [video]

https://www.youtube.com/watch?v=BKorP55Aqvg
1•hosteur•4m ago•0 comments

Benchmarking DuckDB from Java: Fast Insert, Update, and Delete

https://sqg.dev/blog/java-duckdb-benchmark/
1•uwemaurer•6m ago•0 comments

Π RuView: turn WiFi into realtime human detection,vitals monitoring, and more

https://github.com/ruvnet/RuView
1•bigbugbag•9m ago•0 comments

VPNs to Access Geo-Blocked AI Tools in 2026

https://cloudexplorer.ai/best-vpns-access-geo-blocked-ai-tools/
1•BlackPlot•9m ago•0 comments

Nobody Got Fired for Uber's $8M Ledger Mistake?

https://news.alvaroduran.com/p/nobody-got-fired-for-ubers-8-million
2•ohduran•10m ago•0 comments

Almostmet: Find where your paths crossed

https://almostmet.se/
1•PotatoNinja•12m ago•0 comments

CATL's new LFP battery can charge from 10 to 98% in less than 7 minutes

https://arstechnica.com/cars/2026/04/catls-new-lfp-battery-can-charge-from-10-to-98-in-less-than-...
2•PotatoNinja•13m ago•0 comments

Florida's Attorney General announces criminal investigation into OpenAI

https://www.nbcnews.com/tech/tech-news/florida-attorney-general-criminal-investigation-openai-fsu...
2•croes•16m ago•0 comments

Show NH: Elytro – self-custodial agent wallet

https://elytro.com
1•zengjiajun•18m ago•1 comments

The invisible engineering behind Lambda's network

https://www.allthingsdistributed.com/2026/04/the-invisible-engineering-behind-lambdas-network.html
1•ingve•21m ago•0 comments

Magicbind, automatically build Python extension modules from C++

https://github.com/robomei/magicbind
1•robomei•24m ago•1 comments

An Interview with Arthur Whitney (2004)

https://web.archive.org/web/20150813004101/http://kx.com/arthur-interview.php
2•tosh•25m ago•0 comments

Firefox 150

https://www.firefox.com/en-US/firefox/150.0/releasenotes/
3•beatthatflight•28m ago•1 comments

Show HN: A free business analysis tool powered by AI

https://wuobly.com/website-to-prospecting-brief
1•Bgach•29m ago•0 comments

AWS App Runner will no longer be open to new customers

https://docs.aws.amazon.com/apprunner/latest/dg/apprunner-availability-change.html
2•dilipray•30m ago•1 comments

2026 State of Kubernetes Optimization Report

https://cast.ai/reports/state-of-kubernetes-optimization/
1•BlackPlot•37m ago•0 comments

MySQL 9.7.0 LTS

https://blogs.oracle.com/mysql/mysql-9-7-0-lts-is-now-available-expanded-community-capabilities-a...
1•theodorejb•38m ago•0 comments

ContextBlur – Blur sensitive elements before you share your scree

https://chromewebstore.google.com/detail/contextblur/hahoepjcdanibdehgcdblhpfdklbaldh
1•Kodaren1338•43m ago•0 comments

Show HN: Spacetime Watch – an astrolabe-inspired astronomical Wear OS watch face

https://spacetime.watch/
1•metaphorician•43m ago•1 comments

What I heard at the Legal and Licensing Workshop 2026

https://www.thomas-huehn.com/what-i-heard-at-llw-2026/
1•Tomte•44m ago•0 comments

Finding duplicated code with tools from your CS course

https://purplesyringa.moe/blog/finding-duplicated-code-with-tools-from-your-cs-course/
1•gavide•44m ago•0 comments

TypeScript 7.0 Beta (built on Go)

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0-beta/
10•subset•45m ago•0 comments

Tell HN: OpenAI Codex Service_unavailable_error in OpenCode

1•guld•46m ago•0 comments

Mojo GPU Puzzles, Edition 1

https://puzzles.modular.com/introduction.html
2•NeoInHacker•52m ago•0 comments

The surprising origin of 4 features that superglue kids–and adults–to screens

https://www.npr.org/2026/04/21/nx-s1-5776665/surprising-origin-features-superglue-kids-adults-to-...
2•xtiansimon•53m ago•2 comments

Building an Interregional Transmission Overlay for a Resilient U.S. Grid

https://content.knowledgehub.wiley.com/energy-in-motion-unlocking-the-interconnected-grid-of-tomo...
1•defrost•57m ago•0 comments

UX Research Tooling Landscape

https://github.com/samber/awesome-user-research
1•samber•57m ago•0 comments