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!

What end-to-end AI systems mean for the future of automated driving

https://www.aptiv.com/en/insights/article/q-a-from-modular-software-to-end-to-end-ai
1•ohjeez•2m ago•0 comments

Duran Duran drummer Roger Taylor, 66, leaves band due to tinnitus

https://www.theguardian.com/music/2026/nov/12/duran-duran-drummer-roger-taylor-leaves-band-due-to...
2•bookofjoe•4m ago•0 comments

LLMs can learn (some) multi-step reasoning on filler tokens

https://www.lesswrong.com/posts/EHkwCDAmhWPAWEziM/llms-can-learn-some-multi-step-reasoning-on-fil...
1•gmays•5m ago•0 comments

Shard Manager

https://www.uber.com/us/en/blog/introducing-shard-manager/
1•qainsights•7m ago•0 comments

Inception.ai winding down their Mercury API service

1•UncleOxidant•8m ago•0 comments

MS Defender, Intune and Purview possibly affected in outage. Any confirmation?

1•ArcHound•8m ago•2 comments

350k SAS passengers may have had details leaked in major data breach

https://www.thelocal.com/20261110/350000-sas-passengers-may-have-had-details-leaked-in-major-data...
1•vinni2•9m ago•0 comments

The broken windows theory of coding agents

https://www.manager.dev/newsletter/the-broken-windows-theory-of-coding-agents
1•bucket2015•10m ago•0 comments

Show HN: HPC-Hub, an app for working with HPC clusters

https://github.com/bavanDA/hpc-hub
1•amiria703•10m ago•0 comments

DTCC Connects with Solana

https://www.dtcc.com/press-releases/2026/dtcc-tokenization-service-to-connect-with-solana
1•thatxliner•11m ago•0 comments

W(hat the) FX: Infrastructure re-use on the biggest GitHub action attack?

https://research.veryserious.systems/w-hat-the-fx-infrastructure-re-use-on-the-biggest-github-act...
2•hiddenvulkcan•15m ago•0 comments

Reverse Engineering My Coway Air Purifier to Ditch the Cloud

https://scottjg.com/posts/2026-11-11-reverse-engineering-my-coway-air-purifier-to-ditch-the-cloud/
3•scottjg•16m ago•0 comments

SpaceX and Tesla could announce merger deal as soon as December

https://www.cnbc.com/video/2026/11/12/spacex-and-tesla-could-announce-merger-deal-as-soon-as-dece...
1•gok•17m ago•0 comments

OpenAI wants agents to tell websites where you are

https://joost.blog/agents-sharing-user-signals/
2•gmays•18m ago•0 comments

Show HN: Neon and Mubit: an agent that cuts its own frontier-model tokens by 73%

https://neon.com/blog/mubit-neon-ai-gateway
1•aperi•18m ago•0 comments

Librem 5 v2: A phone that frees us all

https://puri.sm/librem-5-v2-crowdfunding-campaign/
2•weightedreply•19m ago•0 comments

Kalshi (YC W19) in talks to raise money at $65B valuation

https://www.reuters.com/business/finance/kalshi-talks-raise-money-65-billion-valuation-bloomberg-...
3•colesantiago•19m ago•0 comments

Show HN: Postman but a free 5MB iOS and Mac client with iCloud synch

https://www.pokharel.net/2026/11/12/api-man-a-native-ios-mac-postman-like-client-without-electron/
1•anurodhp•20m ago•0 comments

Chinese frontier AI models carry the fingerprint of export-controlled GPUs

https://unemploymentlabs.com/checkpoint-forensics
12•firloop•23m ago•0 comments

YouQR

https://youqr.co
1•emailrashee•23m ago•0 comments

Fast-Compose – An Instant Runtime for Jetpack Compose Code

https://github.com/fast-compose/fast-compose
1•TheWiggles•24m ago•0 comments

Nvidia Faced Pressure to Boost Its AI Backstop Before Huang Exit

https://www.bloomberg.com/news/articles/2026-11-12/nvidia-faced-pressure-to-boost-its-ai-backstop...
4•mfiguiere•26m ago•0 comments

Top Chinese AI labs built their newest models on Nvidia's Blackwell chips

https://twitter.com/willdepue/status/2120992457630326841
10•leroy_masochist•29m ago•3 comments

Moving 15 years out of Harvest

https://eddish.net/blog/leaving-harvest
2•laodevdawg•31m ago•1 comments

Swift System 1.9.0 Released

https://forums.swift.org/t/swift-system-1-9-0-released/90705
3•hacker_nows•35m ago•1 comments

Why Is It So Hard to Teach A.I. Agents to Behave? Researchers Have a Theory

https://www.nytimes.com/2026/11/11/magazine/ai-behavior-incorrigible.html
1•Anon84•35m ago•0 comments

Big Balk

https://azhdarchid.com/big-balk/
1•TMWNN•36m ago•0 comments

White House discussing Lutnick's future as commerce secretary, sources say

https://www.reuters.com/world/china/republican-senator-urges-ban-chinese-chipmaker-cxmt-us-market...
3•anigbrowl•38m ago•0 comments

League of Legends Draft Recommender System (open-source itero.gg)

https://github.com/angelotc/lol-companion
1•telecomhacker•39m ago•1 comments

Zelenskyy: Significant Disruptions to Starshield's Operations

https://twitter.com/ZelenskyyUa/status/2120804738031616095
8•doener•39m ago•1 comments