frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

LibreOffice State of the Project (April 2025 – March 2026)

https://blog.documentfoundation.org/blog/2026/04/09/libreoffice-state-of-the-project/
1•mariuz•49s ago•0 comments

The kenopsia of dead software [video]

https://www.youtube.com/watch?v=0YYH6oPPLkg
1•macgyverismo•2m ago•1 comments

Wit, unker, Git: The lost medieval pronouns of English intimacy

https://www.bbc.com/future/article/20260408-the-extinct-english-words-for-just-the-two-of-us
1•eigenspace•3m ago•0 comments

Neocities

https://neocities.org/
1•nc0•3m ago•0 comments

Privilege Escalation Attacks on GPUs Using Rowhammer

https://gpubreach.ca/
1•photon-torpedo•4m ago•0 comments

Shared Genetic Liability Across Systems of Psychiatric and Physical Illness

https://www.nature.com/articles/s41467-026-69218-1
1•gehwartzen•4m ago•0 comments

BoxWallet v0.3.4

https://github.com/richardltc/boxwallet2
1•richardltc•12m ago•0 comments

Ask HN: Local-first meetings recorder and transcriber?

1•dandaka•12m ago•1 comments

Slowjamastan: The new 'nation' hiding in the US

https://www.bbc.com/travel/article/20260330-slowjamastan-the-worlds-newest-nation-youve-never-hea...
1•keepamovin•14m ago•0 comments

Stockfish removes classical evaluation functions in favor of NNUE only (2023)

https://github.com/official-stockfish/Stockfish/commit/af110e02ec96cdb46cf84c68252a1da15a902395
1•knuckleheads•15m ago•0 comments

PolyCombo – Bundle multiple Polymarket positions into a single trade

https://polycombo.co
1•fleufleu•15m ago•0 comments

Kern – agents built for co-working

https://github.com/oguzbilgic/kern-ai
1•obilgic•15m ago•0 comments

The Internet needs an antibotty immune system, stat

https://anil.recoil.org/notes/internet-immune-system
1•avsm•16m ago•0 comments

Show HN: Running a 1.7B parameters LLM on an Apple Watch

https://twitter.com/nobodywho_ai/status/2042179816925864209
3•pielouNW•16m ago•0 comments

Wine on Astral OS

https://astral-os.org/posts/2026/04/03/wine-on-astral.html
2•mrunix•19m ago•0 comments

America Has Lost the Arab World

https://www.foreignaffairs.com/iran/america-has-lost-arab-world
4•robtherobber•20m ago•0 comments

Fluent – AI Language Learning Kit for Claude Code and Others

https://github.com/m98/fluent
1•surrTurr•21m ago•0 comments

HookVerify – Webhook reliability layer for the receiving side

https://hookverify.com/
1•phntmdz•25m ago•0 comments

Oracle's 30k Employee Layoffs

https://tech-insider.org/oracle-30000-layoffs-ai-data-center-restructuring-2026/
5•01-_-•30m ago•0 comments

Russia sees China's WeChat, Douyin as models for its homegrown Max messenger

https://www.reuters.com/world/china/russia-sees-chinas-wechat-douyin-models-its-homegrown-max-mes...
2•01-_-•31m ago•0 comments

Multi-Core by Default – By Ryan Fleury – Digital Grove

https://www.dgtlgrove.com/p/multi-core-by-default
1•birdculture•40m ago•0 comments

Ortto Is Joining Canva

https://ortto.com/blog/ortto-is-joining-canva/
2•kehers•43m ago•0 comments

Mano-P: Open-source on-device GUI agent, #1 on OSWorld benchmark

https://arxiv.org/abs/2509.17336
1•mininglamp•44m ago•0 comments

The day you get cut out of the economy

https://geohot.github.io//blog/jekyll/update/2026/04/08/the-day-you-get-cut-out.html
2•rvz•45m ago•1 comments

Search page for Rust developer blogs

https://rustgrep.dev
1•adamsmo•45m ago•0 comments

Bring Buddy Back

https://github.com/anthropics/claude-code/issues/45596
2•cientifico•47m ago•0 comments

Claude mixes up who said what and that's not OK

https://dwyer.co.za/static/claude-mixes-up-who-said-what-and-thats-not-ok.html
28•sixhobbits•48m ago•9 comments

AnyInspect – Service Inspections made simple with AI

https://anyinspect.ai/en-GB
1•Velc•50m ago•0 comments

Unofficial Linux 7.0-rc7 Release Notes, AI-generated

https://lexplain.net/release-notes/v7.0-rc7
2•daisydevel•52m ago•0 comments

Gemini-CLI, zeroclaw, Llama.cpp, Qwen3.5 on TK1

https://forums.developer.nvidia.com/t/gemini-cli-zeroclaw-llama-cpp-qwen3-5-on-tk1/365653
1•benbojangles•52m ago•1 comments