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!

DuckDB 2.0 Pushes Whole Queries Through ADBC–10–11× Faster on PostgreSQL

https://query.farm/blog/one-query-one-arrow-stream-adbc-duckdb-2/
1•rustyconover•37s ago•0 comments

Why is privacy so hard?

https://cacm.acm.org/blogcacm/why-is-privacy-so-hard/
1•andsoitis•38s ago•0 comments

Ask HN: In The Matrix, the bad guys are the 'agents'. Coincidence? Clairvoyance?

1•spottedmarley•1m ago•0 comments

Show HN: SF Title Alert

https://sftitlealert.com
1•arkadiyt•2m ago•0 comments

What Is Wrong with Nike?

https://www.s-1.site/s/the-middle-market-focus-verticals.html
1•anthonybourdain•2m ago•0 comments

SCH: An affordable sandbox for Coding Agents in your AWS account

https://c-daniele.github.io/en/posts/2026-09-07-close-the-lid-serverless-coding-harness/
1•cdani•3m ago•0 comments

The Outrageous Collapse of a 'Montessori Ponzi'

https://www.nytimes.com/2026/09/13/business/guidepost-montessori-higher-ground-education-ray-girn...
2•sciurus•7m ago•1 comments

Claude Fable 5.1 Solves the Cyphral Distich, a 370-year-old cipher

https://www.vals.ai/blogs/fable-solves-cyphral-distich
3•u1hcw9nx•8m ago•0 comments

Veilid is an open-source, peer-to-peer application framework

https://veilid.com/
3•Bluestein•9m ago•0 comments

AI Is Destroying the World

https://gornak40.org/blog/ai-is-destroying-the-world.html
2•Gornak40•9m ago•0 comments

BitBang: End-to-End Verified, Browser-Native Remote Access

https://github.com/richlegrand/bitbang/blob/main/whitepaper.md
4•Bluestein•15m ago•0 comments

Terminal multiplexer and experimental Wayland compositor for browsers

https://blit.sh/
4•williamstein•15m ago•0 comments

Claude Fable 5.1 cracked a cipher that has survived for 370 years in 40 min.

https://osintsights.com/ai-deciphers-370-year-old-cipher-in-minutes
2•u1hcw9nx•17m ago•2 comments

Two cheers (out of three) for Dario Amodei

https://garymarcus.substack.com/p/two-cheers-out-of-three-for-dario
4•chmaynard•24m ago•0 comments

Hikers guided by AI stranded on Mt. Shasta [video]

https://www.youtube.com/watch?v=OlwxEnN50e4
1•jumploops•27m ago•0 comments

Sam Altman pitches utilities on AI grid defense

https://www.politico.com/news/2026/09/10/sam-altman-pitches-utilities-on-ai-grid-defense-01070425
3•cdrnsf•28m ago•0 comments

Jason Arday and the Corruption of Science

https://chronicleofhighereducation.substack.com/p/jason-arday-and-the-corruption-of
2•kgwgk•29m ago•0 comments

OpenAI faces Senate probe into Hugging Face breach

https://www.axios.com/2026/09/10/openai-hugging-face-senate-investigation-hawley
3•reasonableklout•29m ago•0 comments

Go Implementation of WireGuard

https://github.com/WireGuard/wireguard-go
2•Bluestein•30m ago•0 comments

Show HN: Opine, a public polling website with maps

https://opinepolls.com/
1•superphotonic•30m ago•0 comments

YC: Why the Harness Matters More Than the Model [video]

https://www.youtube.com/watch?v=n9xKblqyQ28
1•mgl•34m ago•0 comments

How Much Could Europe Pay for U.S. Weapons for Ukraine?

https://www.thepricer.org/how-much-could-europe-pay-for-u-s-weapons-for-ukraine/
1•cinderelacinder•34m ago•1 comments

Emma: The GP's AI Receptionist doesn't understand Yorkshire or security

https://floorjellyboot.infinityfree.io/?u=/2026/09/05/emma-the-gps-ai-receptionist-doesnt-underst...
1•spzb•35m ago•0 comments

Flawed Routers Flood University of Wisconsin Internet Time Server (2003)

https://pages.cs.wisc.edu/~plonka/netgear-sntp/
10•walrus01•41m ago•0 comments

Show HN: Vehla – the AI command center for macOS

https://vehla.app/
1•ibuhs69•44m ago•0 comments

Godaddy's homepage is currently throwing a 403

https://www.godaddy.com/
4•otherayden•45m ago•2 comments

Apple's Always-Listening Tech: A Nightmare of Constant Surveillance

https://this.weekinsecurity.com/watch-what-you-say-apple-opens-the-door-to-a-nightmare-world-of-a...
7•birdculture•47m ago•1 comments

Agents of Alienation

https://www.jaronlanier.com/agentalien.html
1•andsoitis•49m ago•0 comments

I Built 15 SLOs for an AI Agent. Here's What OpenTelemetry Could Measure

https://medium.com/data-science-collective/i-built-15-slos-for-an-ai-agent-heres-what-opentelemet...
1•tanmaydesh5189•49m ago•0 comments

Why optimistic science fiction is still possible and important

https://fasterplease.substack.com/p/why-optimistic-science-fiction-is
1•andsoitis•49m ago•0 comments