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!

Policy and Disclosure: 2026 Edition

https://projectzero.google/2026/11/disclosure-policy.html
2•el_duderino•1m ago•0 comments

We read 6 weeks of WordPress plugin releases: 21% of security fixes were silent

https://blog.wpsec.com/wordpress-plugin-vulnerabilities-other-scanners-miss/
1•jonasl•3m ago•0 comments

I released my Git Remote Hosting built from scratch

https://gitmoap.com/
1•kevindenotariis•5m ago•1 comments

Concurrent Shell Command Queues

https://emmer.dev/blog/concurrent-shell-command-queues/
1•speckx•5m ago•0 comments

Nvidia Was Born at Denny's on Berryessa in San Jose (2023)

https://sebfrey.com/nvidia-was-born-at-dennys-on-berryessa-in-san-jose/
1•kqr2•6m ago•0 comments

A web port of a classic Mac game – The Dungeon Revealed

https://thedungeonrevealed.com
3•kirchhoff•7m ago•0 comments

Arm boss Rene Haas approached in Nvidia CEO search

https://www.ft.com/content/2a64f698-46dd-4178-a3f4-4c5f4c0a0926
4•bazzmt•8m ago•0 comments

"LibreOffice works 365 days a year. Just saying."

https://twitter.com/LibreOffice/status/2121205272479998268
2•mksaunders2•8m ago•0 comments

Gnomon. Git for Postgres data, built for agents

https://github.com/bitsinfra/gnomon
1•shawkisukkar•8m ago•0 comments

Japanese workers return to fax machines during ongoing Microsoft 365 outage

https://www.tomshardware.com/software/japanese-workers-return-to-fax-machines-during-ongoing-micr...
2•ohjeez•9m ago•0 comments

Post-quantum L1 and non-custodial multichain wallet

https://github.com/blocklechain/blockle
1•blockle•10m ago•0 comments

1 in 4 3rd Party AI Endpoints Underperform Their Advertised Models

https://hermes-ai.net/news/artificial-analysis-finds-1-in-4-ai-endpoints-quietly-underperform-their/
1•0o777•10m ago•1 comments

Ichiran at-home counter kit that turns your desk into a ramen restaurant

https://soranews24.com/2026/11/14/ichiran-releases-an-at-home-counter-kit-that-turns-your-desk-in...
1•rawgabbit•11m ago•1 comments

Yes, Ground News Is a Psy Op [video]

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

Show HN: Earshot – live, on-device transcription of any app on your Mac

https://github.com/Bouliw/earshot
1•Bouliw•13m ago•0 comments

Claude Is Superhuman at Translating Poetry Now

https://lettersfrombethlehem.substack.com/p/claude-is-superhuman-at-translating
2•speckx•14m ago•0 comments

Show HN: Pharon – security incident alerts for your whole stack

https://getpharon.com
2•ahmedketata•15m ago•0 comments

November 13: Help Lemon Amiga stay online

https://www.lemonamiga.com/
2•doener•15m ago•0 comments

Bootstrapping: First public demo of my "cloud devboxes for agents" product [video]

https://www.youtube.com/watch?v=d8-HvYyh6q4
3•telekid•16m ago•1 comments

From floppy disk to cockpit: Star Wars on the Amiga

https://amiga-news.de/en/news/AN-2026-11-00082-EN.html
2•doener•17m ago•0 comments

What Is Quantum Computing

https://www.makingsoftware.com/chapters/quantum-computing
1•stanko•19m ago•0 comments

Apify Was Hacked

https://status.apify.com/incidents/sxd1dj5j6749
5•cynicalpeace•22m ago•0 comments

Can you still trust Proton?

https://www.zdnet.com/tech/can-you-still-trust-proton/
1•gnabgib•25m ago•0 comments

Show HN: Altar: Open-source launch command center for indie devs

https://github.com/iampal/altar
1•ankushpal•26m ago•0 comments

I filed one complaint. An airport took its AI signer down

https://www.novaracg.com/2026/10/26/i-filed-one-complaint-an-airport-took-its-ai-signer-down/
2•ravenclouds•27m ago•0 comments

Windows 0-day dropped by disgruntled researcher hands hackers System rights

https://arstechnica.com/security/2026/11/windows-0-day-dropped-by-disgruntled-researcher-hands-ha...
6•speckx•27m ago•0 comments

North Korean hackers used fake video calls in $400M crypto hack, says FBI

https://www.bbc.com/news/articles/cqdj1ellpd70o
7•saikiran91•28m ago•0 comments

The setup behind nearly 2,500 merged PRs in October

https://githits.com/blog/how-i-build-githits-with-githits/
1•skvark•30m ago•0 comments

LangChain Raises $300M to Enable Every Company to Own Its Intelligence

https://www.langchain.com/blog/series-c
2•robotswantdata•34m ago•0 comments

Thundering Herd Problem

https://en.wikipedia.org/wiki/Thundering_herd_problem
2•rzk•41m ago•0 comments