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!

Proper Benchmarks

https://epoch.ai/benchmarks
1•plurby•1m ago•0 comments

Someone made a Quest 3 VR client for Oldschool Runescape

https://twitter.com/That_Vita_Guy/status/2114243659856036198
1•anonym29•2m ago•1 comments

Ask HN: How do you grow OSS projects?

1•tarasyarema•3m ago•0 comments

"For the Colony " and Other Phrases to Comfort Ourselves in Modern Life

https://devz.cl/posts/for-the-colony-and-other-phrases-to-comfort-ourselves/
1•DanielVZ•3m ago•1 comments

Microsoft and Meta partner to bring Pyrefly support to Pylance in VS Code

https://devblogs.microsoft.com/python/announcing-tsp/
1•ocamoss•3m ago•0 comments

An American Answer to China's Open AI Models: A Safe Harbor for Open Weights

https://manhattan.institute/article/an-american-answer-to-chinas-open-ai-models-a-safe-harbor-for...
1•throw0101c•3m ago•0 comments

Vase Breath: the clench-your-anus meditation

https://psychotechnology.substack.com/p/vase-breath-the-clench-your-anus
1•surprisetalk•3m ago•0 comments

Show HN: Datui – Explore Parquet, CSV, Arrow and S3 Data in the Terminal

https://github.com/derekwisong/datui
1•derekwisong•4m ago•0 comments

IDHN – Task-scoped filesystem permissions for AI coding agents

https://github.com/mohsa/idhn
1•mohsa•5m ago•0 comments

Easy way to share your simplex profile even by voice

https://simplex.name
1•dehackywacky•7m ago•0 comments

Prototypicality and platformisation in India's CTI ecosystem

https://doi.org/10.21203/rs.3.rs-10097172/v1
1•bulla•8m ago•0 comments

Tesla-SpaceX merger explained in charts

https://www.reuters.com/graphics/SPACEX-TESLA/FINANCES/bypradqllve/
2•giuliomagnifico•9m ago•0 comments

Rubber Duck I've Ever Had

https://blog.blockingqueue.com/the-best-rubber-duck-i-ve-ever-had
1•liviu31•11m ago•0 comments

Show HN: Jet – Another Programming Language

https://jet-lang.com
2•jgeorgesYC•14m ago•0 comments

Show HN: AI Watermark Scrambler, blur statistical LLM text watermarks locally

https://github.com/novatechflow/ai-watermark-scrambler
1•2pk03•15m ago•0 comments

Unintended Disclosure Through Revision Traces of LLM Deliverables

https://arxiv.org/abs/2609.35408
1•hasley•15m ago•1 comments

Zod maintainer refuses v3 CVE backport because advisory is agent-written

https://github.com/colinhacks/zod/issues/6653
1•hek2sch•16m ago•0 comments

Why is it so expensive to send an email?

https://evancz.dev/why-is-it-so-expensive-to-send-an-email
1•wheatBread•17m ago•0 comments

Police pull over two men riding an electric couch down the street

https://electrek.co/2026/10/24/police-pull-over-two-men-riding-an-electric-couch-down-the-street/
2•cisc•19m ago•0 comments

The AI Agents Trying to Be Real-Life Journalists

https://www.wired.com/story/ai-agents-are-trying-to-be-journalists-now/
1•joozio•21m ago•0 comments

Why I made Wyvern, and why I chose C++ over Rust, Zig or Golang

https://wyvern.at/en/2026/10/25/why-i-made-wyvern-and-why-i-chose-c-over-rust-zig-or-golang/
2•thel0ner•21m ago•0 comments

Meta Plans to Raise Up to $95B for AI Push

https://www.wsj.com/tech/ai/meta-plans-35-billion-stock-offering-to-power-ai-buildout-eyes-95-bil...
1•thm•21m ago•0 comments

Nobody Could Say Which AI Agent Did It

https://www.anuclei.com/blog/nobody-could-say-which-agent-did-it
1•jequals5•22m ago•0 comments

Grok releases the first seven minutes of its AI-generated 'Odyssey'

https://techcrunch.com/2026/10/25/grok-releases-the-first-seven-minutes-of-its-ai-generated-odyssey/
1•theanonymousone•22m ago•0 comments

Building Salesforce Part Two

https://buildingslack.com/salesforce-part-two/
1•dublinben•22m ago•0 comments

Ask HN: Lean4 code for Modularity of elliptic curves ... ?

1•sunshinePeanut•23m ago•0 comments

The size of the oil and gas market drives adoption of synthetic fuel production

https://terraformindustries.wordpress.com/2026/06/16/the-enormous-size-of-the-oil-and-gas-market-...
1•surprisetalk•23m ago•0 comments

Show HN: The G = 9 Gate (Dark Matter) a New Theoretical Hypothesis

https://figshare.com/articles/preprint/The_G_9_Gate_A_new_theoretical_hypotesis_in_Fermion-Boson_...
3•kisnorbert•24m ago•0 comments

Mellon Technology

https://mellontechnology.si/
1•kc0bfv•26m ago•1 comments

Show HN: Rostr – Give your agents names, remember who's working on what

https://getrostr.sh/
2•piazz•27m ago•1 comments