frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

DeepSeek's Sequel Set to Extend China's Reach in Open-Source A.I

https://www.nytimes.com/2026/04/24/business/china-ai-deepseek-open-source.html
1•Cider9986•22s ago•0 comments

Ubuntu 26.04 LTS Released

https://lwn.net/Articles/1069399/
1•lxst•1m ago•0 comments

AI Resume Reviewer

https://www.thehumancapitalhub.com/ai-resume-reviewer
1•bisit•1m ago•0 comments

Show HN: GitRails-Let agents call only the GitHub endpoints and params you allow

https://github.com/maxawzsinger/gitrails/blob/main/README.md
1•maxaw•5m ago•1 comments

The AI Science Separation

https://www.thewirechina.com/2026/04/19/the-ai-science-separation/
1•jackyli02•6m ago•0 comments

We're Using So Much AI That Computing Firepower Is Running Out

https://www.wsj.com/tech/ai/ai-is-using-so-much-energy-that-computing-firepower-is-running-out-15...
1•ryan_j_naughton•8m ago•0 comments

Grok Voice Think Fast 1.0

https://x.ai/news/grok-voice-think-fast-1
1•deadalus•9m ago•0 comments

Oracle's Deluge of AI Debt Pushes Wall Street to the Limit

https://www.wsj.com/tech/ai/oracle-ai-demand-debt-04977749
1•ryan_j_naughton•10m ago•0 comments

Canonical Releases Ubuntu 26.04 LTS Resolute Raccoon

https://canonical.com/blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon
1•ggraphilia•11m ago•0 comments

Unlimited access to Reddit, and Twitter, access anything with supermcp

https://webmatrices.com/supermcp
1•bishwasbh•12m ago•0 comments

Anthropic tested removing Claude Code from the Pro plan

https://arstechnica.com/ai/2026/04/anthropic-tested-removing-claude-code-from-the-pro-plan/
2•celadevra_•16m ago•0 comments

S&box – Game engine built on Source 2 and .NET from creators of Garry's Mod

https://github.com/Facepunch/sbox-public/
1•vyrotek•21m ago•0 comments

Share X 20.0

https://getsharex.com/changelog#v20.0.0
1•pentagrama•23m ago•0 comments

Habitual coffee intake shapes the microbiome, modifies physiology and cognition

https://www.nature.com/articles/s41467-026-71264-8
12•scubakid•35m ago•0 comments

New Blood CEO Dave Oshry on Indie Strategy: "We Pump New Blood into Old Genres"

https://80.lv/articles/new-blood-ceo-dave-oshry-on-indie-strategy-we-pump-new-blood-into-old-genres
4•doppp•36m ago•0 comments

Shelter Aid

https://apps.apple.com/us/app/shelter-aid/id6762375916
2•starboyy•40m ago•1 comments

Mullvad to add feature that forces all iOS traffic through the VPN tunnel

https://cyberinsider.com/mullvad-to-add-feature-that-forces-all-ios-traffic-through-the-vpn-tunnel/
3•Cider9986•41m ago•1 comments

AI run store in SF can't stop ordering candies and paying women less.

https://sfist.com/2026/04/21/ai-store-manager-paying-female-employees-less-cant-stop-ordering-can...
4•fragmede•43m ago•0 comments

Study shows removing exposure to plastic from our food chain yields quick result

https://www.abc.net.au/news/2026-04-23/plastic-packaging-body-chemicals-study/106594194
2•xbmcuser•44m ago•0 comments

The Surveillance Accountability Act

https://www.surveillanceaccountability.com
2•Cider9986•46m ago•0 comments

French police look at claim of sensor tampering to win weather bets

https://www.theguardian.com/world/2026/apr/23/hairdryer-or-lighter-french-police-look-at-claim-of...
2•geox•47m ago•0 comments

Control Workspace Intelligence for generative AI features [AI defaults on]

https://knowledge.workspace.google.com/admin/gemini/control-workspace-intelligence
1•lancewiggs•49m ago•0 comments

Ask HN: What are the best developer tools built around Markdown?

1•dhruv3006•50m ago•0 comments

Mahjong: A Visual Guide

https://themahjong.guide/
1•iamwil•59m ago•1 comments

DeepSeek V4 is out. the best open-source on coding. here's the breakdown

3•Alisaqqt•59m ago•1 comments

Ada's Technical Books in Seattle will close

https://www.seattletimes.com/entertainment/books/capitol-hill-bookstore-adas-will-close-fuel-coff...
2•so-cal-schemer•1h ago•1 comments

Free API for real-time Australian emergency data (27 feeds, all 8 states)

https://emergencyapi.com
1•JackDemps•1h ago•0 comments

The Toroidal Momentum Engine: A Workable Version of Infinity

https://zenodo.org/records/19572243
4•SCAQTony•1h ago•0 comments

Mini ML Blog

https://mni-ml.github.io/
2•SoulMan•1h ago•0 comments

Nvidia's B200 costs around $6,400 to produce

https://epoch.ai/data-insights/b200-cost-breakdown
3•KnuthIsGod•1h ago•0 comments