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!

Antiqua–Fraktur Dispute

https://en.wikipedia.org/wiki/Antiqua%E2%80%93Fraktur_dispute
1•buzzy_hacker•1m ago•0 comments

Google Play now lets you install rival app stores

https://www.theverge.com/tech/977269/google-play-store-third-party-app-aptoide-games
1•BlueBerry2001•2m ago•0 comments

Fable one-shotted a Rust rewrite of the TerminalTextEffects Python library

https://twitter.com/dhh/status/2086590006898958752
1•wg0•2m ago•0 comments

AI Coding and Its Discontents

https://calnewport.com/on-ai-coding-and-its-discontents/
1•polymorph1sm•6m ago•0 comments

Squeak/Smalltalk 6.1 Release Notes

https://squeak.org/release_notes/6.1/
2•fniephaus•8m ago•0 comments

Humanity renamed genes because of Excel

https://davidemornatta.it/excel-genes
4•kegenaar•8m ago•0 comments

MongoDB Shell JavaScript: Bulk Updates, Loops and Analysis

https://visualeaf.com/blog/mongodb-shell-scripting-bulk-updates-loops-analysis/
2•kyle_mongo•8m ago•0 comments

Octopus Energy: use less electricity during solar eclipse

https://www.theguardian.com/business/2026/aug/10/octopus-energy-electricity-solar-eclipse-washing...
1•DamonHD•14m ago•1 comments

Europe's extreme heat could wipe out EU growth in 2026, Triodos bank says

https://www.reuters.com/business/europes-extreme-heat-could-wipe-out-eu-growth-2026-triodos-bank-...
3•noiv•15m ago•0 comments

Flock Wants to Partner with Consumer Dashcam Co Takes 'Trillions Images' Month

https://www.404media.co/flock-wants-to-partner-with-consumer-dashcam-company-that-takes-trillions...
2•thehoff•15m ago•0 comments

Visual editor for React – Two-way is not the same as symmetric

https://blog.crossui.com/2026/08/two-way-is-not-the-same-as-symmetric
2•linb•16m ago•1 comments

The Last Ringbearer

https://en.wikipedia.org/wiki/The_Last_Ringbearer
1•EndXA•17m ago•0 comments

Show HN: ui.camera – Product photography for software

https://ui.camera
1•alexakten•17m ago•0 comments

Valve emailed about a cyberattack against their shipping partner in Europe

https://www.gamingonlinux.com/2026/08/valve-emailed-about-a-cyberattack-against-their-shipping-pa...
4•haunter•19m ago•1 comments

In-House LLM Serving at Netflix

https://netflixtechblog.com/in-house-llm-serving-at-netflix-a5a8e799ea2c
1•Anon84•20m ago•0 comments

Pioneer DJ Warns of Major Security Threat to Rekordbox and Every CDJ

https://5mag.net/news/pioneer-dj-rekordbox-cdj-exploit-security-vulnerability/
2•choult•21m ago•0 comments

Open-source prototype template for building and reviewing products

https://github.com/weidsfsdwgf/ai-prototype-demo
1•Nina_antalpha•25m ago•0 comments

AI coding got faster. Why didn't engineering?

https://thenewstack.io/ai-productivity-measurement-gap/
3•TrailMaker•25m ago•1 comments

I'm leaving OpenAI to build Jurassic Park

https://taylor.town/leaving-openai
3•surprisetalk•25m ago•0 comments

Claude Code now lets sessions talk to each other on macOS

https://9to5mac.com/2026/08/07/claude-code-now-lets-sessions-talk-to-each-other-on-macos/
3•jonbaer•28m ago•0 comments

Evolving Plans – Looking Back on the First Half of 2026

https://heltweg.org/posts/evolving-plans-looking-back-on-the-first-half-of-2026/
1•rhazn•28m ago•0 comments

Show HN: Taalas-style on-chip LLM weights on a $250 AMD FPGA (60k tok/s)

https://www.mikeayles.com/blog/on-chip-llm-kv260/
4•mikeayles•31m ago•0 comments

Show HN: Untagged – Find the cloud spend missing required allocation tags

https://untagged.pages.dev/
1•normanbrigg•34m ago•0 comments

Steam Machine and Steam Controller Customers in Europe Hit by Cyber Attack

https://www.digitalfoundry.net/news/2026/08/psa-steam-machine-and-steam-controller-customers-in-e...
1•blitzar•36m ago•0 comments

Beijing is forcing a mass breakup with AI lovers

https://restofworld.org/2026/china-ai-boyfriend-ban-bytedance-doubao/
2•cdrnsf•37m ago•0 comments

AI model captures how humans read, paving the way to personalised text

https://www.aalto.fi/en/news/ai-model-captures-how-humans-read-paving-the-way-to-personalised-tex...
1•geox•38m ago•0 comments

The $0 Personalized News Roundup That Lands in Your Podcast App Every Week

https://www.gadgetboy.org/the-0-personalized-news-roundup-that-lands-in-your-podcast-app-every-week/
1•gadgetboy•39m ago•1 comments

The Future Is for Everyone

https://about.fb.com/news/2026/08/the-future-is-for-everyone/
1•sebastian_z•40m ago•0 comments

Our Last, Best Chance to Cool the Earth – Bill McKibben – Ted [video]

https://www.youtube.com/watch?v=9LTGzEzDat0
2•thelastgallon•44m ago•0 comments

Australia has enough houses. So why can't anyone afford one? Economist explains [video]

https://www.youtube.com/watch?v=Ct0xIKWDqPA
1•thelastgallon•46m ago•0 comments