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!

Financial Times Phillips Machine VR App

https://apps.apple.com/us/app/ft-money-machine/id6569262299
1•curio_Pol_curio•1m ago•0 comments

Scientists invented a fake disease. AI told people it was real

https://www.nature.com/articles/d41586-026-01100-y
1•DrewADesign•19m ago•1 comments

Show HN: We scored 495 real SoC 2 audit reports – nearly all got a D or F

https://soc2quality.trenta.ai
1•rituraj_tiwari•24m ago•0 comments

Trinity-Large-Thinking: Scaling an Open Source Frontier Agent

https://www.arcee.ai/blog/trinity-large-thinking
1•somethingsome•25m ago•0 comments

Soul.md – A Meditation on AI Identity

https://soul.md/
1•znpy•26m ago•0 comments

GoScrapy: New Fast Web Scraping with Go (Built for Concurrency)

https://github.com/tech-engine/goscrapy
1•stonework•28m ago•0 comments

Mexico's President Sheinbaum Decrees Universal Healthcare for 120M

https://thedeepdive.ca/mexicos-president-sheinbaum-decrees-universal-healthcare-for-120-million/
2•testing22321•28m ago•0 comments

Show HN: AnimTOON – AI that animates SVGs with 3-4x fewer tokens than OmniLottie

https://github.com/srk0102/AnimTOON
2•srk0102•28m ago•0 comments

Open Source Alternative to Claude Managed Agents

https://agents.opencomputer.dev
3•iacguy•30m ago•1 comments

Bespoke OLAP: Using AI to Synthesize Workload-Specific DBMS Engines from Scratch

https://ucbskyadrs.github.io/blog/bespoke-olap/
1•matt_d•31m ago•0 comments

You know what I haven't ever seen? a good blogpost from an AI

1•wrqvrwvq•32m ago•0 comments

PC Repair OKC

https://okcitpros.com/
1•Veritaco•33m ago•1 comments

Automatic U.S. military draft registration planned by December, filing shows

https://www.cnbc.com/2026/04/09/military-draft-registration-automatic-iran-war.html
4•MilnerRoute•36m ago•1 comments

What makes search hard in production

https://www.searchplex.net/blog/what-makes-search-hard
1•eskimo87•38m ago•0 comments

Understanding Agents: Code Coverage for Coding Agents

https://blog.asymmetric.re/understanding-agents-code-coverage-for-coding-agents/
2•matt_d•38m ago•0 comments

Train Your Judgement

https://emilkowal.ski/ui/train-your-judgement
2•cristinacordova•40m ago•0 comments

Workflows in Your ADE

https://reliantlabs.io/
4•steeling1•44m ago•2 comments

SMS delivery is not deterministic: routing defines behavior

https://blog.bridgexapi.io/you-dont-control-sms-delivery-you-control-routing
1•Bridgexapi•47m ago•6 comments

Tell HN: I will pay money for a YouTube front end that stops the "Rec Roulette"

1•frmersdog•50m ago•0 comments

Show HN: I made a skill to tell AI on how to use human as Dobby

https://github.com/LittleLittleCloud/Dobby
2•BigBigMiao•54m ago•0 comments

How bonds ended the Civil War - and led to the rise of J.P. Morgan

https://www.barrons.com/articles/investment-banking-jpmorgan-cooke-economy-04f59e12
3•hhs•56m ago•0 comments

1.9B year old bedrock will soon house first permanent nuclear waste site

https://apnews.com/article/finland-nuclear-waste-disposal-storage-d1a110758e2bd087a9cee43f56f1a05b
3•voxadam•56m ago•0 comments

Ask HN: What would you do with an AI model capable of continuous learning?

4•jballanc•58m ago•2 comments

Layovers Fyi

https://www.layovers.fyi/
4•gsdv•1h ago•1 comments

Any Open Source projects in need of documentation writer?

9•tree666•1h ago•7 comments

Ghost Jobs Tracker

https://ghostjobs.vercel.app/
3•ddmichael•1h ago•1 comments

Prototyping turned into an excuse for not thinking

https://unsung.aresluna.org/prototyping-turned-into-an-excuse-for-not-thinking/
2•latexr•1h ago•0 comments

Ask HN: What should I re-skill in?

3•TbobbyZ•1h ago•2 comments

The internet is deciding what to forget

https://www.ft.com/content/e1c3fd8e-b7c7-4582-a63b-f7b1a2f2bc93
3•hhs•1h ago•0 comments

Cyphernetes – Cypher for Kubernetes

https://cyphernet.es/docs/language
2•fatliverfreddy•1h ago•0 comments