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!

I built a free deepfake detector that works directly from social media URLs

https://kweliai.com/
1•ProlificVA•36s ago•0 comments

Taking Extreme Measures to Avoid New Car Technology

https://www.wsj.com/lifestyle/cars/driver-assistance-technology-dashboard-ead96bd2
1•ike_usawa•54s ago•0 comments

Go LLM SDK for streaming, tool-calling AI back ends plus front end

https://github.com/grafana/ai-sdk
1•matryer•1m ago•0 comments

Leadership Lessons from the Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•1m ago•0 comments

AI and the Enshittification Era W Cory Doctorow – Weekly Show with Jon Stewart [video]

https://www.youtube.com/watch?v=-dAIJRjb-Bw
1•nekusar•1m ago•0 comments

Æsh, Another Extensible SHell

http://aeshell.github.io/
1•ankitg12•2m ago•0 comments

HSIP – a self-hosted identity and audit trail for AI agents

https://github.com/rewired89/HSIP-1PHASE
1•Rewired89•3m ago•0 comments

Blankie – Ambient sounds for your flow state

https://blankie.rest/
1•ai2027•4m ago•0 comments

Copatch- The shared workspace for teams building with AI coding agents

https://copatch.ai/
1•malrokhayes•5m ago•0 comments

Radar – (Signal clone) Chats and sats in one place

https://radar.chat/
1•janandonly•6m ago•0 comments

Show HN: Get an email when your favorite actor/director releases something new

https://www.premierepal.com/
1•samteeeee•9m ago•0 comments

AgentTrace: A Structured Logging Framework for Agent System Observability

https://arxiv.org/abs/2602.10133
1•ankitg12•10m ago•0 comments

Malloy semantic modeling lang gets 'Credible' backing to build out AI context

https://venturebeat.com/data/57-of-enterprises-traced-a-wrong-ai-answer-to-missing-business-conte...
1•richij•10m ago•0 comments

GCC steering committee announces AI policy

https://lwn.net/Articles/1086041/
2•arto•11m ago•0 comments

Are We Stuck with Lean?

https://mathoverflow.net/questions/513742/are-we-stuck-with-lean
1•jjgreen•11m ago•0 comments

"Oopsies " FreeBSD Devs Say There's Still GPL in the Kernel

https://fossforce.com/2026/07/oopsies-freebsd-devs-say-theres-still-gpl-in-the-kernel/
2•richij•13m ago•1 comments

Pokémon Red and Blue Mod Turns the Game Boy Games into a Gorgeous 3D Diorama

https://kotaku.com/pokemon-red-blue-recompilation-project-voxel-3d-mod-2000720281
3•throwaway270925•15m ago•0 comments

Show HN: Invisible color – Daily logical puzzle

https://www.invisible-color.xyz/
1•wrongful1520•21m ago•0 comments

Amazon finds cases of AI causing runaway spending on tech projects

https://www.ft.com/content/77baac40-d803-4084-94f3-a133653072cf
1•adrianhon•22m ago•1 comments

Nscale to Buy Anyscale for $1.65B

https://www.bloomberg.com/news/articles/2026-07-30/nscale-to-buy-ai-software-startup-anyscale-for...
1•marc__1•22m ago•0 comments

I made a game where you build a CPU from logic gates

https://select.supply/game/chipbuilder
1•laurentiurad•23m ago•1 comments

67% of Americans worry leaders pressuring officials to alter election results

https://news.gallup.com/poll/712955/election-concerns-run-high-ahead-2026-midterms.aspx
2•giuliomagnifico•23m ago•1 comments

The First Chatbot's Multiple Personalities

https://spectrum.ieee.org/eliza-chatbot-source-code
1•sohkamyung•25m ago•0 comments

ChatGPT, Roblox to Fall Under Strictest EU Rules for Platforms

https://www.bloomberg.com/news/articles/2026-07-29/chatgpt-roblox-to-fall-under-strictest-eu-rule...
8•ch_sm•26m ago•0 comments

Lean 4 Bug Found Incidentally by AI, "Proving" Collatz

https://twitter.com/gro_tsen/status/2082483878480977959
2•jryan49•27m ago•0 comments

Audio8 TTS Preview 0.6B: multilingual TTS model with zero-shot voice cloning

https://huggingface.co/Audio8/Audio8-TTS-Preview-0.6b
1•nateb2022•27m ago•0 comments

You can't solve computer use by ignoring the interface

https://steelmanlabs.com/blog/computer-use-is-far-from-solved
7•mpavlov•27m ago•0 comments

Cameron's World

https://www.cameronsworld.net
1•adityaathalye•30m ago•0 comments

Binary is the best way to count [video] (2023)

https://www.youtube.com/watch?v=rDDaEVcwIJM
1•basilikum•31m ago•0 comments

Were this summer's heatwaves caused by El Niño, or something more terrifying?

https://www.irishtimes.com/opinion/2026/07/28/eamon-ryan-were-this-summers-heatwaves-caused-by-el...
1•simmerup•32m ago•0 comments