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!

A Lisa Inside an FPGA

https://lisalist2.com/index.php?topic=694.0
1•uyjulian•1m ago•0 comments

Performance of a large language model on the reasoning tasks of a physician

https://www.science.org/doi/10.1126/science.adz4433
1•voisin•2m ago•0 comments

You Have No Idea How Much You Still Use BlackBerry

https://www.wsj.com/tech/blackberry-qnx-software-cars-bf2a2280
1•voisin•6m ago•0 comments

How the suffering system works in Hollow

https://ninjahawk.github.io/blog/posts/suffering-system.html
1•ninjahawk1•11m ago•0 comments

Show HN: BoxLite – the micro-VM runtime for embedded, local dev, and cloud prod

https://github.com/boxlite-ai/boxlite
1•dorianzheng•12m ago•0 comments

NASA's Nancy Grace Roman telescope will offer an 'atlas of the universe'

https://www.msn.com/en-us/news/technology/nasas-incredible-new-telescope-will-offer-an-atlas-of-t...
1•slow_typist•13m ago•0 comments

Git Rev News Edition 134 (April 30th, 2026)

https://git.github.io/rev_news/2026/04/30/edition-134/
1•chmaynard•17m ago•0 comments

Improved testing logic in od.nvim, added a serializers module to ocote

1•Okerew•21m ago•0 comments

Deepfakes Are Coming for Your Bank Account

https://www.theatlantic.com/technology/2026/05/chatgpt-images-deepfakes-fraud/687023/
1•JumpCrisscross•23m ago•0 comments

Free Mercurial Hg Hosting at Hglab.io

https://www.hglab.io/
1•harrisonerd•27m ago•1 comments

Show HN: Editor, Browser, Terminal, Mail, Agents. AI Sharing Context

https://github.com/raiyanyahya/kit
2•RaiyanYahya•30m ago•2 comments

PocketOS AI Fiasco – Lesson in Automation Access

https://onlytech.boo/incident/pocketos-ai-fiasco-lesson-in-automation-access-mokdojol
1•vednig•32m ago•0 comments

How to Test AI Agents When They Never Give the Same Answer Twice

https://adlrocha.substack.com/p/adlrocha-the-eval-problem-how-to
1•adlrocha•39m ago•0 comments

Quickheap: The fastest comparison-based heap?

https://curiouscoding.nl/posts/quickheap/
1•Peter5•40m ago•0 comments

Claude Code and Obsidian – build a second brain <3

https://canatak.substack.com/p/i-dont-need-to-know-everything-i
1•cango35•40m ago•0 comments

What's New in Git 2.54.0?

https://about.gitlab.com/blog/whats-new-in-git-2-54-0/
1•chmaynard•47m ago•0 comments

The Last Principle We Learn to Use

https://gpt.gekko.de/the-last-principle-we-learn-to-use/
1•ekadagami•51m ago•0 comments

Show HN: Enoch – Control Plane for Autonomous AI Research

https://github.com/alias8818/enoch-agentic-research-system
2•aliasocracy•55m ago•0 comments

Grok 'drive an iron nail through the mirror while reciting Psalm 91 backwards'

https://www.theguardian.com/technology/2026/apr/24/musk-grok-x-ai-researchers-delusional-advice-i...
2•iamflimflam1•1h ago•1 comments

Revived Mozilla's BrowserQuest game on popular demand play online for free

https://threej.in/games/browserquest/index.html
1•cryptpal•1h ago•0 comments

Why Did Huawei Build Its Own Programming Language? [video]

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

Why TUIs Are Back

https://wiki.alcidesfonseca.com/blog/why-tuis-are-back/
1•vinhnx•1h ago•0 comments

BTC Pulse – 4-factor composite model · Bitcoin Real-time macro signals

https://btcpulse.vercel.app/
1•tvvocold•1h ago•0 comments

Online Signature Generator

https://www.online-unterschriftgenerator.de/
1•Hamaq•1h ago•0 comments

Who Killed Spirit Airlines?

https://www.thebignewsletter.com/p/who-killed-spirit-airlines
1•chmaynard•1h ago•0 comments

Word Clouds Considered Harmful (2011)

https://jacobharr.is/published/word-clouds
1•Tomte•1h ago•0 comments

Show HN: A modern Git based age-encrypted secrets manager for teams

https://github.com/sayanarijit/cottage
1•sayanarijit•1h ago•0 comments

Local-first Kubernetes UI in a single Go binary

https://github.com/skyhook-io/radar
7•nadaverell•1h ago•3 comments

Executable installer will stop being released with Python 3.16

https://www.python.org/downloads/release/pymanager-261/
5•ankitg12•1h ago•0 comments

Learning Pseudorandom Numbers with Transformers

https://arxiv.org/abs/2510.26792
2•pizza•1h ago•0 comments