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!

Bluebox: An agent that watches OTel data and files GitHub issues with evidence

https://blog.bluebox.ai/get-started-with-bluebox-in-a-single-coffee-break/
1•aboris26•55s ago•0 comments

Show HN: PortraitDesk – A headshot tool that doesn't look like AI slop

https://portraitdesk.app/
1•lukstei•1m ago•0 comments

NYC opens 9-11 records portal, revealing new information about toxic conditions

https://abc7.com/story/mamdani-administration-releasing-170000-pages-post-911-air-quality-documen...
1•anigbrowl•1m ago•0 comments

Containarr: Docker containers with built-in HTTPS, DDNS, Auto-Updates and more

https://containarr.com
1•weejewel•3m ago•0 comments

Improve the model for everyone: OpenAI and the Navier–Stokes problem

https://twitter.com/danimberman/status/2097379292367802672
2•dimberman•5m ago•1 comments

TPU Inference Externalization Full Steam Ahead – InferenceX

https://newsletter.semianalysis.com/p/tpu-inferencex-full-steam
1•eliben•5m ago•0 comments

Dmsms (Diminishing Manufacturing Sources and Material Shortages)

https://www.navsea.navy.mil/Home/Warfare-Centers/NSWC-Crane/Resources/SD-18/Resources/DMSMS/
1•gregsadetsky•6m ago•0 comments

A short film reconstructed from 2,419 commits to block/buzz

https://www.youtube.com/watch?v=G6mLLAR5iOU
1•slmnm•6m ago•0 comments

Muse AI

https://twitter.com/finkd/status/2097402101332590646
1•ridruejo•8m ago•0 comments

Show HN: Remarc – better contextual feedback for AI agents

https://github.com/metedata/Remarc
1•young_mete•9m ago•0 comments

Beyond 40 Gbps: Processing OPRA in real-time

https://databento.com/blog/beyond-40-gbps-processing-opra-in-real-time
1•halit_okumus•9m ago•0 comments

Countries with France,UK announce sanctions on Israeli settlements in WestBank

https://www.lemonde.fr/en/international/article/2026/09/08/12-countries-including-france-uk-say-t...
4•giov4•10m ago•0 comments

Edith Pritchett's Bayeux tapestry for the modern age

https://www.theguardian.com/world/ng-interactive/2026/sep/05/alternative-bayeux-tapestry-2026-edi...
1•bryanrasmussen•10m ago•0 comments

Ask HN: Where Is AGI?

2•grandimam•10m ago•0 comments

No Doing, No Learning

https://marginalrevolution.com/marginalrevolution/2026/09/no-doing-no-learning.html
2•Ariarule•11m ago•0 comments

Unmap: Maps, geocoding and routing with a Shadcn-like DX

https://unmap.dev/
1•mepa1363•12m ago•0 comments

Meta Introduces Muse, an AI Agent That Can Send Your Emails and Book Your Travel

https://www.nytimes.com/2026/09/08/technology/meta-muse-ai-agent.html
1•xnx•13m ago•0 comments

Astra and Fable still hack on simple variants of alignment evals from early 2025

https://goodhartlabs.com/blog/frontier-models-still-hack-alignment-evals
1•dnfv•16m ago•0 comments

Muse: Meta's personal AI agent, features and capabilities

https://ai.meta.com/muse/
35•yks•16m ago•14 comments

WTF Is Dime, the Mystery OpenAI Headset

https://twitter.com/alexkaplan0/status/2095345448496103916
1•gmays•16m ago•0 comments

Anthropic faces different government responses as Pentagon battle continues

https://fedscoop.com/anthropic-government-responses-pentagon-battle-continues-claude/
1•petethomas•17m ago•0 comments

Why Spotify Is Not Using Bayesian A/B Testing

https://engineering.atspotify.com/2026/9/why-spotify-is-not-using-bayesian-a-b-testing
1•mrkaye97•17m ago•0 comments

Retired man turns spare room into Soviet-era supercomputer

https://www.theregister.com/offbeat/2026/09/08/retired-man-turns-spare-room-into-soviet-era-super...
2•CrankyBear•18m ago•0 comments

Taiwan's six-year hunt for China's undercover chip labs

https://restofworld.org/2026/taiwan-china-chip-investigations/
2•ilamont•18m ago•0 comments

Le Creuset x Star Trek: limited-edition pieces bring Star Trek into the kitchen

https://www.lecreuset.co.uk/en_GB/c/collections/le-creuset-x-star-trek/
1•teekert•19m ago•0 comments

Sleep duration links to biol aging clocks:when sleep gets tough aging gets going

https://www.nature.com/articles/s41392-026-02997-7
1•bookofjoe•19m ago•0 comments

A data leak shut a top research biobank: lessons from the recovery

https://www.nature.com/articles/d41586-026-02803-y
2•Anon84•19m ago•1 comments

Drawing the Line on AI – Bluesky Thread

https://bsky.app/profile/jalexandercohen.com/post/3muzpqgguc52a
2•FiddlerClamp•20m ago•1 comments

166,000 neurons govern the fruit fly's behavior

https://english.elpais.com/science-tech/2026-09-03/the-most-detailed-brain-wiring-diagram-yet-how...
2•Betelbuddy•21m ago•0 comments

"Any Password Works" Is Not a Login Bug – It's a Decoy Tell

https://medium.com/meetcyber/any-password-works-is-not-a-login-bug-its-a-decoy-tell-7a1436da7d1d
2•ls1911•21m ago•1 comments