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!

Suprise bill from my Object Storage provider

https://jeena.net/suprice-bill-object-storage
1•jeena•3m ago•0 comments

The Mixer Rule Is Dead, Long Live Outlawing Mixers

https://www.therage.co/mixer-rule-sterlingov-tornado-cash/
1•iamnothere•3m ago•0 comments

Show HN: Free SEO Chrome Extension

https://seobandwagon.com/seo-chrome-extension
1•keepkalm•4m ago•0 comments

Hylki: A modern email client for the Linux desktop

https://hylki.app/
3•jethronethro•5m ago•0 comments

Account Bans on Reddit

https://orchidfiles.com/account-bans-on-reddit/
3•theorchid•7m ago•3 comments

Alexa Can't Control the AUX Input on Amazon Echo Speakers Anymore

https://www.theverge.com/tech/1006103/amazon-alexa-aux-voice-commands
1•m463•11m ago•0 comments

ReaperMapper: an interactive U.S. mortality map using CDC data

https://reapermapper.com/
1•Alienative•13m ago•0 comments

Weird Web October

https://weirdweboctober.website/
1•rdmuser•16m ago•0 comments

Show HN: AgentOS – Run your coding agents from your phone, self-hosted

https://github.com/saadnvd1/agent-os
1•saadn92•17m ago•0 comments

Photocraft: An open-source, clean-room reimplementation of Adobe Photoshop

https://getartcraft.com/apps/photocraft
1•tough•24m ago•2 comments

GNU/Linux Has Risen in France Since the Order to Adopt It (In Public Services)

https://techrights.org/n/2026/10/06/GNU_Linux_Has_Risen_in_France_Since_the_Order_to_Adopt_GNU_Li...
1•amcclure•27m ago•0 comments

'Complete devastation': How NSF gutted its social sciences research

https://www.science.org/content/article/complete-devastation-how-nsf-gutted-its-social-sciences-r...
1•sbulaev•28m ago•0 comments

Hexagon

https://antieau.github.io/2026/10/05/hexagon.html
1•pfdietz•31m ago•1 comments

Mapping the Shared Infrastructure Behind Pedophile Sites

https://www.gpatricksec.com/hidden-in-plain-site/
1•sdko•33m ago•0 comments

Scott Manley – Moon to Mars [video]

https://www.youtube.com/watch?v=dmVn2DmlmgU
1•ls612•39m ago•0 comments

Stanford scientists found a way to regrow cartilage and stop arthritis

https://www.sciencedaily.com/releases/2026/10/261005011249.htm
20•kelnos•41m ago•2 comments

South Korea says AI agents appear to have been used to hack the country's banks

https://www.reuters.com/world/south-koreas-lee-says-ai-appears-have-been-used-bank-hacks-2026-10-06/
9•thoughtpeddler•45m ago•1 comments

Toronto-based VPN provider plans to quit Canada over lawful-access bill

https://www.theglobeandmail.com/politics/article-psiphon-vpn-provider-plans-to-quit-canada-over-l...
4•rdmuser•47m ago•0 comments

OpenAI releases 722 math manuscripts

https://github.com/openai/math/blob/main/CONTENTS.md
7•jumploops•53m ago•0 comments

OpenAI just dropped 700 preprints of mathematical proofs and counterexamples

https://github.com/openai/math/tree/main/preprints
37•tootie•59m ago•2 comments

Show HN: Bees – Run agentic teams on your own computer (open source)

https://bees.bot/
1•ravikapoor101•59m ago•0 comments

Show HN: Jrs – A Cargo-like build tool for Java, written in Rust

https://getjrs.dev
2•piotrwittchen•59m ago•0 comments

The Si Wealth Transfer Is Becoming the Largest Rug Pull in History

https://medium.com/@vektormemory/the-si-wealth-transfer-is-becoming-the-largest-rug-pull-in-histo...
1•vektormemory•1h ago•4 comments

David Bushell's Valley Fold website is now live

https://valleyfold.co.uk/
2•yhavin•1h ago•0 comments

AnyPS5: Port PS5 binaries to PC without emulation (87% system libraries mapped)

https://github.com/boykopovar/AnyPS5
20•Fe2O3•1h ago•3 comments

Building a Better Working Dog

https://www.science.org/content/article/can-science-build-better-working-dog
3•bucket2015•1h ago•0 comments

Do you support shutting down air travel for 2 months to control Russia plague?

4•johndavid9991•1h ago•7 comments

State of Devs 2026 survey results: developers are exhausted

https://2026.stateofdevs.com/en-US/
27•sgdesign•1h ago•7 comments

Microsite that tracks the NAV of SK Square

https://sk-square-observatory.alexdwu13.chatgpt.site/
3•alexdwu1•1h ago•0 comments

Where do we draw the line on AI in court filings?

https://lexifina.com/blog/where-to-draw-the-line-on-ai-in-court-filings
2•alansaber•1h ago•0 comments