frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Flint's Paper Batteries Are Here: Now in Production, Now Available

https://finance.yahoo.com/news/flints-paper-batteries-now-production-180000802.html
1•rguiscard•4m ago•0 comments

Show HN: Qventory – inventory and sales and fulfillment tracking for resellers

https://qventory.com/
1•noakmilo90•8m ago•0 comments

Launching the Handmade Software Foundation

https://handmade.network/blog/p/9106-welcome_to_2026%2521#30623
1•DeathArrow•9m ago•0 comments

Music of the Streets of Rage Series

https://en.wikipedia.org/wiki/Music_of_the_Streets_of_Rage_series
1•nomilk•11m ago•0 comments

Domain-Availability-MCP

https://twitter.com/fullstacktard/status/2012780828414341314
1•fullstacktard•14m ago•0 comments

Tell HN: BunnyPeople

1•fuzzfactor•15m ago•0 comments

Ask HN: Why is Google tolerating impersonation of Gmail from it's own domain?

3•dvh•16m ago•1 comments

Iconify: Library of Open Source Icons

https://icon-sets.iconify.design/
1•sea-gold•17m ago•1 comments

Manual Transmission Thwarts Thieves' Attempt to Steal a Woman's (Kia) Soul

https://www.jalopnik.com/2077298/manual-transmission-stops-kia-soul-thieves/
2•t23•19m ago•1 comments

Show HN: GibRAM an in-memory ephemeral GraphRAG runtime for retrieval

https://github.com/gibram-io/gibram
1•ktyptorio•23m ago•0 comments

IBM T560 LCD

http://www.ibmfiles.com/pages/t560.htm
2•starkparker•23m ago•0 comments

Why are websites trying to talk at me?

1•LeratoAustini•28m ago•2 comments

Zencoder: Zenflow

https://zencoder.ai/lp/zenflow-enterprise
1•handfuloflight•30m ago•0 comments

Show HN: I Replaced Vector DBs with Optimal Transport (Open Source Project))

https://github.com/merchantmoh-debug/Remember-Me-AI
1•MohskiBroskiAI•33m ago•0 comments

Brooks on the System 360 and adoption of the 8 bit byte [video]

https://www.youtube.com/watch?v=9oOCrAePJMs
1•ggeorgovassilis•33m ago•0 comments

AgentCraft: RTS for AI Agents

https://www.getagentcraft.com/
1•doppp•34m ago•0 comments

Show HN: Travel itinerary manager (passion project)

https://tripwaffle.com
1•bufferout•41m ago•0 comments

Archaeologists find the oldest-known shell beads (2021)

https://leakeyfoundation.org/archaeologists-find-the-oldest-known-shell-beads/
1•thunderbong•42m ago•0 comments

Spirit of ThinkPad

https://thinknextdesign.com/home.html
2•__patchbit__•43m ago•0 comments

Reverse Engineering the ESP32-C3 Wi-Fi Drivers for Static Worst-Case Analysis

https://arxiv.org/abs/2501.17684
1•timschmidt•43m ago•0 comments

FragCut – AI that turns gaming streams into viral TikTok/Shorts clips in minutes

https://fragcut.io
1•jacobgor502•46m ago•2 comments

Chat, Save, and Blog

https://chatblogr.com
1•vijayst•1h ago•0 comments

Aesthetics Bento microsites with built-in analytics

1•sendnow•1h ago•0 comments

What the future holds for AI – from the people shaping it

https://www.nature.com/immersive/d41586-025-03701-5/index.html
1•XzetaU8•1h ago•0 comments

Disenshittify or die! How hackers can seize the means of computation (2024)

https://www.youtube.com/watch?v=4EmstuO0Em8
1•undeveloper•1h ago•1 comments

'He's an Idiot': Musk and Ryanair's O'Leary Trade Insults in Starlink Wi-Fi Row

https://www.politico.eu/article/elon-musk-ryanair-chief-michael-oleary-trade-insults-starlink-spa...
3•JumpCrisscross•1h ago•0 comments

How to Use Your Claude Code Pro Subscription in Docker

https://foldr.uk/claude-code-pro-subscription-docker/
1•johnny_reilly•1h ago•0 comments

Verbalized Sampling: How to Mitigate Mode Collapse and Unlock LLM Diversity

https://arxiv.org/abs/2510.01171
1•ycombiredd•1h ago•0 comments

Trump 25% tariff on European allies until Denmark sells Greenland to US

https://www.theguardian.com/us-news/2026/jan/17/trump-tariff-european-countries-greenland
8•KnuthIsGod•1h ago•2 comments

SFTP Still Delivers the Goods

https://folio.co/blog/sftp-still-delivers-the-goods
1•whatrocks•1h ago•0 comments