frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•11mo 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!

Tell HN: Reddit now demands to know why you won't use their app

2•josephcsible•14m ago•3 comments

The disappearing and unappreciated art of audible alerts [video]

https://www.youtube.com/watch?v=nXdVG45wveo
1•fortran77•17m ago•0 comments

Show HN: A better alternative to CLI and MCP for local tools

https://github.com/stefanwebb/named-pipes
1•stefanwebb•18m ago•0 comments

Molecular adaptations and engineering of extremophiles for synthetic biology

https://www.frontiersin.org/journals/microbiology/articles/10.3389/fmicb.2026.1754802/full
1•PaulHoule•21m ago•0 comments

Ukraine renews attacks on Russian energy sites – what has been hit?

https://www.reuters.com/business/energy/ukraine-renews-attacks-russian-energy-sites-what-has-been...
1•YZF•22m ago•1 comments

Is the Nutrition of an Egg the Same as in the Chick?

https://drjohnson.com/is-the-nutrition-of-an-egg-the-same-as-in-the-chick/
1•debo_•22m ago•0 comments

ReceiptBot – Stop Node.js AI agents from reading .env and burning your budget

https://github.com/redshadow912/ReceiptBot
1•LocalhostLegend•24m ago•1 comments

Show HN: Narrate – Generate multi-voice long-form audio with one command

https://github.com/zackham/narrate
2•zackham•33m ago•0 comments

Writing should have a soul and its own Claude Skill

https://getlago.substack.com/p/open-sourcing-my-writing-claude-skill
3•AnhTho_FR•34m ago•0 comments

Show HN: Yet another AI image ediotr and generator

https://imageditor.net/
1•shawnta•38m ago•0 comments

Ask HN: What was the limiting factor in growth of demand for fiber during 2000s?

1•AbstractH24•41m ago•4 comments

All elementary functions from a single binary operator

https://arxiv.org/abs/2603.21852
4•pizza•49m ago•1 comments

Moat: Run AI agents in isolated containers

https://majorcontext.com/moat/
2•cjbarber•53m ago•1 comments

State of Homelab 2026

https://mrlokans.work/posts/state-of-homelab-2026/
4•swq115•56m ago•0 comments

Level 3 Thinking: A Unified Theory of Self-Improvement

https://www.nateliason.com/blog/level-3-thinking
1•theorchid•58m ago•0 comments

OpenMAIC – Open Multi-Agent Interactive Classroom

https://open.maic.chat/
2•9woc•1h ago•0 comments

The Social Battery Paper: Gradient, Constraint, and the Extraction of Work In

https://www.academia.edu/165644285/The_Social_Battery_Paper_Gradient_Constraint_and_the_Extractio...
2•WilliamGriffin•1h ago•0 comments

Sabiondo: Compilador semántico universal – compilamos intención no sintaxis

https://github.com/K3iSoft/Sabiondo
1•K3iSoft•1h ago•0 comments

The Business Case for Vanilla JavaScript

https://lewiscampbell.tech/blog/250430.html
3•JSR_FDED•1h ago•0 comments

Internet down for you? X, GitHub, etc.

1•nvk•1h ago•1 comments

Trump will begin blockade of Strait of Hormuz within hours

https://www.dailymail.co.uk/news/article-15727239/Donald-Trump-Strait-Hormuz-Blockade.html
1•Bender•1h ago•6 comments

GraphAI – dual-graph $0 knowledge system with AI-native binary format

https://github.com/nehloo/graphAI
1•nehloo•1h ago•0 comments

Human Language Is the Best Programming Language

https://vanja.io/human-language-best-programming-language/
1•vpetreski•1h ago•0 comments

Externalization in LLM Agents

https://arxiv.org/abs/2604.08224
2•Anon84•1h ago•0 comments

Private Post-Training and Inference with TEEs for Frontier Models

https://www.workshoplabs.ai/blog/private-post-training
1•transpute•1h ago•0 comments

Unitree's H1 robot hits 10m/s sprint speed, getting close to 100M world record

https://www.globaltimes.cn/page/202604/1358712.shtml
2•teleforce•1h ago•0 comments

Show HN: A virtual office where you watch your AI agents code

https://github.com/ashxco/piedpiper
1•ashxsf•1h ago•0 comments

In search for a more precise cursor

https://unsung.aresluna.org/in-search-for-a-more-precise-cursor/
2•Doubleguitars•1h ago•0 comments

Cloudflare Agents week preview: What to expect

https://www.youtube.com/watch?v=nCrG-ixRoGg
1•emot•1h ago•0 comments

Unusual Behavior in Geosynchronous Orbit by Chinese Satellites, 2016–2025

https://www.csis.org/analysis/new-rhythms-geo-quantitative-analysis-unusual-behavior-geosynchrono...
2•mooreds•1h ago•0 comments