frontpage.
newsnewestaskshowjobs

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!

Oil Steadies as Saudi Pipeline Restarts and Supply Fears Ease

https://coinmarketcap.com/community/post/379725868/
1•joeymabia1•32s ago•1 comments

A Practical Guide to Making Yourself Obsolete Through AI

https://ana15.substack.com/p/a-practical-guide-to-making-yourself
1•aborovykh•1m ago•0 comments

Zig's State of the (Tagged) Union Address by Andrew Kelley [video]

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

The Electric Trucking Market's Record Rise: Three Things to Know

https://about.bnef.com/insights/clean-energy/the-electric-trucking-markets-record-rise-three-thin...
1•toomuchtodo•2m ago•0 comments

Function-preserving watermarking of AI-generated proteins

https://www.nature.com/articles/s41586-026-10965-y
1•sbulaev•3m ago•0 comments

Functional Ultrasound Imaging from Scratch

https://www.neuroai.science/p/functional-ultrasound-imaging-from
1•pminimax•3m ago•0 comments

How to take good photos at tech events

https://twitter.com/slashslashdev/status/2105384422082261310
1•d0able•4m ago•0 comments

Reddit will block Old.Reddit.com from people who haven't used it in 6 months

https://arstechnica.com/gadgets/2026/09/reddit-will-block-old-reddit-com-from-people-who-havent-u...
5•throw0101a•5m ago•0 comments

Gemini 4 Argon

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/
49•bradleyg223•5m ago•8 comments

Visual Sokoban Solver in Zig/WASM

https://demin.ws/zig-sokoban-solver/
1•begoon•11m ago•0 comments

OpenAPPA: Deterministic guardrails that don't break agents

https://github.com/archestra-ai/OpenAPPA
1•simonpure•12m ago•0 comments

Gecko Feet

https://en.wikipedia.org/wiki/Gecko_feet
1•sans_souse•12m ago•0 comments

CafeBench: Sol 6.1 is great value, but not quite Opus level

https://www.getdot.ai/blog/cafe-bench-gpt-6-1-sol-sonnet-5-5
5•zodwick•13m ago•0 comments

Show HN: Domainpuff.com – Find memorable domain names within your budget

https://domainpuff.com/
1•brunoelylemon•15m ago•1 comments

Top Essential Linux Commands for DevOps Engineers

https://mobilestuff2026.blogspot.com/2026/09/top-10-essential-linux-commands-for.html
1•techGuardpro•15m ago•0 comments

CS240 AI Cheating Retrospective

https://turkeyland.net/thoughts/ai.php
2•ArchAndStarch•16m ago•0 comments

The BeerXML Beer Recipes Exchange Standard

https://beerxml.com
1•vegadw•16m ago•0 comments

Anthropic IPO prospectus lays bare deep dependence on Big Tech partners

https://www.reuters.com/world/anthropic-ipo-prospectus-lays-bare-deep-dependence-big-tech-partner...
3•cl42•17m ago•3 comments

Ask HN: How to measure the energy impact of a website in Linux

2•aljgz•17m ago•1 comments

Coop: A small language model pretrained by volunteers

https://github.com/commonsense-ai/coop
2•simonpure•18m ago•0 comments

The Paradox of Free Time

https://www.brandur.org/fragments/paradox-of-free-time
2•aray07•20m ago•1 comments

Factory AI vs. Cognition (Devin)

https://twitter.com/ScottWu46/status/2105360290993115469
3•pranshuchittora•22m ago•0 comments

Dear Software Makers

https://blog.jim-nielsen.com/2026/dear-software-makers/
4•speckx•24m ago•0 comments

Show HN: Overboard – Mac agent orchestrator with ship captains that spawn agents

https://web-production-4f6f5.up.railway.app/
2•mrieck•25m ago•0 comments

Halfspace experimental IDE for solid modeling with distance fields

https://www.mattkeeter.com/projects/halfspace/
7•luu•25m ago•0 comments

Is Trump's Push to Rename AI to Super Intelligence Part of a Bigger Conspiracy?

https://gizmodo.com/is-trumps-push-to-rename-ai-to-super-intelligence-part-of-some-bigger-conspir...
5•poopcat•26m ago•0 comments

Chernoff Face Cellular Automata

https://www.registeredhexoffenders.com/still_life/
1•MitPitt•27m ago•0 comments

Bologna Bottle

https://en.wikipedia.org/wiki/Bologna_bottle
3•_josh_meyer_•28m ago•0 comments

Gemini Replaces Google Assistant on Android

https://9to5google.com/2026/09/28/google-assistant-gemini-android/
1•iamben•29m ago•1 comments

Aurora PostgreSQL now supports direct query of Apache Iceberg and Parquet data

https://aws.amazon.com/blogs/aws/amazon-aurora-postgresql-now-supports-direct-querying-of-apache-...
1•swasheck•29m ago•0 comments