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!

Palo Alto retracts claim of PHP2Shell exploitation at European government agency

https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/
1•zahrevsky•8m ago•1 comments

Apollo says AI has delivered 'zero financial payoff' outside the tech industry

https://www.businessinsider.com/apollo-ai-zero-financial-payoff-corporate-america-economic-analys...
3•levzettelin•9m ago•0 comments

Show HN: simdown – use SIMD to parse Markdown at ~1 GB/s

https://github.com/trevorah/simdown
2•trevorah•11m ago•0 comments

Internet Security: We're Doomed

https://www.nationalreview.com/2026/10/were-doomed/
1•DamnInteresting•11m ago•1 comments

What the US Movement Against Data Centers Can Learn from Everywhere Else

https://www.wired.com/story/what-the-us-anti-data-center-movement-can-learn-from-everywhere-else/
1•cdrnsf•16m ago•0 comments

The Busy Beaver Iceberg [video]

https://www.youtube.com/watch?v=kMHCl2PGloQ
1•ks2048•17m ago•0 comments

Tool to easily copy features from one desktop framework to another

https://github.com/androslee/yoinkr
1•aclmakes•17m ago•0 comments

Surprising gender biases in GPT (2024)

https://www.sciencedirect.com/science/article/pii/S2451958824001660
1•mpweiher•18m ago•0 comments

You don't have to build the model to compete in AI

https://www.purifigroup.com/index.html
1•jerondu•18m ago•0 comments

Proton Flock Camera Map

https://proton.me/flock-camera-map
3•cdrnsf•18m ago•0 comments

Raven: Install and run Windows applications on Linux with their own installers

https://useraven.org/
1•thunderbong•19m ago•0 comments

Forget the plague, this is the disease that will kill us all

https://mapwriting.substack.com/p/forget-the-plague-this-is-the-disease
5•kitkut•20m ago•0 comments

Focus: Why Everything Is Not for You

https://leveragethoughts.substack.com/p/everything-is-not-for-you
1•maverickJ•24m ago•1 comments

Why I Built Verto

https://jackdamon.org/blog/why-i-built-verto/
1•jdamon96•24m ago•0 comments

Payload: A super-small game engine that lets you share code via a URL

https://kitao.dev/playload/
1•nogajun•24m ago•0 comments

SIMD-accelerated computer vision on a $2 microcontroller

https://shraiwi.com/blog/simd-fast-esp32s3/
1•zdw•28m ago•0 comments

Why the EU avoids tackling Big Soccer

https://www.politico.eu/article/why-the-eu-avoids-tackling-big-soccer/
1•RickJWagner•30m ago•0 comments

HQL 0.5.2 Is Out

https://hql-lang.org/
1•divingstar•31m ago•0 comments

Serbia's ruler VučIć concedes election to student-led protest

https://www.bbc.com/news/articles/cw5yn3xlprpmo
2•Betelbuddy•33m ago•1 comments

Conservative party wins first election in nearly a century in BC

https://www.reuters.com/legal/litigation/conservative-party-wins-first-election-nearly-century-br...
1•Bluestein•33m ago•1 comments

Stop resetting privacy settings to default on updates #17107

https://github.com/anthropics/claude-code/issues/17107
2•DesaiAshu•35m ago•0 comments

Show HN: Glitchrupt: Glitch your desktop when your AI agent needs your attention

https://github.com/elbee19/glitchrupt
1•impish19•35m ago•0 comments

I want my Wednesday back

https://blog.luitjes.it/posts/i-want-my-wednesday-back/
2•birdculture•35m ago•0 comments

Germany's Idle Nuclear Plants Eye New Life as AI Data Centers

https://www.bloomberg.com/news/articles/2026-10-22/germany-s-idle-nuclear-plants-eye-new-life-as-...
2•gnabgib•38m ago•1 comments

Disadvantages of Designating Mathematicians for AI Output Releases

https://terrytao.wordpress.com/2026/10/25/disadvantages-of-designating-mathematicians-for-ai-outp...
1•smilelamp•39m ago•0 comments

Reasons to keep TF state files small (2024)

https://newsletter.masterpoint.io/p/3-reasons-to-keep-tf-state-files-small
1•mooreds•41m ago•0 comments

Nvidia eyes converting old nuclear plants into AI data centers

https://www.tomshardware.com/tech-industry/data-centers/nvidia-eyes-converting-old-nuclear-plants...
3•rbanffy•46m ago•1 comments

Show HN: Visualization of Top News Stories

https://www.topaztee.com/digglabs/
2•topaztee•47m ago•1 comments

Musk says SpaceX restricted Ukraine's Starlink connection as service restored

https://www.bbc.com/news/articles/cvx28ljp8n4xo
4•cisc•49m ago•0 comments

F45 (Fedora 45) Final Is No-Go

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/EWDOYT6TOMFY4X...
4•gnabgib•49m ago•1 comments