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!

MCP Server for ERPNext / Frappe ERP – MCP Apps

https://github.com/Casys-AI/mcp-erpnext
1•ErwanLP•54s ago•0 comments

Ask HN: Why is a "War ON Iran" being labelled as a "War IN Iran"?

1•vfclists•5m ago•0 comments

Lex: Streaming service for reading (6M+ titles)

https://lex-books.com
1•davidmainayar•7m ago•1 comments

The Alignment Illusion

https://cameronwestland.com/the-alignment-illusion/
1•camwest•7m ago•0 comments

Autoresearch Is Reward Function Design

https://cameronwestland.com/autoresearch-is-reward-function-design/
1•camwest•7m ago•0 comments

Show HN: Got fed up missing cool AI events: built tool to match them to my goals

https://mustgo.ai
1•yauyauyauhen•8m ago•0 comments

The Corporate Bullshit Receptivity Scale

https://disassociated.com/talk-talk-cannot-circle-back-walk-walk/
2•bawis•9m ago•0 comments

LiteLLM Has Been Compromised, Do Not Update

https://twitter.com/hnykda/status/2036414330267193815
1•hnlurker22•9m ago•1 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
1•nickakre•12m ago•0 comments

'Space Archaeology' Reveals First Dynamic History of a Giant Spiral Galaxy

https://www.cfa.harvard.edu/news/space-archaeology-reveals-first-dynamic-history-giant-spiral-galaxy
1•gmays•13m ago•0 comments

Show HN: Is Claude Dumb Today?

https://claudedumb.com/
1•ymaws•16m ago•0 comments

Show HN: Does anyone still read books?

https://MyBookList.club
2•BigBalli•18m ago•1 comments

Emotional Eating Elucidated in Fruitfly

https://www.nature.com/articles/s41586-026-10306-z
1•vi_sextus_vi•22m ago•1 comments

Bee Dancing Is Better with the Right Audience

https://today.ucsd.edu/story/bee-dancing-is-better-with-the-right-audience
1•gmays•22m ago•0 comments

GitHub expands AI bug detection, but recent outages hit Actions, API, and Git

https://www.bleepingcomputer.com/news/security/github-adds-ai-powered-bug-detection-to-expand-sec...
1•k_roy•30m ago•0 comments

Textual

https://textual.textualize.io/
2•bjornroberg•30m ago•1 comments

Designed to Be Specialists

https://aworkinglibrary.com/writing/designed-to-be-specialists
1•herbertl•32m ago•0 comments

GitKingdom – GitHub repos in a procedurally generated fantasy world

https://www.gitkingdom.com/
1•robotreport•33m ago•0 comments

A Year with the Framework 13

https://kevquirk.com/a-year-with-the-framework-13
3•herbertl•34m ago•0 comments

Quiver – diff viewing hasn't changed for decades, we still squint on lines

https://ataraxy-labs.github.io/quiver/
1•abha2008•36m ago•0 comments

Quimonit

https://quimonit.com/
1•ccastigl•37m ago•0 comments

Show HN: MacParakeet – Local voice dictation and transcription for Mac (GPL-3.0)

https://github.com/moona3k/macparakeet
1•moona3k•40m ago•0 comments

A Way to Call a Satellite

https://www.callasatellite.dev
1•UPLIFTINGs•43m ago•0 comments

Per-Tool Sandboxing for AI Agents: Why One Sandbox Is Not Enough

https://multikernel.io/2026/03/25/sandlock-mcp-per-tool-sandboxing/
1•wang_cong•51m ago•0 comments

beanstalkd

https://beanstalkd.github.io/
2•tambourine_man•54m ago•0 comments

Composer 2 Technical Report [pdf]

https://cursor.com/resources/Composer2.pdf
1•handfuloflight•55m ago•0 comments

Pfizer Lyme disease vaccine fails trial, company to seek FDA approval

https://www.cnbc.com/2026/03/23/pfizer-lyme-disease-vaccine-trial-fda-approval.html
1•gmays•55m ago•1 comments

Extendr.dev – new vibecoding tool for Chrome extensions

https://www.extendr.dev/
1•hrsinghvi•58m ago•1 comments

CP-SAT finite-state machine that provisions infrastructure without any LLM calls

https://circuitlm.vercel.app/,https:/github.com/toxzak-svg/circuit_lm
1•zwmaronek•59m ago•0 comments

Modern and Antique Technologies Reveal a Dynamic Cosmos

https://www.quantamagazine.org/how-modern-and-antique-technologies-reveal-a-dynamic-cosmos-20260202/
1•zeristor•1h ago•1 comments