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!

Request for Immediate Release of Yang–Mills AI Output

https://agmai.org/#request-immediate-release
1•kerim-ca•6m ago•0 comments

From RTL and No-RTL to GDS in 3 Weeks

https://www.ustcpetergu.com/MyBlog/experience/2026/10/10/from-rtl-and-no-rtl-to-gds.html
1•paaloeye•8m ago•1 comments

Using Env(1) in the Shebang

https://notes.pault.ag/env-in-shebang/
1•ykgoon•8m ago•0 comments

Why using AI saves doctors time but won't fix physician burnout

https://theconversation.com/why-using-ai-saves-doctors-time-but-wont-fix-physician-burnout-291250
1•beansovertoast•9m ago•0 comments

Roblox downloaded 145 GB of models from our sites without asking

https://open3dlab.com/news/roblox-downloaded-145-gb-of-models-from-our-sites/
1•linksbro•10m ago•0 comments

AI Crisis in Math: Navier-Stokes, Riemann Hypothesis and Complexity Theory [video]

https://www.youtube.com/watch?v=ZAzWPE9CItg
2•vismit2000•10m ago•1 comments

CPU Scheduling Explained [video]

https://www.youtube.com/watch?v=gq6g31usk0k
1•vismit2000•11m ago•0 comments

Mistrial – Re run your LLM judge and see how often it flips

https://github.com/hemanth1999k/mistrial
1•hemanth2k•11m ago•0 comments

Meaning After an AI Eucatastrophe

https://meaningness.substack.com/p/meaning-after-an-ai-eucatastrophe
2•eatitraw•12m ago•0 comments

In China, the AI bubble has already burst

https://www.reuters.com/world/china/china-ai-bubble-has-already-burst-2026-10-26/
4•thunderbong•13m ago•0 comments

Goldman Sachs puts $500M into small-business AI with four AI labs

https://thenextweb.com/news/goldman-sachs-frontier-models-small-business-ai-institute-500m
2•vismit2000•13m ago•0 comments

Aroha – signed, shrinking permissions for AI agents, checked offline

https://github.com/ArohaLabs/aroha-protocol
1•rajganesan-aroh•14m ago•0 comments

What I learned building and shipping my first iOS and Android app – Bad Poochy

https://github.com/junkuang1/bad-poochy-development-notes/blob/main/README.md
1•junkuang1•15m ago•0 comments

Show HN: Spin up a page for your group

https://www.ourpage.social/
1•niraj-agarwal•16m ago•0 comments

Show HN: A lunisolar calendar with equinox-decided leap months, in one .js file

https://carpocratian.org/en/church/calendar/
1•flammafex•19m ago•0 comments

Don't expect supersize profits from Anthropic any time soon

https://www.economist.com/business/2026/10/26/dont-expect-supersize-profits-from-anthropic-any-ti...
2•Anon84•19m ago•0 comments

Things to Think About Post-Election (US)

https://movementvoterproject.substack.com/p/top-10-things-to-think-about-postelection
1•verdverm•23m ago•0 comments

Shanghai SME subsidies: free English checklist of 9 official sites

https://shituapp.com/dot/en/checklist.html
1•subsidyradar•23m ago•0 comments

(VCF Midwest 2026) Building a Living 90s Internet for Vintage Computers [video]

https://www.youtube.com/watch?v=mZfJ-sulqQs
1•CursedSilicon•24m ago•0 comments

Show HN: Sping – A modern, multi-target network diagnostic tool written in Rust

https://github.com/LambdaBytes/sping
1•lambdabytes•27m ago•0 comments

James Pond 2: Codename RoboCod – Recompiled

https://github.com/griches/JamesPond2RobocodRecomp
1•doener•29m ago•0 comments

Star Trek actor Walter Koenig, who played Pavel Chekov, dies aged 90

https://www.bbc.com/news/articles/cv0ldjzg9xppo
4•Archelaos•30m ago•0 comments

Pilcrow's Auth Book

https://auth.pilcrowonpaper.com
1•thunderbong•31m ago•0 comments

Show HN: Live speech-to-text on an ESP32-P4 microcontroller, no cloud

https://github.com/BoumedineBillal/esp32-pie-asr
2•boumedinebillal•32m ago•1 comments

How does this even work

2•nexisshop•33m ago•1 comments

JWST and ALMA reveal a dusty, rapidly growing black hole in the early universe

https://phys.org/news/2026-10-jwst-alma-reveal-dusty-rapidly.html
2•wglb•38m ago•0 comments

Southern Africa's first known stenciled rock art found hiding in plain sight

https://phys.org/news/2026-10-southern-africa-stenciled-art-plain.html
2•wglb•38m ago•0 comments

Show HN: Better Design – alternative to Claude Design, for any coding agents

https://better-design.com
1•marvinkr•41m ago•0 comments

About the compromised eMudhra intermediate CAs (Published Date: 2026-10-23)

https://support.apple.com/en-us/149555
2•DASD•43m ago•0 comments

Evolving a Live Game Engine: Introducing ECS Without a Full Rewrite [video]

https://www.youtube.com/watch?v=Q4490CzX_ag
1•zhorov10000•45m ago•1 comments