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!

Dark Fiber–An Archaeology of the Dot-Com Bubble (2025)

https://www.technostatecraft.com/p/dark-fiberan-archaeology-of-the-dot
1•mkl95•6s ago•0 comments

Nicholas Decker in Hell

https://www.astralcodexten.com/p/nicholas-decker-in-hell
1•paulpauper•1m ago•0 comments

Did Europeans Get Fat from Neandertals?

https://www.science.org/content/article/did-europeans-get-fat-neandertals
1•paulpauper•1m ago•0 comments

Cloud Imperium Cash Shop Records $8.5M in Sales in August 2026

https://nosygamer.blogspot.com/2026/09/cloud-imperium-cash-shop-records-85.html
1•speckx•3m ago•0 comments

Timelapse of the Future: A Journey to the End of Time [video]

https://www.youtube.com/watch?v=uD4izuDMUQA
1•gurjeet•4m ago•0 comments

John Ternus Replaces Tim Cook as Apple CEO

https://www.nytimes.com/2026/09/01/technology/apple-tim-cook-john-ternus.html
2•FinnLobsien•5m ago•0 comments

Show HN: Sift, an iOS app that auto-detects recipes in Safari and stores them

https://siftapp.me/
1•mthomaswicher•5m ago•0 comments

The Light Herder: 4K Analog Video Feedback Device

https://www.thelightherder.com/
1•glitcher•6m ago•0 comments

Leaked Files Reveal How Russia Trains Hackers for Military Cyber Operations

https://gbhackers.com/leaked-university-files/
3•speckx•6m ago•0 comments

Agentic Video in Gemini

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-agentic-video...
2•ilreb•8m ago•0 comments

Designing the Perfect Modular iOS Architecture

https://blog.jacobstechtavern.com/p/modular-ios-architecture
1•jakey_bakey•8m ago•0 comments

Penrose's theory of consciousness supported by new quantum evidence

https://iai.tv/articles/penroses-theory-of-consciousness-supported-by-new-quantum-evidence-auid-3667
1•pella•9m ago•1 comments

Eden Park DMARC reports went to an expired domain for years, so I registered it

https://www.sh.consulting/blog/eden-park-expired-dmarc-reporting-domain
1•alexshakhov•9m ago•0 comments

Interactive Tutorial to how modern AI works – accessible to a middle schooler

https://learnai.robennals.org
1•robotelvis•9m ago•1 comments

AI token prices are hitting new record lows

https://www.cnbc.com/2026/09/01/ai-token-prices-lows.html
3•spenvo•10m ago•1 comments

The Tyranny of Structurelessness (1972)

https://www.jofreeman.com/joreen/tyranny.htm
2•Jtsummers•12m ago•0 comments

Morrow, a social network where you build your own feed

https://morrow.fyi
1•levyathan•12m ago•0 comments

Juno to Establish Virtual Supercomputer Network (2001)

https://www.internetnews.com/it-management/juno-to-establish-virtual-supercomputer-network/
1•privong•14m ago•0 comments

OVH dedicated server price increase

https://us.ovhcloud.com/resources/blog/dedicated-servers-price-change-for-the-second-half-of-2026/
2•dantillberg•14m ago•0 comments

Built a GitHub Runners Benchmarking Website

https://runnerbench.com
2•dev-work-aint-e•16m ago•1 comments

SpeakType – Open-source hold-to-talk voice typing for Windows, offline

https://github.com/wookat/speaktype
1•speaktype•16m ago•0 comments

You're Likely Working Too Much

https://julienreszka.com/blog/you-re-likely-working-too-much/
1•julienreszka•18m ago•0 comments

The war with Iran will not be won through airstrikes, so what's left?

https://www.jpost.com/defense-and-tech/article-906985
7•gravisultra•20m ago•1 comments

US lawmakers demand investigation into admin's secret surveillance of Americans

https://www.theguardian.com/us-news/2026/sep/01/lawmakers-trump-obscure-law-investigation
11•Jimmc414•20m ago•1 comments

Can you explain these anomalous human–LLM observations?

https://zenodo.org/records/22235396
1•Serena_Zayn•21m ago•0 comments

E-Paper Panel Isn't Broken: How Retained State Makes Drivers Look Buggy

https://msj.prose.sh/epaper-retained-state
1•lukastyrychtr•21m ago•0 comments

The Benefits of Creating a Personal Shorthand of Symbols

https://www.autodidacts.io/personal-shorthand-symbols/
2•Curiositry•21m ago•0 comments

Fine, I'll build my own text editor

https://dbushell.com/2026/09/01/text-editor/
1•Alephinitesimal•21m ago•0 comments

An iOS engineer’s job search in 2026: moving from India to Estonia

https://relocateme.substack.com/p/from-india-to-estonia-ameyas-job
3•andrewstetsenko•22m ago•0 comments

Show HN: Executor – Skill: Superpowers on Steroids

https://github.com/Atri10/executor
1•LambdaLogic•22m ago•0 comments