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!

A conference for Ruby engineers in SF

https://evilmartians.com/chronicles/why-engineers-should-come-to-the-sf-ruby-startup-conference-i...
1•camimirabal•1m ago•0 comments

Private intelligence brought the Treasury Secy into contact with Epstein's web

https://jackpoulson.substack.com/p/ehud-barak-scott-bessent-cogito-ergo-sum
1•CGMthrowaway•2m ago•0 comments

Show HN: AI scientist builds an open-source Codex Micro from scratch for $40

https://iluvatarlabs.com/blog/2026/08/how-we-cloned-openai-codex-micro/
1•ben_iluvatar•3m ago•0 comments

Ilya Sutskever's SSI and Nvidia Announce Long-Term Strategic Partnership

https://nvidianews.nvidia.com/news/ilya-sutskevers-safe-superintelligence-inc-and-nvidia-announce...
2•porridgeraisin•3m ago•0 comments

AI Watermark Mandates Could Unmask Journalists Who Never Touched AI

https://www.techdirt.com/2026/08/26/how-ai-watermark-mandates-could-unmask-journalists-who-never-...
2•speckx•3m ago•0 comments

Enabling independent research on how people use Claude

https://www.anthropic.com/research/enabling-independent-research
2•tosh•4m ago•0 comments

Ask HN: How about delayed MIT/GPL?

1•afiori•8m ago•0 comments

Announcing The 2026 Hackaday Retrocomputing Challenge

https://hackaday.com/2026/08/18/announcing-the-2026-hackaday-retrocomputing-challenge/
1•oldnetguy•9m ago•0 comments

Demaking Claude's Designs in Beekeeper Studio

https://www.rathboma.com/2026/08/25/reverting-ai-designs-in-beekeeper-studio
1•rathboma•11m ago•0 comments

AWS buys DuckLabs, the people behind the popular in-process OLAP database

https://www.theregister.com/databases/2026/08/26/aws-buys-ducklabs-the-people-behind-the-popular-...
1•sbulaev•13m ago•0 comments

Apple to launch next iPhone on Sep. 9 in first major event under new CEO Ternus

https://www.reuters.com/technology/apple-sets-sept-9-date-next-iphone-launch-event-2026-08-26/
3•bushwart•13m ago•0 comments

Apache DataFusion vs. DuckDB

https://spice.ai/learn/apache-datafusion-vs-duckdb
2•buraksen•14m ago•0 comments

Chemical fingerprints of binary mass transfer in stars

https://arxiv.org/abs/2608.11940
1•MarcoDewey•14m ago•0 comments

Half-Life 2 Official Soundtrack Metal Mashup [video]

https://www.youtube.com/watch?v=HmzSmp8F85c
1•Eridanus2•20m ago•0 comments

The Einstein-Szilard Refrigerator

https://invention.si.edu/invention-stories/einstein-szilard-refrigerator
1•EndXA•21m ago•0 comments

FBI Shuts Down Sprawling China-Linked Hacking Network

https://www.wsj.com/tech/cybersecurity/fbi-shuts-down-sprawling-china-linked-hacking-network-61ea...
5•bmau5•24m ago•0 comments

This week in AI-native companies #5: Stripe buys the meter

https://www.insideainative.com/p/this-week-in-ai-native-companies-b77
2•mmayernick•24m ago•0 comments

Contested Tony Hsieh will signature appears illegitimate, forensic experts say

https://www.8newsnow.com/news/local-news/contested-tony-hsieh-will-signature-appears-illegitimate...
2•pseudolus•24m ago•0 comments

Show HN: Chroncal – A TUI for Calendar

https://github.com/DouglasdeMoura/chroncal
1•douglasdemoura•24m ago•0 comments

Automated Synthesis of Cloud Emulators

https://arxiv.org/abs/2608.23842
1•metrofun•24m ago•0 comments

The Tariff Cost: analysis of the costs to Americans from new tariffs on Canada

https://thetariffcost.com/
2•mikestorrent•25m ago•0 comments

Vox, a systems language whose code reads like English

https://vox-lang.dev/
3•TheJostler•25m ago•3 comments

Their Problem Is That We Have Taste

https://clintavo.substack.com/p/their-problem-is-that-we-have-taste
4•herbertl•26m ago•0 comments

Hacker News, Sans AI

https://elijahpotter.dev/hnsansai
3•fussylogic•27m ago•1 comments

How well do agents use your design system?

https://www.sanity.io/engineering/design-system-evals
1•kmelve•28m ago•0 comments

America's immigration policy is driving away future AI leaders

https://restofworld.org/2026/us-immigration-rules-ai-talent-china/
5•herbertl•29m ago•3 comments

Show HN: Railo – Deterministic security patch bot using AST and Z3 (no LLMs)

https://www.railo.dev
2•mdzariflatif•30m ago•0 comments

Moscow Turned AI into a Ghostwriting Machine for Global Influence

https://united24media.com/world/how-moscow-turned-ai-into-a-ghostwriting-machine-for-global-influ...
5•whynotmaybe•33m ago•0 comments

Actualis – read what your coding agent did on your machine

https://github.com/digital-foundry/actualis
3•actualis•33m ago•0 comments

I measured the x402 economy. It's $11,748 a month

https://github.com/dhughes6071/driftwatch/blob/main/research/posts/x402-economy-measured.md
2•dhughes6071•34m ago•0 comments