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!

Solving the Fox Game

https://blog.sesse.net/blog/tech/2026-11-13-19-51_solving_the_fox_game.html
1•frostbyte7•15s ago•0 comments

Timon, an open-source AI workstation for coordinating agents

https://github.com/ai-timon/timon
1•Saucisse_dev•21s ago•0 comments

Tech Companies Are Trying to Shift the Concept of Privacy (Again)

https://www.eff.org/deeplinks/2026/11/tech-companies-are-trying-shift-entire-concept-privacy-again
2•gslin•6m ago•0 comments

Xraid: declustered parity RAID for zoned XFS

https://lwn.net/Articles/1107473/
2•Brajeshwar•8m ago•0 comments

Open-source AI without Jensen

https://www.interconnects.ai/p/open-source-ai-without-jensen
2•pr337h4m•8m ago•0 comments

Write the eval before the fix: building a WhatsApp transcriber with LLM-TDD

https://waldo.vanderlore.de/blog/whatyousay-privacy-voice-pipeline/
2•waldov•8m ago•0 comments

How to find meaning in large tech companies

https://www.seangoedecke.com/how-to-find-meaning-in-large-tech-companies/
2•Brajeshwar•12m ago•0 comments

An organ transplant controversy tests 'the dead donor rule'

https://www.npr.org/2026/11/14/nx-s1-6032604/organ-transplant-donor-dead-ethics
2•Brajeshwar•13m ago•0 comments

Agile Manifesto for Agents

https://debarshibasak.github.io/readables/blogs/agent-first-development
3•debarshri•13m ago•0 comments

Breitling Navitimer

https://en.wikipedia.org/wiki/Breitling_Navitimer
2•tosh•14m ago•0 comments

Air-Traffic Resilience Portfolio

https://tilt.now/tilt/MTwqny
2•drupeek•18m ago•0 comments

Transitive Policies for Agents: Agent Permissions Don't Automatically Compose

https://glthr.com/transitive-policies-for-ai-agents
2•glth•18m ago•0 comments

Why platform teams fail (and AI makes it worse)

https://willdady.com/why-platform-teams-fail
3•Groady•19m ago•0 comments

The Data Driven Illusion

https://dpereira.substack.com/p/the-data-driven-illusion
2•kiyanwang•24m ago•0 comments

A lament for the software industry (2020)

https://georgestocker.com/2020/09/14/ubm-and-a-lament-for-the-software-industry/
2•chmaynard•25m ago•0 comments

AWS Nitro Sandboxes: Hardware-Enforced Workload Isolation on Amazon EKS

https://aws.amazon.com/blogs/containers/aws-nitro-sandboxes-hardware-enforced-workload-isolation-...
3•csantanapr•25m ago•1 comments

Psychoanalyzing a Megalomaniac

https://www.theatlantic.com/ideas/2026/11/hitler-langer-cia-psychoanalysis/689434/
1•samizdis•27m ago•1 comments

Polymarket and Kalshi now host bets on measles and other US health crises

https://www.theguardian.com/world/2026/nov/14/measles-kalshi-polymarket-betting
2•geox•30m ago•0 comments

Advanced paper aircraft construction (1991)

https://archive.org/details/advancedpaperair0000morr
1•vismit2000•33m ago•0 comments

DocCrisp: Image to Editable Office Documents

https://doccrisp.com/
1•sealin•33m ago•1 comments

The girl who loved rape

https://qchu.substack.com/p/the-girl-who-loved-rape
1•eatitraw•35m ago•0 comments

Build Your Own AI Coding Agent Harness

https://vercel.com/academy/build-ai-agent-harness
1•ankitg12•42m ago•0 comments

Amazon's plan to own the product data and fight AI shopping agents

https://www.reuters.com/business/media-telecom/amazons-plan-own-worlds-product-data-fight-ai-shop...
2•martey•42m ago•0 comments

Show HN: Free GitHub Repo Security Scanner –finds leaked secrets,exposed configs

https://edgeiqlabs.com/free-repo-scanner/
1•edgeiqlabs•43m ago•0 comments

App like GitHub for your conversations with AI

http://ainiconva.com
3•charlesamumdemo•43m ago•1 comments

Do what must be done

1•alexhr•43m ago•0 comments

Literary Map of the U.S.

https://kottke.org/26/11/a-literary-map-of-the-united-states
1•bookofjoe•47m ago•0 comments

Show HN: Bright Lines – a fail-closed guard hook for Claude Code

https://github.com/LeriderTechnologies/bright-lines
1•lerider•49m ago•0 comments

Brave strips hidden Meta identifiers from Facebook and Instagram photos

https://cyberinsider.com/brave-removes-meta-tracking-identifiers-facebook-instagram-photos/
1•siddheshgunjal•52m ago•0 comments

Organized crime steals millions through an Apple gift card scam

https://appleinsider.com/articles/26/09/02/how-organized-crime-steals-millions-through-an-apple-g...
1•cisc•57m ago•0 comments