frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Settlers 2 and Blok for Amiga in 2025

https://www.epsilonsworld.com/2025/11/settlers-2-and-blok-for-amiga-in-2025.html
1•doener•55s ago•0 comments

Peter Thiel's fund offloads $100M Nvidia stake

https://www.reuters.com/business/media-telecom/peter-thiels-fund-offloaded-nvidia-stake-third-qua...
1•kerim-ca•7m ago•0 comments

The Texas Rangers' Relentless High-Tech Search for the Last Mystic Camper

https://www.texasmonthly.com/news-politics/texas-rangers-high-tech-flood-victim-search-camp-mystic/
2•bikenaga•7m ago•0 comments

Major N.L. Canada healthcare report contains errors likely generated by A.I

https://theindependent.ca/news/lji/major-n-l-healthcare-report-contains-errors-likely-generated-b...
1•neilv•7m ago•0 comments

How not to handle a corporate kiss-and-tell book

https://www.economist.com/culture/2025/03/25/how-not-to-handle-a-corporate-kiss-and-tell-book
1•DyslexicAtheist•8m ago•0 comments

The Doge Succession Drama Elon Musk Left Behind

https://www.politico.com/news/magazine/2025/11/21/doge-elon-musk-succession-00641110
2•_tk_•8m ago•0 comments

Fran Sans Font

https://emilysneddon.com/fran-sans-essay
2•jayliew•14m ago•0 comments

Association of screen time with ADHD symptoms: mediating role of brain structure

https://www.nature.com/articles/s41398-025-03672-1
1•bookofjoe•17m ago•0 comments

IRS crackdown on popular crypto 'tax cheat' begins with 2025 filing year

https://www.cnbc.com/2025/11/22/new-irs-requirements-crypto-tax-cheat-risky-this-year-filing.html
2•gslin•18m ago•0 comments

A Startup's Bid to Dim the Sun

https://www.newyorker.com/news/the-lede/a-startups-bid-to-dim-the-sun
1•mitchbob•18m ago•1 comments

Agents need good developer experience too

https://modal.com/blog/agents-devex
1•birdculture•19m ago•0 comments

What is GNU Emacs and do you want a copy? (1986)

https://www.gnu.org/bulletins/bull1.html
1•lioeters•20m ago•0 comments

Matcha Tennis – Book any tennis court in 1-click

https://matchatennis.com/
1•ziyzhu•20m ago•0 comments

Floods cut global rice yields

https://phys.org/news/2025-11-severe-global-rice-yields-threatening.html
1•measurablefunc•21m ago•0 comments

The Energy Sector's AI‑Native Management System

https://getinterface.ai/
1•salkahfi•25m ago•0 comments

Ask HN: Is America in Recession?

2•register•26m ago•1 comments

Theia and Earth Were Neighbors

https://www.mps.mpg.de/theia-and-earth-were-neighbors
1•geox•26m ago•0 comments

Windows ARM64 Internals: Deconstructing Pointer Authentication

https://www.preludesecurity.com/blog/windows-arm64-internals-deconstructing-pointer-authentication
3•todsacerdoti•27m ago•0 comments

Yale Journal on Regulation: Navigating the Web of Agency Authority with AI

https://pacificlegal.org/yale-journal-on-regulation-navigating-the-web-of-agency-authority-with-ai/
1•garrettgarcia•29m ago•1 comments

I Made a Google Wallet Pass for my Github profile

https://annanay.dev/github-developer-pass/
1•annanay•30m ago•0 comments

Task Based Management [video]

https://www.youtube.com/watch?v=55XUt5Ve6Mk
1•saltysalt•31m ago•0 comments

Designing an Open Source Micro-Manipulator

https://hackaday.com/2025/09/04/designing-an-open-source-micro-manipulator/
1•bariumbitmap•32m ago•0 comments

'If I had colon cancer, I could grow my own tumor, and see which drug kills it'

https://english.elpais.com/science-tech/2025-11-07/hans-clevers-biomedical-scientist-if-i-had-col...
3•PaulHoule•32m ago•1 comments

Export messages and Legacy (Duo) call history

https://support.google.com/meet/answer/16176860?hl=en&co=GENIE.Platform%3DAndroid
1•bariumbitmap•33m ago•0 comments

Tech Is Opt-In

https://coppolaemilio.com/entries/tech-is-opt-in/
1•coppolaemilio•33m ago•0 comments

People test Nano Banana with PDF paper to whiteboard. I did the exact opposite

https://quickchat.ai/post/nano-banana-pro-whiteboard-to-research-paper
1•piotrgrudzien•40m ago•0 comments

Isochrone Curve

https://www.youtube.com/watch?v=eBc827pwKf0
2•n1b0m•41m ago•0 comments

Show HN: Christmas Neovim Theme

https://github.com/ChaseRensberger/christmas.nvim
1•ChaseRensberger•42m ago•0 comments

America's WW2 Combat Drone That Bombed the Japanese – The TDR-1 [video]

https://www.youtube.com/watch?v=9K5v3Jwz89w
1•ForHackernews•45m ago•0 comments

HPC Is Not Just Riding the Coattails of AI

https://www.nextplatform.com/2025/11/21/hpc-is-not-just-riding-the-coattails-of-ai/
3•rbanffy•45m ago•0 comments