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!

Sqlit – A lazygit-style TUI for SQL databases

1•MaxTeabag•57s ago•0 comments

Ferrari Luce, Maranello's first ever electric car

https://www.topgear.com/car-news/electric/its-finally-here-meet-ferrari-luce-maranellos-first-eve...
1•sz4kerto•1m ago•0 comments

Reticulum: Source-privacy claim vs. routing metadata

https://codeberg.org/MarSik/reticulum-audit/src/branch/main/reticulum-source-privacy-flaw.md
2•almet•1m ago•0 comments

Zerowriter Fold

https://zerowriter.ink/
1•tejohnso•4m ago•0 comments

Don't orchestrate your agents, give them the tools to do it themselves

https://aweb.ai/orchestration
2•juanre•13m ago•1 comments

Russia strikes Kyiv with drones and hypersonic missile, in photos

https://apnews.com/photo-gallery/russia-strikes-kyiv-with-drones-hypersonic-missile-photos-cbb89c...
4•consumer451•13m ago•0 comments

How An MLB Stadium Feeds 40k Fans Every Game (From Hot Dogs to Lobster) [video]

https://www.youtube.com/watch?v=FckpeXHYLTk
1•gmays•15m ago•0 comments

Scholarly Futures: AI and the practical scientist

https://scholarlyfutures.substack.com/p/ai-and-the-practical-scientist
2•JohnHammersley•15m ago•0 comments

Meta urges Labour to burden Apple with age checks

https://www.telegraph.co.uk/business/2026/05/25/meta-urges-labour-to-burden-apple-with-age-checks/
2•logickkk1•16m ago•0 comments

Consequentialism

https://en.wikipedia.org/wiki/Consequentialism
1•consumer451•16m ago•0 comments

Murph - local agent for async handoffs in Slack and Discord

https://github.com/dannylee1020/murph
1•dannylee1020•16m ago•0 comments

Ferrari Luce: Engineering

https://www.ferrari.com/en-EN/auto/ferrari-luce-engineering
1•big_toast•20m ago•0 comments

The Infamous 20 Year Old MySQL Bug #11472 Has Been Fixed

https://bugs.mysql.com/bug.php?id=11472
1•karakoram•20m ago•0 comments

Why I'm Building Truly Typed

https://trulytyped.com/post/DWNSPR
1•dwa3592•21m ago•0 comments

Login bypass vulnerability in Polish Social Insurance, Court, and Health systems

https://zaufanatrzeciastrona.pl/post/ominiecie-uwierzytelniania-w-zus-ie-i-systemach-e-zdrowia-cz...
1•msm_•23m ago•1 comments

Collapse of Personal Computing

https://www.youtube.com/watch?v=zyQwAhppWj8
2•pjmlp•23m ago•0 comments

I built a productivity app that punishes you if you fail

https://www.youtube.com/watch?v=EmVxtOyu28Y
1•bmahir22•26m ago•0 comments

Show HN: The Grid in 4.5 Hours

https://www.stepchange.show/grid
1•ben8128•34m ago•3 comments

Riscrithm – An intuitive RISC-V assembler and optimizer coded in Go

https://github.com/ghetea-patrick/riscrithm
3•patrick-ghetea•34m ago•1 comments

Ferrari Luce – Designed with Jony Ive

https://www.ferrari.com/en-EN/auto/ferrari-luce
27•jumploops•35m ago•50 comments

Show HN: GerbDiff – Visual diff tool for PCB Gerbers

https://www.gerbdiff.com/
1•benwoodruff•35m ago•0 comments

The electric Ferrari is here and it's fugly [video]

https://www.youtube.com/watch?v=Gf2TI6tfWA0
2•damnitbuilds•37m ago•3 comments

Against the METR Graph

https://www.transformernews.ai/p/against-the-metr-graph-coding-capabilities-software-jobs-task-ai
1•OrderlyTiamat•38m ago•0 comments

Feedback on new real‑time "Price" column in my S&P 500 Search Tool

https://sp500-search.streamlit.app/
1•gilthor•40m ago•0 comments

Show HN: Built a tool to create brand-consistent images using AI

https://inktag.io
3•gsharma1•40m ago•0 comments

First ever Software-themed Playing Cards made from code

https://www.instagram.com/accounts/login/?next=https%3A%2F%2Fwww.instagram.com%2Fthe_devcards%3Fi...
1•okiki-clickdrop•42m ago•0 comments

Starbucks Drops AI as Meta and Intuit Cut 11,000 Jobs

https://www.forbes.com/sites/sandycarter/2026/05/22/starbucks-drops-ai-as-meta-and-intuit-cut-110...
4•e2e4•43m ago•0 comments

The AI Bubble

https://nooneshappy.com/article/the-ai-bubble/
1•cdrnsf•43m ago•0 comments

Show HN: macOS Screensaver to play random Jellyfin content

https://github.com/ndom91/macos-random-jellyfin-screensaver
1•ndom91•46m ago•0 comments

Delivery robots are spreading across LA

https://www.theguardian.com/us-news/2026/may/25/los-angeles-delivery-robots
2•worik•51m ago•0 comments