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!

Rethinking organizational design in the age of agentic AI

https://www.technologyreview.com/2026/05/26/1137584/rethinking-organizational-design-in-the-age-o...
1•joozio•36s ago•0 comments

A Board Game Agent Built Using Sanity Context and Vercel's AI SDK

https://www.sanity.io/blog/context-board-game-agent
1•crabasa•1m ago•0 comments

How Xerox invented the GUI and watched Apple and Microsoft win

https://www.generationamiga.com/2026/05/25/how-xerox-invented-the-gui-and-watched-apple-and-micro...
1•ibobev•1m ago•0 comments

SkillOpt: Executive Strategy for Self-Evolving Agent Skills

https://arxiv.org/abs/2605.23904
1•theaniketmaurya•2m ago•0 comments

Steel Framing Tool: browser-based designer with cut lists and BOM

https://dry-construction-tool.lagarsoft.com/
1•pablogancharov•3m ago•1 comments

Show HN: Security Questionnaires automation tool for small B2B SaaS founders

https://sekorti.com/
1•eddy-sekorti•3m ago•0 comments

Fake ChatGPT installers on GitHub are dropping Deno RATs

https://vechron.com/2026/05/fake-software-on-github-and-sourceforge-distribute-deno-rat/
1•GeorgeWoff25•4m ago•0 comments

DoomBench – Can Your Data Stack Run Doom?

https://cedardb.com/blog/doombench/
3•SchwKatze•8m ago•0 comments

Mirror – Open-source job search and resume tool with integrated memory

https://github.com/prateekpuri01/mirror
1•prateekpuri01•8m ago•0 comments

It Takes Two Neurons to Ride a Bicycle

https://fermatslibrary.com/s/it-takes-two-neurons-to-ride-a-bicycle#email-newsletter
1•malshe•10m ago•0 comments

Revenge of the Business Idiot

https://www.wheresyoured.at/the-revenge-of-the-business-idiot/
1•7777777phil•10m ago•0 comments

Why are you reading fewer books?

https://arnoldkling.substack.com/p/why-are-you-reading-fewer-books
1•paulpauper•13m ago•1 comments

One-and-Done Heart Disease Prevention? Scientists Show It May Be Possible

https://www.nytimes.com/2026/05/25/health/cholesterol-ldl-gene-therapy.html
2•paulpauper•13m ago•0 comments

Microsoft's GitHub was positioned to win AI coding race. Outages got in the way

https://www.cnbc.com/2026/05/22/microsoft-was-positioned-to-win-in-ai-coding-outages-got-in-the-w...
1•1vuio0pswjnm7•13m ago•0 comments

What I've Been Reading

https://marginalrevolution.com/marginalrevolution/2026/05/what-ive-been-reading-289.html
1•paulpauper•14m ago•0 comments

Reviving older hardware into a minimally viable homelab

https://podcast.james.network/@linuxprepper/episodes/re-purposing-battlestations-from-old-hardware
2•kitlop•16m ago•1 comments

Too dangerous to release: is Mythos the start of the restricted-AI era?

https://www.nature.com/articles/d41586-026-01617-2
1•sbulaev•16m ago•0 comments

Taming the agentic influx: a blueprint for AI business observability

https://thenewstack.io/ai-spend-business-observability/
1•chhum•17m ago•0 comments

When to use (and not use) CSS shorthand properties

https://thoughtbot.com/blog/when-to-use-and-not-use-css-shorthand-properties
1•ulrischa•17m ago•0 comments

The Homesteading Mother of 6 Taking on Big Tech

https://www.nytimes.com/2026/05/26/us/data-centers-kassi-solberg.html
1•1vuio0pswjnm7•17m ago•0 comments

Show HN: Automate legacy software on a Windows Sandbox

https://celesto.ai/blog/posts/smolvm/windows-sandboxes/
1•theaniketmaurya•18m ago•0 comments

Main Takeaways from Pope Leo's Encyclical on A.I

https://www.nytimes.com/2026/05/25/us/pope-leo-encyclical-highlights.html
1•1vuio0pswjnm7•18m ago•0 comments

Indoor Wi-Fi Roaming with OpenWRT

https://taoofmac.com/space/blog/2026/05/26/1730
1•zdw•19m ago•0 comments

We store ISO 27001 policies in Git and track risks in Postgres

https://github.com/unidoc/isms
1•unidoc•20m ago•0 comments

Toledo War

https://en.wikipedia.org/wiki/Toledo_War
1•Ariarule•20m ago•0 comments

Show HN: Free, read-only Stripe audit for leaked MRR

https://retryfi.com
1•danindahouse•22m ago•0 comments

Syd Mead's 1975 Playboy Land Yacht

https://macsmotorcitygarage.com/syd-meads-1975-playboy-land-yacht/
2•Michelangelo11•22m ago•0 comments

S&P500 inclusions rules changing, submit your feedback here

https://www.spglobal.com/spdji/en/governance/consultations/mr4292/
1•maerF0x0•22m ago•0 comments

Basecamp 5 is all new for 2026

https://basecamp.com/5
1•ksec•22m ago•0 comments

The Despair of the Professor in the Age of A.I

https://www.newyorker.com/news/fault-lines/the-despair-of-the-professor-in-the-age-of-ai
1•Brajeshwar•23m ago•0 comments