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: A 3D Mac window switcher with browser tab support and search

https://betterwindowswitcher.com
1•julien_dev•1m ago•0 comments

Show HN: Real Jev decisions on a simulated robot fleet – $24.57 per million

https://github.com/robokrunch/jev-physical-ai
1•chorylee•1m ago•0 comments

One-Electron Universe

https://en.wikipedia.org/wiki/One-electron_universe
1•pella•1m ago•0 comments

Reviving Old Places in Macedonia with AI

https://www.gocemitevski.com/reviving-old-places-in-macedonia-with-ai/
1•sepokroce•3m ago•0 comments

Show HN: Simple Mass Downloader – Bulk Download Files in Chrome

https://www.simplemassdownloader.com
1•yiyiyayo•3m ago•0 comments

Emacs: Spacious-Padding Version 0.9.0

https://protesilaos.com/codelog/2026-09-20-emacs-spacious-padding-0-9-0/
1•dalvrosa•4m ago•0 comments

What's been going on in w64devkit the past year

https://nullprogram.com/blog/2026/09/20/
1•dalvrosa•4m ago•0 comments

I embedded 200k+ open source icons in the browser

https://iconsdb.app
2•haxzie•4m ago•1 comments

ChatGPT now knows what you do on other websites via ad collector

https://www.buchodi.com/chatgpt-now-knows-what-you-do-on-other-websites-via-ad-collector/
3•lmbbuchodi•11m ago•0 comments

Singapore Is Paying People to Put Down Their Phones and Read Books

https://www.gadgetreview.com/singapore-is-paying-people-to-put-down-their-phones-and-read-books
2•geox•11m ago•0 comments

Pirate Face Rescues LLM Models from Deletion

https://pirateface.co/
1•skepticalgenius•13m ago•0 comments

Ask HN: What is one plausible path to 'AI extinction'?

1•GodelNumbering•13m ago•1 comments

Karen Nikoghosyan Is Building AI Operating Layers for Multichannel Commerce

1•darius88•14m ago•0 comments

There's a high chance of devices being sold with GrapheneOS preinstalled in 2027

https://grapheneos.social/@GrapheneOS/117299954135808210
1•Cider9986•15m ago•0 comments

Show HN: Chesslm – Tiny chess model trained on Stockfish

https://github.com/skorotkiewicz/chesslm
1•modinfo•16m ago•0 comments

First AI bot appears on Starcraft Ladder, wins against progamer

https://tl.net/forum/brood-war/646339-bot-on-ladder
1•maloga•16m ago•1 comments

Show HN: Quick commerce coverage map of India

https://darkstoremap.in/
1•ghoshbishakh•20m ago•0 comments

Sherline Tools Is Going Out of Business

https://toolguyd.com/sherline-tools-shutting-down-usa-production/
16•tliltocatl•20m ago•0 comments

Psiphon

https://forge.psiphon.ca/en/what-is-psiphon
1•Bluestein•21m ago•0 comments

If You Knew God Exists, Wouldn't You Become a Priest?

https://joecmarshall.com/posts/if-you-knew-god-exists-wouldnt-you-become-a-priest/
10•webappsecperson•23m ago•11 comments

Show HN: Wattai.dev – Free Decision Intelligence

https://wattai.dev/
2•namanvyas•24m ago•0 comments

Real attackers don't think in bug bounty scopes

https://rushter.com/blog/security-bb-and-scopes/
2•f311a•25m ago•0 comments

Show HN: I got Claude Code and Codex to argue about my code

https://github.com/chen-985211/cleancode
1•Tide-N•25m ago•0 comments

RubyLLM: What's New in 2.0

https://rubyllm.com/whats-new-in-2-0/
1•ksec•25m ago•0 comments

Over 10 years later, Gabe Newell's advice to devs still holds up

https://www.pcgamer.com/gaming-industry/game-development/over-10-years-later-gabe-newells-advice-...
1•Brajeshwar•28m ago•0 comments

Google knows you – does AI?

https://www.scanora.ai
1•davinciyaner•28m ago•0 comments

Show HN: A competition for small neural networks that play strategy games

https://tinybrains.dev
2•codetiger•30m ago•1 comments

Bible Fascinator

https://designs.drawingwithdata.com/fascinator
1•trekhleb•30m ago•0 comments

I Designed a Microprocessor

https://www.youtube.com/watch?v=q6ytRHaTEXI
1•i2pi•31m ago•1 comments

Show HN: Jev Slop Filter for X and LinkedIn

https://github.com/adamnroman/slop-filter
1•adamisnotroman•32m ago•0 comments