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!

A browser-native classic Visual Basic VB6 IDE

https://wieslawsoltes.github.io/VB6/
1•wiso•14s ago•0 comments

Resolving a problem concerning gear meshing in Babbage's Plan 27

http://blog.plan28.org/2026/10/resolving-problem-concerning-gear.html
1•jgrahamc•3m ago•0 comments

Show HN: DoubtBench – test whether Jev knows when humans disagree

https://github.com/trust123500/doubtbench
1•deeplstm•8m ago•0 comments

3Blue1Brown style video explainer videos works like charm

https://www.youtube.com/@AffordWhere
2•justconvert•8m ago•0 comments

Hedwig

https://www.hedwig-ai.com/
1•handfuloflight•9m ago•0 comments

Teens Who Can't Put Down TikTok and Instagram Are Losing Their Sense of Time

https://www.wsj.com/tech/personal-tech/tiktok-instgram-reels-youtube-shorts-future-time-perspecti...
1•pseudolus•10m ago•1 comments

Cosh – a Rust agent that never truncates context

https://www.co-sh.com
1•Zaluski•11m ago•1 comments

We Tested: If Cheap Flash LLMs Master SoC Context Discipline

https://meetcyber.net/smarter-log-triage-why-cheap-flash-llms-master-soc-context-discipline-fab53...
1•ls1911•12m ago•0 comments

Google Japan shows off conveyor-belt keyboard with keys that move to fingers

https://www.tomshardware.com/peripherals/keyboards/google-japan-shows-off-wild-conveyor-belt-keyb...
1•thunderbong•12m ago•0 comments

Secure Palm Vein Biometric Door Lock

https://www.instructables.com/Secure-Palm-Vein-Biometric-Door-Lock/
1•sudo_cowsay•13m ago•1 comments

Scientific Proof Earth Hosts Life

https://www.freelancer.com/projects/data-analysis/scientific-proof-earth-hosts-life
1•jruohonen•15m ago•0 comments

Day 2 of 30-day dogfood (NowMine – accountability log for devs)?

https://nowmine.site/
1•tjjune•15m ago•0 comments

A memory of Pangea (an early civic network, 1996-1999)

https://github.com/l3nz/pangea-2023/blob/main/Storia_en.md
1•kimi•19m ago•0 comments

A founder community to help you build better, faster

https://founder-nation.com
1•andrewbrowning•19m ago•1 comments

ChatGPT Maps: A new way to discover places

https://chatgpt.com/maps
1•4L3XV33•23m ago•1 comments

Explainer videos and product demos made by your AI agent. Free and open source

https://github.com/vincentsch/explainroo
1•thunderbong•24m ago•0 comments

Jumper – Cute Crab Robot

https://github.com/KingKongRobotics/jumper
1•o4c•25m ago•1 comments

Gemini 4 Argon Fails to Compete with ChatGPT and Claude

1•StizzurpXDD•26m ago•0 comments

Metafilter: 20+ years in, you think you know a site (2021)

https://www.carrietian.com/metafilter/
1•joebig•28m ago•0 comments

Agrimee – Create, sign and track freelance contracts in one place

https://www.agrimee.com
1•Hexs•29m ago•0 comments

The CISA Alert: Security Beyond Solitary Confinement

https://jnior.com/blog/the-cisa-alert-security-beyond-solitary-confinement/
5•bscloutier•30m ago•1 comments

Someone got Doom in an SQL database

https://arstechnica.com/gaming/2026/10/can-it-run-doom-sql-database-edition/
1•Velocifyer•31m ago•0 comments

Recoil Optimizer: Open-source zero-resident Windows latency tuning suite

https://recoil-optimizer.surge.sh
1•rodriginhojr•32m ago•0 comments

Micro Center requires photo ID and signed no-export pledge to buy gaming GPU

https://www.tomshardware.com/pc-components/gpus/micro-center-requires-photo-id-and-signed-no-expo...
2•aillia•32m ago•1 comments

What does it take to make an independent local newsroom work?

https://www.poynter.org/business-work/2026/independent-local-newsrooms-sustainability-business-mo...
2•thm•33m ago•0 comments

Writing Evals for Agentic Systems as a 4 Step Loop

https://sgaud.com/texts/ai-evals
1•SarthakGaud•33m ago•0 comments

Run Claude Code, Codex and Cursor side by side with your team

https://www.tryfridaywork.com
1•arundass•34m ago•0 comments

Paid to peer review: firms are paying researchers to assess manuscripts

https://www.nature.com/articles/d41586-026-02277-y
1•jruohonen•36m ago•0 comments

Software Engineering Is Dead. Long Live Product Engineering

https://newsletter.chainofthought.show/p/software-engineering-is-dead-long
25•cliffclimber•36m ago•2 comments

The Love Letters of Robert Browning and Elizabeth Barrett Browning

https://lithub.com/youve-got-mail-poring-over-the-love-letters-of-robert-browning-and-elizabeth-b...
1•ohjeez•37m ago•0 comments