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!

Fires on the Plain: Both Ends Burning (2007)

https://www.criterion.com/current/posts/473-fires-on-the-plain-both-ends-burning
1•cocacola1•5s ago•0 comments

Show HN: An n8n-like orchestration toolkit for DeepSeek harnesses

https://github.com/ahamoment-101/Open-DeepSeek-Harness-Desktop
1•darrenzhang•2m ago•0 comments

Creepy Insurers?

https://matthewekahn.substack.com/p/creepy-insurers
1•NomNew•4m ago•0 comments

I built an app that hides encrypted messages inside normal emojis

https://apps.apple.com/us/app/imp-secret-messages/id6794774885
1•oliverhann•8m ago•0 comments

California's new tire efficiency rules could save drivers $1B a year

https://grist.org/transportation/californias-new-tire-efficiency-rules-could-save-drivers-1b-a-year/
1•littlexsparkee•8m ago•0 comments

25 Years of Haiku: From "Ok, Let's Start" to the Present

https://www.desktoponfire.com/haiku_inc/969/25-years-of-haiku/
2•fork-bomber•9m ago•0 comments

Google plans to stop making Pixel products in China in 2027

https://asia.nikkei.com/spotlight/supply-chain/exclusive-google-plans-to-stop-making-pixel-produc...
1•spenvo•15m ago•0 comments

Help Peer

https://www.seangoedecke.com/help-peer/
3•gfysfm•17m ago•0 comments

Show HN: Honeymatcha.io connect your Grok bots for dating, meetups, anything

https://honeymatcha.io
1•JaiRathore•17m ago•1 comments

Show HN: Build beautiful web apps faster with UiSvelte

https://github.com/sappsdev/ui-svelte
1•victorriba•18m ago•0 comments

A candy brand discovered TikTok made an AI clone of its founder to run ads [video]

https://www.youtube.com/watch?v=itovmsMwus0
2•navs•21m ago•0 comments

Satellite operators are in panic mode due to a worsening launch crisis

https://arstechnica.com/space/2026/08/theres-a-huge-launch-crunch-right-now-and-it-will-probably-...
1•jnord•35m ago•0 comments

S-1 – Independent Company Studies

https://s-1.vercel.app/
9•simonpure•43m ago•0 comments

Unslop my deck – upload slide decks, read less slop

https://unslopmydeck.xyz/
1•fkodom•47m ago•1 comments

What's Better Than Binary? – Advent of Computing Episode 187

https://adventofcomputing.libsyn.com/episode-187-whats-better-than-binary
2•matt_d•53m ago•0 comments

The Benchmarkpocalypse

https://danluu.com/benchpocalypse/
2•cyndunlop•56m ago•0 comments

Show HN: Turtle – Web Browser written from scratch for 2 years

3•coolwulf•57m ago•5 comments

.NET 11 Preview 7 is now available

https://devblogs.microsoft.com/dotnet/dotnet-11-preview-7/
1•Hixon10•57m ago•1 comments

Email Client for the Terminal?

3•ewjloop•57m ago•2 comments

Dial-up internet – made a thing that lets you do it again

https://56k.rip/
4•henrychannel•1h ago•2 comments

Show HN: SacredCal – A 13-month, 364-day calendar built around seven-day cycles

https://sacredcal.one
1•dealancer1•1h ago•1 comments

Three different papers pushed to ArXiv proving same 1986 conjecture; all use AI

https://twitter.com/Quasilocal/status/2089408301427568691
2•pfdietz•1h ago•0 comments

Decoding .heic: How the code works under the hood

https://heic-decoding.vercel.app/
1•suolex•1h ago•0 comments

Nested QR Codes

https://alloc.dev/2026/08/17/nested_qr_codes
1•Retro_Dev•1h ago•0 comments

Você realmente precisa de tudo isso para fazer um site?

https://opuscore.dev/
1•pragidi•1h ago•0 comments

Modular USB-C Hub for Framework Expansion Cards

https://dockframe.com/#
1•maxheyer•1h ago•0 comments

Going AI-native to enhance how humans/agents access ScalarDB and ScalarDL docs

https://medium.com/scalar-engineering/going-ai-native-to-enhance-how-humans-and-agents-access-sca...
2•josh-scalar•1h ago•0 comments

Low-tech animation Niu Lai trounces the Odyssey at Chinese box office

https://www.theguardian.com/world/2026/aug/17/niu-lai-derided-animated-film-challenges-blockbuste...
4•wslh•1h ago•0 comments

Every student is cheating with AI

https://ben.page/cheating
7•stopachka•1h ago•4 comments

Self-Healing Autopoietic Shell

https://huggingface.co/spaces/Daveswo/self-healing-autopoietic-shell
1•GlyphOS•1h ago•0 comments