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!

The SpaceX IPO is great for Elon Musk and terrible for you

https://www.theverge.com/ai-artificial-intelligence/940001/elon-musk-spacex-ipo-ai
2•1vuio0pswjnm7•1m ago•0 comments

A pictorial introduction to differential geometry (2017)

https://arxiv.org/abs/1709.08492
2•ricudis•6m ago•0 comments

How LLMs Work

https://arpitbhayani.me/blogs/how-llms-work/
2•dharaniES•17m ago•0 comments

We contain Claude across products

https://www.anthropic.com/engineering/how-we-contain-claude
2•Tomte•18m ago•0 comments

Show HN: V0.6.0-pre.14 hopefully the last release before v0.6.0

https://codeberg.org/ordinarylabs/Ordinary/releases/tag/v0.6.0-pre.14
2•seanwatters•24m ago•0 comments

Show HN: Komi-learn – continuous memory and self-improvement for coding agents

https://github.com/kurikomi-labs/komi-learn
2•rainxchzed•24m ago•0 comments

Blackwall – OSINT exposure scanner that pulls from real sources

https://theblackwall.vercel.app/
2•jwallace•32m ago•0 comments

Gradient animation using a WebGL shader

https://garden.bradwoods.io/notes/shaders/gradient
2•bradwoodsio•34m ago•0 comments

A standard for building production AI agents (+ installable Claude Code skills)

https://github.com/AlexDuchDev/agentic-product-standard
2•AlexDuch•35m ago•0 comments

OMP – pi agent with batteries included and a coding agent with the IDE wired in

https://omp.sh/
3•himata4113•38m ago•0 comments

The Last Coder: A Mockumentary

https://twitter.com/deepwhitman/status/2060938449541345294
3•bilater•41m ago•0 comments

The Two Doors

https://pilgrima.ge/p/the-two-doors
3•xenophonf•42m ago•0 comments

Update notifications for your CLI app

https://github.com/sindresorhus/update-notifier
2•ankitg12•43m ago•0 comments

The Record

https://soundbarrier.io/posts/the_record/
2•oneofthose•44m ago•0 comments

Ask HN: How you pass legacy to others?

2•jojwong•46m ago•0 comments

Ferrari Built the Luce for Outsiders. Its Own Fans Are the Only Ones Talking

https://getcarcurious.com/stories/ferrari-luce-podcast-reaction
2•mountaineer•46m ago•0 comments

Aliens.gov

https://www.whitehouse.gov/aliens/
2•sarkarghya•47m ago•4 comments

I made an free unlimited captcha alternative

2•david3289•48m ago•1 comments

Travel back to 1998 and use Lovable on Windows 98

https://www.sinalytica.com/
2•teddyX•51m ago•0 comments

Ahoy, DECmate II the little PDP-8 that could

http://oldvcr.blogspot.com/2026/05/ahoy-decmate-ii-little-pdp-8-that-could.html
10•TMWNN•54m ago•0 comments

Building a LangGraph pipeline for production data engineering

https://labyrinthanalyticsconsulting.com/blog/building-first-langgraph-pipeline
6•labyrinthAC•57m ago•0 comments

Peter Thiel's Move to Argentina Reflects Billionaire Trend

https://www.businessinsider.com/peter-thiel-argentina-billionaire-moving-abroad-2026-5
4•nreece•1h ago•1 comments

Microsoft NetMeeting was more important than you think [video]

https://www.youtube.com/watch?v=qhay6VryyvE
2•jervant•1h ago•0 comments

Just for fun, generate your websites alter ego

https://webalterego.com
2•pointscard•1h ago•1 comments

Ghostbase – describe an agent in plain English, it runs on a webhook or cron

https://ghostbase.ai/
2•florianberisha•1h ago•0 comments

Cancer jab can eradicate tumours in patients, trial shows

https://www.theguardian.com/science/2026/may/30/cancer-jab-can-eradicate-entire-tumours-in-patien...
5•Teever•1h ago•0 comments

If Windows were designed today, would the Registry exist? [video]

https://www.youtube.com/watch?v=bkrbew3Ls60
5•LelouBil•1h ago•1 comments

86Box v6.0

https://86box.net/2026/05/31/86box-v6-0.html
5•chungy•1h ago•3 comments

Open models lag closed models by 4 months

https://epoch.ai/data-insights/open-closed-eci-gap
4•intelkishan•1h ago•1 comments

Adverse childhood experiences and risk of mental disorders: A systematic review

https://www.sciencedirect.com/science/article/pii/S0001691826007559
4•rendx•1h ago•0 comments