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!

Ted Turner CNN founder has died

https://www.bbc.com/news/articles/c1k2jnx8gmlo
2•FridayoLeary•1m ago•0 comments

Show HN: Zero LLM deep codebase analysis built on math engine

https://codebase.observer
1•devconcierge•1m ago•0 comments

Razify – All-in-one .env CLI: diff, scan, validate, audit (Go, offline)

https://github.com/[yourusername]/razify
1•hossiy16•2m ago•0 comments

Recursive Language Models, clearly explained

https://twitter.com/akshay_pachaar/status/2048757569775378858
2•gmays•3m ago•0 comments

The Original Super Mario 64 Is Now Playable on GBA

https://retrododo.com/the-original-super-mario-64-is-now-playable-on-gba/
1•jandeboevrie•5m ago•0 comments

Show HN: DoodleMate: Animate Your Child's Hand Drawings Without Generative AI

https://doodlemate.com/
1•hjessmith•5m ago•0 comments

A Full-Featured Linux Rat with Rootkit, Pam Backdoor, Credential Harvesting

https://www.trendmicro.com/en_us/research/26/e/quasar-linux-qlnx-a-silent-foothold-in-the-softwar...
1•speckx•6m ago•0 comments

Ratfor

https://en.wikipedia.org/wiki/Ratfor
1•tosh•8m ago•0 comments

The Digital Image Archive of Medieval Music

https://www.diamm.ac.uk/
1•jruohonen•10m ago•0 comments

We ran OWASP attacks on 8 LLMs. Optimized small models beat frontier defaults

https://www.megacode.ai/blog/prompt-security-benchmark
1•ChanwooSong•12m ago•0 comments

The first microcomputer: The transfluxor-powered Arma Micro Computer from 1962

https://www.righto.com/2024/02/the-first-microcomputer-transfluxor.html
2•rsecora•12m ago•0 comments

The invisible force making food less nutritious

https://www.washingtonpost.com/climate-environment/interactive/2026/carbon-pollution-diluting-key...
2•brandonb•13m ago•0 comments

Co-Founder relationship, thoughts?

1•gemelli2020•13m ago•1 comments

On Agents Dropping Production Databases

https://yakko.dev/blog/on-agents-dropping-production-dbs
1•yakkomajuri•13m ago•0 comments

Anthropic: Partnership with SpaceX will increase our compute

https://twitter.com/claudeai/status/2052060691893227611
1•tosh•14m ago•0 comments

ReactOS Gets Unified BootCD, GUI Installer, and New ATA Storage Driver

https://www.phoronix.com/news/ReactOS-Unified-ISO
2•jeditobe•15m ago•0 comments

For a Fistful of Dollars: CVE-2026-23918 – Pre-auth RCE in Apache httpd

https://www.striga.ai/research/apache-httpd-mod-http2-double-free
3•mparadys•16m ago•0 comments

Mnemara – an LLM agent runtime where the role doc runs every turn

https://github.com/mekickdemons-creator/mnemara
1•Mekickdemons•17m ago•1 comments

'RAMageddon': is the era of cheap phones and laptops over?

https://www.theguardian.com/business/2026/may/06/ramageddon-cheap-phones-laptops-macbooks-ps5s-ai...
1•Brajeshwar•17m ago•0 comments

Colombia hosts talks on exiting fossil fuels as global energy crisis deepens

https://www.latimes.com/environment/story/2026-04-26/colombia-hosts-talks-on-exiting-fossil-fuels...
3•PaulHoule•17m ago•0 comments

You Don't Love Systemd Timers Enough

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
1•leephillips•18m ago•0 comments

Do I just forget everything I've learned?

4•humam_alhusaini•19m ago•0 comments

10T downloads are crushing open-source repositories: Here's the fix

https://www.zdnet.com/article/open-source-repositories-are-being-overwhelmed-but-there-is-an-answer/
2•CrankyBear•19m ago•0 comments

Liberata – graph scientometrics for share-based academic publishing

https://arxiv.org/abs/2605.02128
1•anishrverma•20m ago•1 comments

Anthropic has a Red Team page

https://red.anthropic.com/
3•DavidCanHelp•21m ago•0 comments

Show HN: Search jobs using Claude, Codex via MCP

https://corvi.careers/ai/
1•sp1982•22m ago•0 comments

OpenAI violated Canadian privacy laws, federal and provincial watchdogs say

https://betakit.com/federal-and-provincial-privacy-watchdogs-say-openai-violated-canadian-privacy...
2•neom•23m ago•0 comments

Anthropic will now use all the compute capacity at the xAI Colossus1 data center

https://twitter.com/claudeai/status/2052060693269008586
6•sergiotapia•26m ago•3 comments

Grug on Personal Finance

https://xquant.substack.com/p/grug-on-personal-finance
3•nb_quant•26m ago•0 comments

Timmy the Whale Released After Being Stranded Off the German Coast for Weeks

https://www.smithsonianmag.com/smart-news/timmy-the-whale-was-released-into-the-sea-after-being-s...
2•ulrischa•27m ago•1 comments