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!

And built an autonomous SoC that refuses to act on what it can't prove

https://www.domesoc.com/
1•MohammadKhubaib•1m ago•0 comments

Jamkernelp2p: A sovereign P2P microkernel for ultimate lightness and control

https://github.com/jamkernel/jamkernelp2p
1•jamkernelp2p•3m ago•0 comments

Claude Science, an AI workbench for scientists

https://www.anthropic.com/news/claude-science-ai-workbench
1•mgh2•3m ago•0 comments

CTA-Pipelining: A Latency-Oriented Spatial Scaling Method for Multi-GPU Systems

https://arxiv.org/abs/2607.07862
1•matt_d•4m ago•0 comments

Rendering Fonts Quickly on the GPU

https://www.outercloud.dev/blogs/webgpu-font-rendering/
1•outercloud•4m ago•1 comments

Why South America Is So Good at Football

https://atlasdevelopment.substack.com/p/why-south-america-is-so-good-at-football
1•gmays•5m ago•0 comments

Microsoft Promises to Fix Search with Major Windows 11 Overhau

https://www.windowscentral.com/microsoft/windows-11/microsoft-announces-major-windows-11-search-o...
1•m463•7m ago•0 comments

AI Isn't Human. Stop Talking About It Like It Is

https://www.thefp.com/p/artificial-intelligence-not-human
1•arkhiver•20m ago•1 comments

Wither ACM? Publish and Perish?

https://cacm.acm.org/opinion/wither-acm-publish-and-perish/
1•jwstarr•21m ago•0 comments

A high-performance JavaScript/TypeScript compiler toolchain written in Zig

https://yuku.fyi/
1•flashblaze•22m ago•0 comments

The EU is not about to censor access to the internet

https://www.euronews.com/my-europe/2026/07/13/no-the-eu-is-not-about-to-censor-access-to-the-inte...
1•alexey-salmin•23m ago•1 comments

America's Other Elections Problem

https://www.economist.com/united-states/2026/07/13/americas-other-elections-problem
1•andsoitis•26m ago•0 comments

Informing Ourselves to Death (1990)

https://web.archive.org/web/20031029211844/http://www.frostbytes.com/~jimf/informing.html
1•Chronos52•29m ago•0 comments

Show HN: A MCP for Agents to reverse engineer binary code

https://github.com/morluto/rea
1•Mplto•30m ago•0 comments

Stop the GUARD Act and age verification laws worldwide

https://www.fsf.org/blogs/community/stop-the-guard-act
2•smitty1e•37m ago•0 comments

India halts WhatsApp global username feature over cyberfraud risk

https://restofworld.org/2026/india-whatsapp-username-ban-encryption-cyber-fraud/
1•colinprince•42m ago•0 comments

Agents.md – Dumb Human

https://gist.github.com/skorotkiewicz/2d4db4ceaf83aa54eb7f2066fdb961ff
2•modinfo•42m ago•0 comments

Our Amish Language

https://www.thedial.world/articles/news/amish-pennsylvania-dutch
3•NaOH•50m ago•0 comments

Geo‑historical platform reconstructing political entities from 3499 BCE to today

https://www.phersu-atlas.com/
1•alphabetatango•51m ago•0 comments

Electric cars are taking off quickly in Latin America

https://ourworldindata.org/data-insights/electric-cars-are-taking-off-quickly-in-latin-america
3•alphabetatango•57m ago•0 comments

The value of AI is through the programmers

https://blazordata.net/ViewBlogPost/10
1•adefwebserver•57m ago•1 comments

GPT-5.6 Sol, Terra, and Luna: A Real-World Benchmark for Developers

https://qainsights.com/gpt-5-6-sol-terra-and-luna-a-real-world-benchmark-for-developers/
1•qainsights•59m ago•0 comments

DiScoFormer: One transformer for density and score, across distributions

https://huggingface.co/blog/allenai/discoformer
1•gmays•1h ago•0 comments

Every man a VC - On public deep-tech startups

https://msolom.substack.com/p/every-man-a-vc
1•msolomentsev•1h ago•0 comments

Japan develops a method to recover up to 90% of lithium from used EV batteries

https://tech.supercarblondie.com/japan-recovers-up-to-90-of-lithium-from-used-ev-batteries/
38•donohoe•1h ago•4 comments

An interesting statistical example of flaws in a voter impact index

https://statmodeling.stat.columbia.edu/2026/07/13/interesting-statistical-example-of-flaws-in-a-v...
2•zaik•1h ago•0 comments

The Six-Layer Memory Pipeline Behind Our Local-First Agentic Memory in 2026

https://medium.com/@vektormemory/the-six-layer-memory-pipeline-behind-our-local-first-agentic-mem...
1•vektormemory•1h ago•0 comments

7 Private Browsing Myths — Live Scanned: What Incognito Mode Doesn't Hide

https://mysysinfo.com/blog/private-browsing-myths
3•hackstar•1h ago•0 comments

Meta Is Flooding the Market with Smartglasses. Privacy Advocates Are Up in Arms

https://www.wsj.com/tech/ai/meta-is-flooding-the-market-with-smartglasses-privacy-advocates-are-u...
6•fortran77•1h ago•2 comments

Ask HN: What hardware hobby would you recommend to a software engineer?

2•merek•1h ago•4 comments