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!

The Game Informer Vault

https://www.ebay.com/itm/800994909685
1•NickHirras•2m ago•0 comments

A tool to check post-quantum cryptography readiness of websites

https://ispostquantumready.com/
1•zidoo•3m ago•1 comments

Show HN: Flash your Philips Hue lights when Claude Code finishes or needs input

https://github.com/michaeldmueller/hue-claude
1•lurkingllama•3m ago•0 comments

Lojycal Procurement, From purchase to vendor dispatch, asset register and ERP

https://www.lojycal.com/procurement
1•Lojycal•4m ago•0 comments

Show HN: Spires, standard playing cards game I designed

https://github.com/joetex/SpiresCardGame
1•JoeOfTexas•5m ago•0 comments

A New Chapter at Twitch

https://blog.twitch.tv/en/2026/12/03/a-new-chapter-at-twitch/
2•lrae•8m ago•0 comments

Show HN: Kapoof – Black holes and burning paper for closing Mac windows

https://kapoof.app/
1•pugdogdev•9m ago•0 comments

Get notified when an outage happens

https://pushout.app/@outages
2•vasanthv•10m ago•1 comments

Show HN: PosKVM – Open SSH and VNC from the same device card

https://apps.apple.com/us/app/poskvm-remote-desktop-vnc/id6823037350
1•aribada•11m ago•0 comments

Zellij manages terminal workspaces with style

https://lwn.net/Articles/1106913/
2•signa11•12m ago•0 comments

What I learned as a hired consultant to autodidact physicists (2016)

https://aeon.co/ideas/what-i-learned-as-a-hired-consultant-for-autodidact-physicists
1•zenincognito•14m ago•1 comments

Host internal apps on a private machine with auth and permissions handled

https://innabase.com
1•johnyeocx•15m ago•0 comments

Remy – Fast, Free, Local Dictation with Cleanup

https://github.com/brysonjl/remy
1•bloff•16m ago•1 comments

Show HN: [ccbuild] A C++ build system where your build scripts are C++

https://github.com/aniket-ray/ccbuild
1•aniketray•17m ago•0 comments

Bhopal Disaster

https://en.wikipedia.org/wiki/Bhopal_disaster
6•gostsamo•17m ago•0 comments

Honeypots that hack the hacking agent back

https://github.com/NebuSec/ArtexPot
2•_____k•17m ago•0 comments

Climate change could make your daily cup of coffee cheaper, but taste less good

https://www.frontiersin.org/news/2026/12/02/frontiers-plant-science-climate-change-coffee-cheaper
1•DeepLogin•17m ago•0 comments

The unlikely policemen of Wall Street's new money machine

https://www.ft.com/content/4d20786d-bfb1-44fc-9b18-14f26e454ad6
1•petethomas•17m ago•0 comments

I'm Paying for Polish

https://blintzbase.com/posts/polish/
1•blintz•18m ago•0 comments

One APE became 268M, and ApeChain is now switched off

https://blog.everstrike.io/one-ape-became-268-million-and-apechain-is-now-switched-off-2/
1•gertnygaard•18m ago•0 comments

Autoresearch Is Goodhart on Autopilot

https://chiefofautism.com/blog/autoresearch-loops/
1•0x0ffh_local•20m ago•0 comments

Keyrings and TextOrca: a diversity-preserving, distortion-free watermark

https://mistral.ai/news/keyrings-textorca-watermark/
2•programLyrique•24m ago•0 comments

Amazon, Anthropic, Google and Others Urge Encryption Updates over AI Concerns

https://www.nytimes.com/2026/12/03/us/cybersecurity-encryption-ai-nsa.html
3•alwillis•26m ago•0 comments

Looking Back on the 2026 Midterms

https://www.anthropic.com/research/2026-midterms
2•kagaherk•28m ago•0 comments

Show HN: Say My Name – talk to your terminal, you still press Enter

https://github.com/Capybara-Consulting/say-my-name
1•CapybaraConsult•29m ago•0 comments

Be brief. Be brilliant. Be gone. – by Yue Zhao

https://www.lennysnewsletter.com/p/be-brief-be-brilliant-be-gone
1•yuezhao•29m ago•0 comments

Request for help: maintainer capacity and a path forward for go-witness #847

https://github.com/in-toto/go-witness/issues/847
1•colek42•30m ago•0 comments

Chasing Creatures in the Embedding Space

https://alpa84.github.io/chasing_creatures_in_the_embedding_space.html
2•alePan•32m ago•1 comments

AI Doesn't Mean What You Think It Does

https://cameronmpalmer.com/blog/ai-doesnt-mean-what-you-think-it-does/
1•cameronmpalmer•33m ago•0 comments

China proposes rules to stop people falling in love with humanoid robots

https://www.independent.co.uk/asia/china/china-rules-people-love-humanoid-robots-b3096103.html
7•extasetoi12•34m ago•1 comments