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!

Happy 100th birthday to the U.S. highway system

https://blog.jimgrey.net/2026/11/11/happy-100th-birthday-to-the-u-s-highway-system/
1•speckx•40s ago•0 comments

Linux application stores, trust and utility

https://www.dedoimedo.com/computers/linux-app-stores-trust-utility.html
1•dxs•2m ago•0 comments

Pharo in the Browser with WebAssembly

https://massimo-nocentini.github.io/pharo-vm/world.html
3•xkriva11•5m ago•0 comments

Anthropic Envy on HN

1•jmeister•5m ago•1 comments

What is it like to be a newborn?

https://www.economist.com/culture/2026/11/05/what-is-it-like-to-be-a-newborn
1•andsoitis•6m ago•0 comments

Getting Too Close to Trump Was a Mistake

https://www.theatlantic.com/ideas/2026/11/silicon-valley-trump-administration/689360/
1•Zigurd•6m ago•0 comments

Magic, Not Metric

https://magicnotmetric.com
1•hasithsen•7m ago•1 comments

Show HN: JobWorth – Paste a job description, see how hard it is to fill

https://jobworth.io
1•heyeddi•9m ago•0 comments

3-Inch Treasures: Transferring Material from Amstrad Floppy Disks

https://digitalpreservation-blog.lib.cam.ac.uk/3-inch-treasures-transferring-material-from-amstra...
1•Bluestein•10m ago•0 comments

Sandboxing Agents with Quarkus, for Quarkus

https://quarkus.io/blog/quarkus-insights-267-sandboxing-agents-with-quarkus-for-quarkus/
2•LaSombra•10m ago•0 comments

Why VPNs Are Worth Defending

https://www.techdirt.com/2026/11/10/why-vpns-are-worth-defending/
1•speckx•10m ago•0 comments

Bozzetto – a collaborative engineering decision-making tool

https://bozzetto.dev/
3•cirrasphere•11m ago•0 comments

Show Me You Care

https://alexcwatt.com/care/
2•acwatt•11m ago•0 comments

Show HN: Card game, every hand solvable

https://twenty-four-game.app/
1•k-yang•13m ago•0 comments

Concerns grow as military-linked Chinese university buys Nvidia chips [video]

https://www.youtube.com/watch?v=54RGe-g5c0Y
1•shinryudbz•14m ago•0 comments

Show HN: Tensward – Local AI inference optimisation

https://github.com/Tensward/tensward
2•tensward•15m ago•1 comments

Show HN: BackTrail, keep each tab's Back history across browser restarts

https://lgdventures.github.io/backtrail/
2•lgday•15m ago•0 comments

Atuin Threads: All your agent sessions on every machine

https://blog.atuin.sh/threads-agent-sessions/
3•linsomniac•15m ago•0 comments

Filthy Human Hands License v1.0

https://whirling.top/fhh/
1•speckx•16m ago•0 comments

Show HN: Hackernewstime – Hacker News stories, evolving over time, ranked

https://hackernewstime.com
2•MK2k•16m ago•0 comments

Gemini Robotics 2.5

https://deepmind.google/blog/gemini-robotics-2-5-accelerates-real-world-physical-intelligence/
3•acossta•17m ago•0 comments

A QR code that says who made it

https://qrsig.org/
5•mart9•17m ago•0 comments

Show HN: Here's My AI – Find the AI tools worth your time

https://heresmyai.com/
3•iamtk•19m ago•1 comments

Was It Ever Possible to Read "All the Books in the World?"

https://worldhistory.substack.com/p/was-it-ever-possible-to-read-all
3•crescit_eundo•20m ago•0 comments

Educational game dev program cancelled because submitted games were made with AI

https://www.pcgamer.com/software/ai/educational-game-dev-program-cancelled-because-students-were-...
3•akyuu•21m ago•0 comments

Chatbots can now stream generative UI with JSON-render

https://community.vercel.com/t/chat-sdk-agents-can-now-stream-generative-ui-with-json-render/1000...
3•flashbrew•21m ago•0 comments

Conversations with Tyler: Terence Tao on Proof, Beauty, and the Future of Math

https://conversationswithtyler.com/episodes/terence-tao/
2•jordanpg•22m ago•0 comments

Better Language Server Tools for LLMs

https://michaelorenstein.com/blog/better-language-server-tools-for-llms/
3•killcoder•24m ago•0 comments

Compress any LLM 3x in one click, near-lossless, in seconds

https://zenodo.org/records/24058202
4•anushka_gandhi•24m ago•1 comments

Using AI for Cybersecurity Framework 2.0 Analysis and Reporting

https://www.nist.gov/news-events/news/2026/08/seeking-public-comment-using-artificial-intelligenc...
3•teleforce•24m ago•0 comments