frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Regulators monitor Anthropic's Mythos for banking risks

https://www.reuters.com/legal/government/regulators-monitor-anthropics-mythos-banking-risks-2026-...
3•01-_-•5m ago•0 comments

Your "AI" Pull Request was rejected and you don't know why

https://blog.codepipes.com/llms/your-pr-was-rejected.html
1•kkapelon•7m ago•0 comments

Figma's woes compound with Claude Design

https://martinalderson.com/posts/figmas-woes-compound-with-claude-design/
2•martinald•9m ago•0 comments

SerpApi Claude Code Skill

https://github.com/serpapi/serpapi-claude-plugin
2•jamescollinssp•10m ago•0 comments

A Proposed Framework for Evaluating AI Agent Skills

https://tessl.io/blog/a-proposed-framework-for-evaluating-skills-research-eng-blog/
1•popey•12m ago•0 comments

Ask HN: How to become better at software "engineering"?

1•luplex•23m ago•2 comments

The Victorian sex abuse scandal that shocked Britain and changed the law

https://theconversation.com/the-victorian-sex-abuse-scandal-that-shocked-britain-and-changed-the-...
1•zeristor•24m ago•0 comments

Signal Shot: verify the Signal protocol and its Rust implementation using Lean

https://leodemoura.github.io/blog/2026-4-20-signal-shot-the-platform-is-ready/
1•u1hcw9nx•24m ago•0 comments

List of Heaviest People

https://en.wikipedia.org/wiki/List_of_heaviest_people
2•keepamovin•25m ago•0 comments

Show HN: Radio4000

https://radio4000.com
1•ngc6677•31m ago•0 comments

M 7.4 earthquake – 100 km ENE of Miyako, Japan

https://earthquake.usgs.gov/earthquakes/eventpage/us6000sri7/
2•Someone•31m ago•0 comments

We Built a Metric Simulator

https://simpleobservability.com/blog/metric-simulator
1•khazit•35m ago•0 comments

NSA is using Anthropic's Mythos despite blacklist

https://www.reuters.com/business/us-security-agency-is-using-anthropics-mythos-despite-blacklist-...
16•Palmik•35m ago•4 comments

The first open-weights Large Transaction Model, EWE-1

https://sistemalabs.com/blog/introducing-ewe-1
1•0xideas•49m ago•0 comments

What Makes Docs Beautiful?

https://passo.uno/what-makes-docs-beautiful/
1•theletterf•49m ago•0 comments

How I made a budget tracker for my gf because she kept complaining about Sheets

https://edm115.dev/blog/2026/02/15/how-i-made-spendly/
1•EDM115•51m ago•0 comments

Show HN: MyKana, a Japanese learning app I built for my own study

https://mykana.app/
1•zerratar•54m ago•0 comments

ACM CCS 2026 Between-Cycle Transparency Report

https://github.com/ACM-CCS-2026/Transparency-Report
1•jruohonen•56m ago•0 comments

Bun v1.3.13

https://bun.com/blog/bun-v1.3.13
3•Erenay09•1h ago•0 comments

ShannonBase is database agent platform

https://medium.com/@shannon.data.tech/shannonbase-is-databas-agent-platform-2e914ccfc45e
1•shannon-data-ai•1h ago•1 comments

Architecture is all you need (How to think about agentic design)

https://x.com/compose/articles/edit/2046045421844455424
1•Kushal6070•1h ago•0 comments

Kindle E-Readers Released in 2012 or Earlier

https://www.amazon.com/gp/help/customer/display.html?nodeId=TRXsYxKJr4WTdsVs2P
1•bandwitch•1h ago•1 comments

The AI-Ready Product Data Framework for B2B Commerce

https://virtocommerce.com/assets/ai-ready-pim-framework
2•lizzieyo•1h ago•0 comments

How (and why) we rewrote our production C++ front end infrastructure in Rust

https://blog.nearlyfreespeech.net/2026/04/17/how-and-why-we-rewrote-our-production-c-frontend-inf...
1•birdculture•1h ago•0 comments

Show HN: Busybee - a FIFO build queue for multi-agent dev workflows

https://github.com/githappens/busybee
1•playfultones•1h ago•1 comments

WhatsApp Plus is rolling out new premium features

https://wabetainfo.com/whatsapp-plus-is-rolling-out-new-premium-features/
1•fwn•1h ago•0 comments

DuckDB Now Speaks Dutch

https://duckdb.org/2026/04/01/duckdb-now-speaks-dutch
2•saeedesmaili•1h ago•1 comments

Understanding the Go Runtime: The Network Poller

https://internals-for-interns.com/posts/go-netpoller/
1•valyala•1h ago•0 comments

Salesforce Stopped Paying for Salesforcefoundation.org

1•october8140•1h ago•1 comments

Smartphones, Online Music Streaming, and Traffic Fatalities

https://www.nber.org/papers/w34866
2•nixass•1h ago•0 comments