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!

The Sleazy World of Reddit Marketing, Everything Is Fake

https://larslofgren.com/reddit-marketing/
1•landdate•5m ago•0 comments

AI was supposed to hit new grads hard. So far, unemployment data says otherwise

https://arstechnica.com/ai/2026/09/ai-was-supposed-to-hit-new-grads-hard-so-far-unemployment-data...
2•MrDresden•7m ago•0 comments

About Jammertest

https://www.jammertest.no/about/
1•Tomte•8m ago•0 comments

Novelist accused of using AI to write book removed from French prize list

https://www.theguardian.com/books/2026/sep/25/thelyson-orelien-goncourt-prize-france
2•pieterr•11m ago•0 comments

Luhnify – Zero-PII API for ID, Vat and Passport Validation (<100ms)

https://luhnify.com
1•josebermejo•14m ago•0 comments

Show HN: Translate a SVG back to a diagram – drawio

https://zoosky.github.io/accent-draw/
1•akapaka•14m ago•0 comments

LeftOpen – Native macOS menu bar app to see what's on localhost and close it

https://github.com/SonghaiFan/leftopen
1•songhai•15m ago•0 comments

Advice to a Beginning Software Engineer

https://www.seangoedecke.com/advice-to-a-beginning-software-engineer/
1•gfysfm•17m ago•0 comments

Finding the Purpose of Life

https://medium.com/@ravitandon2/the-purpose-of-life-debb9fb2e699
1•ravitandon1990•18m ago•0 comments

Using Claude Code: Spending your effort

https://twitter.com/i/status/2103576349499855160
1•Michelangelo11•18m ago•0 comments

Show HN: WhiteScreenLight.com– A simple white screen tool for testing/ lighting

https://whitescreenlight.com/
1•TechDevArchitec•20m ago•0 comments

Great news from Saturn's moon Enceladus in the search for life in space

https://www.eurekalert.org/news-releases/1145100?
1•andsoitis•27m ago•0 comments

Translation

1•bella786•27m ago•0 comments

Any2bazel – an OSS tool for agent-driven migrations to Bazel

https://blog.engflow.com/2026/09/09/introducing-any2bazel-oss-bazel-migration-tool/
1•nollbit•27m ago•0 comments

US DOE will give $5.25B to upgrade the grid for AI datacenters

https://www.theregister.com/systems/2026/09/25/uncle-sam-coughs-up-19b-for-grid-upgrades-as-datac...
2•meredithbloom•29m ago•0 comments

Exam

1•bella786•31m ago•0 comments

Commodified Intelligence

https://herecomesthemoon.net/2026/09/commodified-intelligence/
3•signa11•34m ago•0 comments

Sonic Pi now runs in the web

https://in-thread.sonic-pi.net/t/sonic-pi-now-runs-in-the-web/10058
2•blltprfmnk•34m ago•0 comments

Show HN: Pysimplicial, Python library for simplicial complexes in topological ML

https://github.com/kaifczxc-lab/pysimplicial
1•siritoriyowai_•35m ago•1 comments

One company is at the center of a wave of rogue AI attacks

https://www.theverge.com/ai-artificial-intelligence/1000644/irregular-rogue-ai-cyberattacks-hacki...
2•meredithbloom•36m ago•0 comments

Today, 150k – 200k kids in the USA are locked up in "fix your teen" programs

https://elan.school/
2•bingowasthename•37m ago•0 comments

OpenAI says agents leaked 53 images from ChatGPT users

https://www.theguardian.com/technology/2026/sep/25/openai-agents-leaked-53-images-chatgpt
2•andsoitis•37m ago•0 comments

Transformer Can Hold Two Thoughts at Once: Evidence of Linear

https://arxiv.org/abs/2609.29845
1•sbulaev•38m ago•0 comments

Nexflix: Workload Attestation on Managed Compute

https://netflixtechblog.com/trading-a-cloud-identity-for-your-own-workload-attestation-on-managed...
2•meredithbloom•39m ago•0 comments

Legendary US spy plane vanishes from CA base amid mystery over new NASA aircraft

https://economictimes.indiatimes.com/news/international/global-trends/legendary-us-spy-plane-vani...
1•gscott•41m ago•0 comments

Comprehension Layer

https://www.fujimon.com/blog/comprehension-layer
1•yuyafujimoto•45m ago•0 comments

Alaska's Orange Rivers More Metallic Than Acid Mine Drainage

https://www.ucdavis.edu/climate/news/alaskas-orange-rivers-more-metallic-acid-mine-drainage
1•littlexsparkee•46m ago•0 comments

Fireside Friday, September 25, 2026

https://acoup.blog/2026/09/25/fireside-friday-september-25-2026/
1•Tomte•53m ago•0 comments

Show HN: 12 Puzzle – a sliding puzzle on the hyperbolic plane

https://mametter.itch.io/12-puzzle
1•mametter•53m ago•1 comments

Show HN: I built a chatbot that can only reply in emoji, powered by Jev

https://jev.chat
1•skewcy•58m ago•0 comments