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!

Is SVG the Final Frontier?

https://svg.new/blog/is-svg-the-final-frontier
2•swazzy•1m ago•0 comments

120k USD conpute credits from various providers

1•chrisvee•2m ago•1 comments

A Deep Dive into Tinygrad AI Compiler

https://tinyblog-phi.vercel.app/tinygrad
1•ppadjin123•12m ago•0 comments

Strait of Hormuz Gameplay Demo [video]

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

Lawsuit over who owns top ranked coding bootcamp Codesmith

https://michaelnovati.substack.com/p/codesmith-in-court-the-hard-parts
1•michaelnovati•17m ago•0 comments

Apple Stops Accepting Orders for Some Mac Mini and Mac Studio Models

https://www.macrumors.com/2026/04/11/some-mac-mini-mac-studio-currently-unavailable/
1•Brajeshwar•20m ago•0 comments

Salesforce and ServiceNow are squaring off in the battle for the helpdesk

https://www.theregister.com/2026/04/11/salesforce_vs_servicenow_itsm_battle/
2•Brajeshwar•20m ago•1 comments

Show HN: Bullseye2D – A Dart library for cross-platform 2D games

https://github.com/bullseye2d/bullseye2d
2•joemanaco•21m ago•0 comments

Apple update looks like Czech mate for locked-out iPhone user

https://www.theregister.com/2026/04/12/ios_passcode_bug/
8•OuterVale•22m ago•0 comments

Phyphox – Physical Experiments Using a Smartphone

https://phyphox.org/
2•_Microft•22m ago•1 comments

Asha Bhosle: The sound of Bollywood dies aged 92

https://www.bbc.com/news/articles/c6ppd0qdp1do
1•Brajeshwar•26m ago•1 comments

Joborigo – Job application tracker with ghost detection and employer API

https://www.joborigo.com/
1•sasanin•27m ago•1 comments

On Division by Three

https://leahneukirchen.org/blog/archive/2023/11.html
1•jruohonen•27m ago•0 comments

Show HN: Food Decoder

https://github.com/adityaprasad-sudo/FoodDecoder
1•PotatoAditya•29m ago•1 comments

Angular Compiler in Rust – Experimental and 10x faster

https://voidzero.dev/posts/oxc-angular-compiler
1•AbuAssar•31m ago•0 comments

Podman Kube Generator – Web UI to Generate Kubernetes YAML and Quadlet Configs

https://github.com/Garfieldttt/podman-kube-generator
2•Garfieldttt•34m ago•0 comments

System Integrity Protection: The misunderstood (macos) setting

https://khronokernel.com/macos/2022/12/09/SIP.html
1•gurjeet•34m ago•0 comments

Can AI Think?

https://medium.com/@henry.ponco/can-ai-ever-truly-think-92d62e509862
1•ponco•35m ago•2 comments

Is Math Big or Small?

https://chessapig.github.io/talks/Big-Small
1•robinhouston•35m ago•0 comments

Show HN: Attempting to Design a Minimalistic Website

https://soham-saha.github.io/
1•omegacombinator•36m ago•0 comments

Sorting with Singeli

https://github.com/mlochbaum/SingeliSort
1•tosh•38m ago•0 comments

How to Read Headphone Measurements (2020)

https://crinacle.com/2020/04/08/graphs-101-how-to-read-headphone-measurements/
1•tosh•39m ago•0 comments

Ask HN: How do you retain what you learn from podcasts?

2•LifeOfKP•43m ago•2 comments

A/B/U Review System

https://openresearchinstitute.org/onboarding/A_B_U.html
1•patcon•44m ago•0 comments

ORAC-NT – A 3D Tactical Bridge for NASA Kepler/Tess Star Stability

https://orac-nt.streamlit.app/
2•DREDREG•44m ago•1 comments

How the "AI Loser" may end up winning

https://adlrocha.substack.com/p/adlrocha-how-the-ai-loser-may-end
1•adlrocha•46m ago•0 comments

The big math changes to small math by same change and solve in Matlab BVP4C

https://www.nature.com/articles/s41598-025-18302-5
1•internet_points•49m ago•0 comments

Build nice terminal UI with Bubble Tea

https://www.prskavec.net/post/bubbletea/
2•swq115•51m ago•0 comments

Ask HN: How is everyone dealing with the increase of code reviews?

2•Lethalman•55m ago•0 comments

The API Key Is Dead: A Blueprint for Agent Identity in the Age of MCP

https://kontext.security/content/oauth-for-mcp-agents
1•mc-serious•55m ago•0 comments