frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Tetris Is Hard with Just One Piece Type

https://arxiv.org/abs/2603.09958
1•bmc7505•3m ago•0 comments

Why Big Nations Lose Small Wars: The Politics of Asymmetric Conflict

https://www.researchgate.net/publication/259380603_Why_Big_Nations_Lose_Small_Wars_The_Politics_o...
2•rramadass•9m ago•0 comments

I Stopped Writing Prompts and Started Writing Systems

https://medium.com/@robert.shane.kirkpatrick/i-stopped-writing-prompts-and-started-writing-system...
1•totalvaluegroup•11m ago•0 comments

Fossil Version 2.28

https://fossil-scm.org/home/info/version-2.28
1•chungy•11m ago•1 comments

The United States Could Lose the Gulf

https://foreignpolicy.com/2026/03/05/iran-israel-united-states-war-gulf-countries-alliances/
2•ParentiSoundSys•13m ago•0 comments

Oil hits $100 a barrel despite deal to release record amount of reserves

https://www.bbc.com/news/articles/c1w5141vx53o
2•tartoran•13m ago•0 comments

Procreate Dreams 2

https://procreate.com/dreams
1•twalichiewicz•17m ago•0 comments

Iran-Backed Hackers Claim Wiper Attack on Medtech Firm Stryker

https://krebsonsecurity.com/2026/03/iran-backed-hackers-claim-wiper-attack-on-medtech-firm-stryker/
2•2bluesc•19m ago•0 comments

'Web Kit' vs. 'WebKit' (2006)

https://daringfireball.net/2006/05/web_kit_vs_webkit
3•dddddaviddddd•27m ago•0 comments

I Built an Agent First Micro SaaS

https://mochipdf.com
1•cbolgiano•27m ago•2 comments

Show HN: Live Kaiwa – real-time Japanese conversation support

https://livekaiwa.com/login
1•diasks2•29m ago•0 comments

Pentagon seeks system to ensure AI models work as planned

https://www.militarytimes.com/industry/techwatch/2026/03/12/pentagon-seeks-system-to-ensure-ai-mo...
2•KnuthIsGod•31m ago•0 comments

US Marine Corps pursues thermal cloaks to hide troops from heat sensors

https://www.militarytimes.com/industry/techwatch/2026/03/11/us-marine-corps-pursues-thermal-cloak...
2•KnuthIsGod•32m ago•2 comments

The Handwriting of Simone Weil

https://registerofaliens.substack.com/p/on-the-handwriting-of-simone-weil
1•rmdmphilosopher•32m ago•0 comments

Ask HN: Im looking for indie hackers or small teams to test AI analytics tool

1•m2fauzaan•38m ago•0 comments

Ig Nobel Prize flees US for Switzerland over safety concerns

https://www.theregister.com/2026/03/11/ig_nobel_prize_leaves_us/
4•KnuthIsGod•39m ago•1 comments

Big Data on the Cheapest MacBook

https://duckdb.org/2026/03/11/big-data-on-the-cheapest-macbook
1•nateb2022•41m ago•1 comments

Why corporate lawyers always win

https://www.economist.com/business/2026/03/11/why-corporate-lawyers-always-win
2•petethomas•45m ago•0 comments

New hack model "went scuba"

https://a-z.md/posts/jn7bwaz3b1vpj7t98pw3kmgw4s82r58v
1•andytratt•45m ago•0 comments

Carnian Pluvial Episode

https://en.wikipedia.org/wiki/Carnian_pluvial_episode
1•mooreds•45m ago•0 comments

Age-Verification in Operating Systems and the Internet

https://wiki.alcidesfonseca.com/blog/age-verification-in-operating-systems-and-the-internet/
2•musha68k•46m ago•0 comments

Nvidia Nemotron 3 Super

https://research.nvidia.com/labs/nemotron/Nemotron-3-Super/
2•aheilbut•48m ago•0 comments

Rebuilding the EraMix Financial Union stack for speed

1•EraMixOfficial•50m ago•0 comments

CBS: We visited "ground zero" for hospice fraud: Los Angeles, California

https://www.cbsnews.com/projects/2026/hospice-fraud/
1•donsupreme•54m ago•0 comments

A better agent skills manager

https://github.com/reorx/skm
2•novoreorx•1h ago•1 comments

Device 32620: Stimme Speech/Morse generator

https://www.cryptomuseum.com/spy/owvl/32620/index.htm
1•jacquesm•1h ago•0 comments

Atlassian slashes 10% of workforce to 'self-fund' investments in AI

https://www.cnbc.com/2026/03/11/atlassian-slashes-10percent-of-workforce-to-self-fund-investments...
4•elsewhen•1h ago•1 comments

Prioritizing energy intelligence for sustainable growth

https://www.technologyreview.com/2026/03/10/1133972/prioritizing-energy-intelligence-for-sustaina...
1•Brajeshwar•1h ago•0 comments

Protective Dome for AI Agents – MCP Security Gateway

https://github.com/Orellius/mcpdome
1•Orellius•1h ago•1 comments

Laminae – Multi-Agent Cognitive Pipeline

https://github.com/Orellius/Laminae
2•Orellius•1h ago•0 comments