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!

'Near-autonomous' AI agents attack Taiwan's nuclear safety agency

https://www.theregister.com/security/2026/08/12/near-autonomous-ai-agents-attack-taiwans-nuclear-...
1•Bender•6m ago•0 comments

Tailscale says deeply buried 16-year-old SQLite bug caused last year's outages

https://www.theregister.com/databases/2026/08/12/tailscale-says-deeply-buried-16-year-old-sqlite-...
1•Bender•7m ago•0 comments

Terabytes of credentials leaked in supply-chain attack

https://arstechnica.com/security/2026/08/terabytes-of-credentials-leaked-in-massive-supply-chain-...
1•Bender•8m ago•0 comments

When Will AI Take My Job?

https://www.whenwillaitakemyjob.ai/
3•yetanothermonk•9m ago•1 comments

Why your Amazon order confirmation emails have become so unhelpfu

https://www.theverge.com/ai-artificial-intelligence/977733/amazon-order-emails-google-gmail-ai-ag...
1•cebert•10m ago•1 comments

Show HN: ZKE – A macOS-style multi-cluster Kubernetes console over QUIC

https://github.com/togettoyou/zke
1•togettoyou•17m ago•0 comments

The next AI interface may not be a chatbot

https://hajek.no/posts/2026/next-ai-interface-not-chatbot
1•kamphey•19m ago•0 comments

Doable: Self-hosted AI app builder for teams

https://github.com/doable-me/Doable
1•indigodaddy•23m ago•1 comments

Production-ready detection and response queries for osquery

https://github.com/chainguard-dev/osquery-defense-kit
1•ankitg12•24m ago•0 comments

Why must a socialist also be woke?

https://www.ft.com/content/1b0a8ed9-d55a-49ea-971e-39e01e588632
3•alephnerd•29m ago•1 comments

Looks like Claude is down anyone else

2•codehead•29m ago•2 comments

Could Rocky's musical language in Project Hail Mary work

https://www.scientificamerican.com/podcast/episode/could-rockys-musical-language-in-project-hail-...
1•pavel_lishin•31m ago•0 comments

Trump to allow use of cyber tools to target transnational criminal organizations

https://www.reuters.com/world/trump-signed-memo-allow-use-cyber-tools-target-transnational-crimin...
1•oogali•32m ago•1 comments

Show HN: Meowdoku – a no-signup daily cat logic puzzle

https://meowdoku.pro/
1•trywork2026•35m ago•0 comments

Reporter gets $850000 in raid suit

https://marionrecord.com/direct/reporter_gets_850_000_in_raid_suit+5747zorn+5265706f7274657220676...
1•rdmuser•40m ago•2 comments

Agentic Proof-Oriented Programming

https://fstar-lang.org/tutorial/book/agentic/agentic.html#agentic-proof-oriented-programming
1•woggy•42m ago•0 comments

AI Hype Is Running into Reality

https://www.nytimes.com/2026/08/12/opinion/ai-bubble-economy-crash.html
3•ripe•45m ago•0 comments

Spherical Trigonometry

https://en.wikipedia.org/wiki/Spherical_trigonometry
1•kamaraju•52m ago•0 comments

Open Source libraries are evolving into reference implementations

https://jacobtomlinson.dev/posts/2026/open-source-libraries-are-evolving-into-reference-implement...
1•iyanuashiri•52m ago•0 comments

We put llms.txt on 83 websites. In 12 weeks OpenAI's crawler read it 7 times

https://www.ezy.ai/research/do-ai-bots-read-llms-txt
2•jamesmackie•54m ago•0 comments

Agentic Code Quality

https://twitter.com/addyosmani/status/2087427868343373919
2•samuel246•1h ago•0 comments

Steam Game Recommender, with a RAG System That Focuses on Explainability First

https://nextsteamgame.com
3•apeczon•1h ago•1 comments

Fideliya Pass

https://www.fideliyapass.com/
2•zakox•1h ago•0 comments

Anthropic in Talks to Buy World Model AI Startup Decart for $6B

https://www.bloomberg.com/news/articles/2026-08-13/anthropic-said-in-talks-to-buy-ai-startup-deca...
10•htrp•1h ago•0 comments

Video game lawyer says all her clients have anti-AI contracts

https://www.gamesradar.com/games/echoing-palworld-dev-video-game-lawyer-says-all-her-clients-have...
7•eatonphil•1h ago•0 comments

Lightweight Haar Wavelet Subband Pruning for LLMs

https://aclanthology.org/2026.findings-acl.798/
1•wslh•1h ago•0 comments

Why your LLM ignores what you asked for

https://github.com/CamjamPNG/skills
3•camjampng•1h ago•0 comments

Apple and AI: Siri the Early Years

https://thechipletter.substack.com/p/apple-and-ai-siri-the-early-years
1•chmaynard•1h ago•0 comments

Shot on iPhone. Now Prove It

https://blog.ppb1701.com/shot-on-iphone-now-prove-it
2•meetpateltech•1h ago•0 comments

When the Denominator Disappears: FDA's Next Evolution Should Be Causal Inference

https://www.realclearhealth.com/articles/2026/08/05/when_the_denominator_disappears_1198625.html
2•tmoertel•1h ago•0 comments