frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•9mo 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!

Show HN: Shelvy Books

https://shelvybooks.com
1•tekkie00•2m ago•0 comments

Declassifying JUMPSEAT: an American pioneer in space

https://www.nro.gov/news-media-featured-stories/news-media-archive/News-Article/Article/4392223/d...
1•mkmk•4m ago•1 comments

Video of man believed to be Alex Pretti with feds 11 days before his death [video]

https://www.youtube.com/watch?v=7q12M7iHUTI
1•Bender•6m ago•0 comments

When and why agent systems work

https://research.google/blog/towards-a-science-of-scaling-agent-systems-when-and-why-agent-system...
1•The_Gray•6m ago•0 comments

BGP Vortex: Update Message Floods Can Create Internet Instabilities [video]

https://www.youtube.com/watch?v=dd6L1mdQLmk
1•maltalex•7m ago•0 comments

Semiconductors will see an end of history (eventually)

https://splittinginfinity.substack.com/p/semiconductors-will-see-an-end-of
1•paulpauper•8m ago•0 comments

Parall v2.0: A New Era of macOS Dock Customization Begins

https://parall.app/
1•IGHOR•12m ago•1 comments

Show HN: A linear-time approach to P vs. NP via Information Noise Subtraction

https://zenodo.org/records/18188972
1•alemonti06•14m ago•1 comments

The AI bubble doesn't *require* AI

1•cadabrabra•15m ago•0 comments

IonQ Acquires Seed Innovations to Make Quantum Computing Act Like Software

https://www.siliconsnark.com/ionq-acquires-seed-innovations-to-make-quantum-computing-act-like-so...
1•SaaSasaurus•17m ago•0 comments

Poll: Trump voters support military intervention in more countries

https://www.politico.com/news/2026/01/28/trump-is-threatening-strike-iran-his-supporters-wouldnt-...
1•JumpCrisscross•18m ago•1 comments

Signs god is saying soon

https://applygodsword.com/3-signs-god-is-saying-soon/
1•marysminefnuf•18m ago•0 comments

It's incredible. It's terrifying. It's MoltBot

https://1password.com/blog/its-moltbot
1•duck•18m ago•0 comments

Death of an Indian Tech Worker

https://restofworld.org/2026/india-tech-workers-crisis-suicide/
4•adrianwaj•19m ago•0 comments

US Company Ubiquiti Aids Russian Military [video]

https://www.youtube.com/watch?v=8KyMY9i__Ks
4•tacheiordache•19m ago•0 comments

Show HN: Lexiso – Authorization layer for AI agents that spend money

1•Deonnroberts•19m ago•0 comments

Show HN: Vietnam Elections (open, source-linked datasets and site)

https://bamboo-filing-cabinet.github.io/vietnam-elections/
1•vietthan•19m ago•0 comments

Coding agents are a new infrastructure primitive

https://www.mesa.dev/blog/coding-agents-are-infra
1•remolacha•20m ago•0 comments

Fork and Make

https://github.com/gabrilend/ai-stuff
1•meldowin•21m ago•1 comments

Show HN: Ignite – Run Firecracker Micro-VMs with a Docker-Like CLI (Rust)

https://github.com/Subeshrock/micro-vm-ecosystem
1•Subesh•23m ago•1 comments

The Artificial Man

https://jack-bradshaw.com/journal/item/the-artificial-man/
1•jackbradshaw•24m ago•0 comments

Ask HN: Feature request: include the second path segment for GitHub URLs

3•rbalicki•29m ago•0 comments

LLMs sabotage existing programming practices by privatizing a public good

https://michiel.buddingh.eu/enclosure-feedback-loop
2•encyclopedism•32m ago•0 comments

Show HN: Fast, private image compression in the browser using WASM

https://img-compress.pages.dev/
1•sethyl•33m ago•1 comments

Web inventor Tim Berners-Lee says he is in a battle for the soul of the internet

https://www.theguardian.com/technology/2026/jan/29/internet-inventor-tim-berners-lee-interview-ba...
5•emptybits•34m ago•2 comments

Open Gaming Collective – Unified gaming-focused components for Linux ecosystem

https://opengamingcollective.org/
4•embedding-shape•34m ago•0 comments

Genesis Designed a Body-on-Frame Truck for the US

https://www.thedrive.com/news/genesis-designed-a-body-on-frame-truck-for-the-us
1•PaulHoule•35m ago•0 comments

Kamaji: Containerized Control Planes for K8s

https://kamaji.clastix.io/
1•asaiacai•36m ago•0 comments

Maybe code was never the point

https://subintp.substack.com/p/maybe-code-was-never-the-point
2•datafloyd•37m ago•0 comments

AlphaGenome

https://github.com/google-deepmind/alphagenome_research
1•logannyeMD•39m ago•0 comments