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!

Show HN: I benchmarked Larust against Laravel Rust (~27x faster)

https://github.com/WallabyDesigns/Larust
1•wallabydesigns•1m ago•0 comments

Workerd-OS – stateless Linux for Cloudflare Workers

https://workerd-os.pages.dev/
1•yawnt•2m ago•0 comments

Markdown Is Not a Firewall: four coding agents, one rules file, four boundaries

https://arxiv.org/abs/2611.27112
1•sandeepdhuri•2m ago•0 comments

Science as Culture and the Science of Meaning

https://themarginaliareview.com/science-as-culture-and-the-science-of-meaning/
1•bryanrasmussen•3m ago•0 comments

Qe – Qwen3.8-Flash-Next wrote its own inference engine, 2x llama.cpp

https://github.com/haschka/qe
1•haschka•7m ago•0 comments

Pelicans on a bike: May 2024 – Nov 2026

https://jakozaur.github.io/advent-of-slop-05-pelican-on-a-bike/
1•jakozaur•10m ago•0 comments

MI6 chief warns of catastrophic risks of AI

https://www.theguardian.com/technology/2026/dec/05/ai-warfare-mi6-chief-blaise-metreweli-warning
2•amelius•10m ago•0 comments

Chamberlain giving itself permanent license to your data: may use it to train AI

https://www.theverge.com/tech/1050757/chamberlain-garage-door-smart-home-camera-tos-terms-service...
1•bookofjoe•12m ago•1 comments

Show HN: Site is OK? – free website security and uptime check

https://siteisok.com/
1•yasenp•12m ago•0 comments

Chrome Prerendering Is Weird

https://tombennet.dev/blog/chrome-prerendering-is-weird
1•bucket2015•13m ago•0 comments

Exercise may increase muscle size primarily by reducing protein breakdown

https://www.cell.com/iscience/fulltext/S2589-0042(26)03807-1
3•gavinray•15m ago•0 comments

Baemin wants its delivery robots on Woowa's 'dung calls'

https://heavytechasia.com/baemin-wants-its-delivery-robots-on-woowas-dung-calls/
1•ilamont•16m ago•0 comments

Agentic Action-Channel Steganography

https://glthr.com/agentic-action-channel-steganography
1•glth•17m ago•0 comments

Show HN: FolioSort, a photo organizer that works on your existing folders

https://www.foliosort.app/
1•foliosortapp•19m ago•1 comments

Redmine 7.0.4 Released

https://www.redmine.org/news/165
1•mariuz•19m ago•0 comments

Show HN: A simple arcade front-end for MAME with an MCP server

https://github.com/jystervinou/insert-pizza
1•jystervinou•21m ago•0 comments

Show HN: FuzzyShare – upload from the terminal, get a link that expires itself

https://fuzzyshare.com/
1•omdanii•23m ago•0 comments

The Internet Sucks

https://forum.vcfed.org/index.php?threads/the-internet-sucks.1260004/
1•JPLeRouzic•23m ago•0 comments

AI-Driven Scam Economy: Persuasion Knowledge, Consumer Vulnerability Empowerment

https://journals.sagepub.com/doi/10.1177/10949968261487442
2•rbanffy•25m ago•0 comments

Ibiden plans four new chip substrate factories by 2030, $12.5B

https://asia.nikkei.com/business/tech/semiconductors/nvidia-supplier-ibiden-bets-12.5bn-on-ai-chi...
1•pierreneter•27m ago•0 comments

Pipedream security incident – secrets leaked

https://status.pipedream.com/incidents/b0z0nrj3gdk9
1•rbaudibert•27m ago•0 comments

Ask HN: How do I reach a human being at Microsoft to fix a problem?

4•helaoban•28m ago•1 comments

Worker rescues 1,132 ancient Mexican artifacts out of a Mass. dumpster

https://www.boston.com/news/local-news/2026/12/04/a-worker-rescued-1132-ancient-mexican-artifacts...
1•ilamont•28m ago•0 comments

The New Website of Kamil Tamiola, the CEO of Peptone

https://tamoiola.com
1•ktamiola•30m ago•2 comments

The Limits of Scale

https://www.palladiummag.com/2026/12/03/the-limits-of-scale/
4•RickJWagner•31m ago•0 comments

Reinforcement Learning from Verifiable Rewards (eBook)

https://rlvrbook.com/
2•jonbaer•31m ago•0 comments

Show HN: Vibe code a pelican riding your city

https://advent-of-slop.quesma.com/day/5/
2•stared•34m ago•0 comments

The Great Anthropic Freakout Fakeout

https://www.nytimes.com/2026/12/05/opinion/anthropic-ai-panic-research.html
4•anon373839•35m ago•1 comments

Claude Code Translated My WordPress Site 4x Faster with This Plugin [video]

https://www.youtube.com/watch?v=VNM0kJfGZBc
2•leoloso•37m ago•0 comments

Show HN: Pqcheck – Is your infrastructure post-quantum ready?

https://github.com/neoground/pqcheck
1•sarah-robiin•37m ago•0 comments