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!

Show HN: Continuity – project state your AI sessions can't silently contradict

https://github.com/vikcena01/ai-continuity-plugin
1•vikcena01•2m ago•0 comments

Show HN: Free Tournament Bracket Maker and Generator

https://snapbracket.com/
1•littlelight•3m ago•0 comments

macOS 27 is a lifesaver for killing leftover AI Agent processes

https://9to5mac.com/2026/06/09/macos-27-golden-gate-makes-it-clear-when-apps-are-sneakily-running...
1•pierreneter•3m ago•1 comments

The Provenance Tax: How LLM Watermarking Changes AI Agent Behavior

https://www.lasso.security/blog/the-provenance-tax-understanding-the-impact-of-llm-watermarking-o...
1•fourfire•5m ago•0 comments

Waymo in Singapore

https://waymo.com/waymo-in-singapore/
2•ramanan•9m ago•0 comments

The Concerns Surrounding Rapid Rise of AI and What We Should Do About It

https://medium.com/@f9121212/this-article-addresses-the-concerns-surrounding-the-rapid-rise-of-ai...
1•ortrich•11m ago•0 comments

Age of Beyond [video]

https://www.youtube.com/watch?v=vp7xoPeWzEw
1•suopspaces•13m ago•0 comments

Natural General Intelligence

https://naturalgeneralintelligence.ai/
2•jbegley•18m ago•0 comments

Youper is shutting down – What kills mental health AI?

https://www.youper.ai/notice
2•batman2019•35m ago•0 comments

Show HN: Free GitHub Action that scans PR diffs for malicious code, not quality

https://github.com/marketplace/actions/vigil-pr-scanner
2•arsalsajjad•38m ago•0 comments

The Bitterest Lesson

https://typesafe.ai/blog/bitterest-lesson
2•emersonmacro•43m ago•0 comments

Google announces new experimental "CC" AI agent for families

https://arstechnica.com/google/2026/09/google-announces-new-experimental-cc-ai-agent-for-families/
2•geoffbp•44m ago•0 comments

Show HN: Green Screen Remover – free in-browser chroma key, nothing uploaded

https://greenscreenremover.net/
2•wangqing333•50m ago•0 comments

I built the fastest PHP webserver in the world

https://qbixserver.com
2•EGreg•51m ago•0 comments

Data

2•justavalidman•51m ago•0 comments

Running OpenBAO on Kubernetes with a CloudNativePG PostgreSQL Back End

https://www.cncf.io/blog/2026/09/16/running-openbao-on-kubernetes-with-a-cloudnativepg-postgresql...
2•geoffbp•51m ago•0 comments

Show HN: Concat: the open-source CapCut replacement.

https://github.com/jub0t/Concat
2•calanus•54m ago•0 comments

Pre-Greek: The lost language hidden within Ancient Greek

https://linguisticdiscovery.com/posts/pre-greek/
3•axiologist•54m ago•0 comments

Code Scans

https://devin.ai/blog/introducing-code-scans
4•geoffbp•58m ago•0 comments

Warez: The Infrastructure and Aesthetics of Piracy Culture

https://archive.org/details/b904a8eb-9c98-4bb1-bf25-3cb9d075b157
5•succinct_ideas•1h ago•0 comments

Show HN: Jinx – a link shortener you host free on GitHub Pages

https://jinx.fyi
2•SubmersibleZoom•1h ago•0 comments

Amfly: A deterministic simulation of six fruit fly connectomes in a reward loop

https://github.com/aravpanwar/amfly
2•Teever•1h ago•0 comments

Alternatives to milk are losing moomentum

https://www.economist.com/business/2026/09/17/alternatives-to-milk-are-losing-moomentum
2•andsoitis•1h ago•1 comments

Show HN: An open Add/Search evaluation framework for agent memory

https://agentmemoryleaderboard.ai/
2•IreneAI•1h ago•0 comments

A DeepSeek engineer just said the thing I've been feeling about AI for months

https://www.reddit.com/r/artificial/comments/1wi2zm9/a_deepseek_engineer_just_said_the_thing_ive_...
2•0xcrypto•1h ago•0 comments

Be alert: targeted attacks on prominent Rustaceans

https://blog.rust-lang.org/2026/09/17/targeted-attacks/
3•vinhnx•1h ago•0 comments

Hacking OpenAI

https://www.hacktron.ai/blog/hacking-openai
39•Handy-Man•1h ago•9 comments

Great Tea Race of 1866

https://en.wikipedia.org/wiki/Great_Tea_Race_of_1866
4•thunderbong•1h ago•0 comments

Cache-Tax

https://github.com/karanb192/claude-code-mods/tree/main/plugins/cache-tax
2•handfuloflight•1h ago•0 comments

Mova: Movement Analytics Platform

https://omid.al/projects/mova/
2•Quarterlyreport•1h ago•0 comments