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!

Enough with the hype about underwhelming or speculative cancer treatments

https://greyenlightenment.com/2026/06/15/enough-with-the-hype-about-underwhelming-or-speculative-...
1•paulpauper•7m ago•0 comments

Show HN: Locket – Robust feature-level access control for LLMs

https://github.com/ssg-research/locket
1•ttttonyhe•7m ago•0 comments

Axiomata – A Codex of Becoming

https://v1tali.com/axiomata-codex-of-becoming-nine-paces
1•vitali•12m ago•0 comments

Show HN: Deep-XPIA – Prompt injection benchmark for multi-agent AI systems

https://freyzo.github.io/deep-xpia/
1•leo_agent•14m ago•0 comments

Trump administration considers $300B fund for Iran if deal is upheld

https://www.ft.com/content/088c14d3-f708-44d8-a306-7996aa5211de
3•JumpCrisscross•14m ago•0 comments

Show HN: A GPT to get a free URL for AI generated content

https://chatgpt.com/g/g-6a2aad2c30988191abd95b3940008e90-boomurl-publish-a-website
1•dorongrinstein•15m ago•1 comments

Omnigent: A Meta-Harness to Combine, Control and Share Your Agents

https://www.databricks.com/blog/introducing-omnigent-meta-harness-combine-control-and-share-your-...
2•lobo_tuerto•17m ago•0 comments

An Overview of Modern AI Robotics from First Principles

https://interlatent.com/blog/interlatent-modern-ai-robotics-first-principles
1•o4c•21m ago•0 comments

Probably just end up embarrassing myself, but here is Sidekick

https://github.com/geoffmcc/sidekick
2•geoffmcc•26m ago•0 comments

ZZüy: A Lesson in Perseverance

https://martinrue.com/zzuy-a-lesson-in-perseverance/
1•afisxisto•26m ago•0 comments

HPE offers VMware refugees a year off the meter

https://www.theregister.com/virtualization/2026/06/15/hpe-offers-vmware-refugees-a-year-off-the-m...
1•SanjayMehta•29m ago•0 comments

Generate per-session LoRA adapters in <1s for inference tasks

https://pypi.org/project/tessera-hypernetwork/
1•Facingsouth•36m ago•0 comments

OrangeCheck, sybil resistance from a Bitcoin signature

https://ochk.io/
1•bixvolt•42m ago•0 comments

How do I prevent myself from being a crank in areas I know little about?

https://philosophy.stackexchange.com/questions/139075/how-do-i-prevent-myself-from-being-a-crank-...
3•azeemba•44m ago•2 comments

The Anthropic Fable Farce by Ben Goertzel

https://bengoertzel.substack.com/p/the-anthropic-fable-farce
3•Prof_Sigmund•44m ago•0 comments

Show HN: Open-source CLI to see your AI coding token usage and compare it

https://github.com/amiinwani/whoburnedmore.com
1•arhaam•51m ago•0 comments

Show HN: Bing Maps Leads Extractor

https://chromewebstore.google.com/detail/maps-leads-extractor/omnjmmkpblpilcjbdadamlaajdndjnnj
1•qwikhost•55m ago•0 comments

Text-to-Lottie: Generate Lottie animations with coding agents

https://github.com/diffusionstudio/lottie
3•vantareed•55m ago•0 comments

AI hasn't killed our bootstrapped enterprise software company yet

https://www.nocobase.com/en/blog/future-of-software-programmers-revenue-doubled
1•mountainview•58m ago•0 comments

Claude subscription changes for Conductor delayed indefinitely

https://www.conductor.build/blog/claude-subscription-update
1•bjhess•1h ago•0 comments

America has lost its war with Iran

https://www.independent.co.uk/voices/editorials/america-trump-iran-ceasefire-agreement-war-hormuz...
17•testing22321•1h ago•2 comments

The Effect of the Great Recession on U.S. Fertility

https://read.dukeupress.edu/demography/article/doi/10.1215/00703370-12664250/411033/The-Effect-of...
3•paulpauper•1h ago•0 comments

Tyler Cowen Is the Tycho Brahe of Economics

https://3quarksdaily.com/3quarksdaily/2026/06/tyler-cowen-is-the-tycho-brahe-of-economics.html
1•paulpauper•1h ago•1 comments

Zen and the Art of Machine Learning Research

https://blog.jxmo.io/p/zen-and-the-art-of-machine-learning
3•jxmorris12•1h ago•0 comments

The White House Is Ratcheting Up Its War Against Anthropic

https://www.theatlantic.com/technology/2026/06/trump-anthropic-export-control-ai-race/687555/
5•Filligree•1h ago•0 comments

Ask HN: Does anyone have their PMs shipping code to customer-facing products?

4•reluctant_dev•1h ago•1 comments

Earn lending-market yield on internet dollars

https://www.askthehive.ai/
1•prismoonprismo•1h ago•0 comments

Ratchets: a Rust tool that polices style violations with a flexible budget

https://github.com/imbue-ai/ratchets
3•nvader•1h ago•0 comments

Ai2 ACE2S – Simulate atmospheric variability – Scale of days to centuries

https://huggingface.co/allenai/ACE2S-SHiELD-plus
2•embedding-shape•1h ago•0 comments

Amazon Announces Multibillion-Dollar Data Center in Missouri

https://www.narracomm.com/amazon-announces-multibillion-dollar-data-center-in-missouri/
13•thelonelyborg•1h ago•5 comments