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!

God Mode UX: Why Your Next Interface Will Look More Like StarCraft Than Slack

https://medium.com/sadasant/god-mode-ux-why-your-next-interface-will-look-more-like-starcraft-tha...
1•walterbell•1m ago•0 comments

Some Audiobooks Outselling Hardcovers

https://www.wsj.com/tech/personal-tech/listen-to-this-some-audiobooks-are-outselling-hardcovers-1...
1•bookofjoe•4m ago•1 comments

A silly diffuse shading model

https://lisyarus.github.io/blog/posts/a-silly-diffuse-shading-model.html
1•ibobev•5m ago•0 comments

Straussian Memes: A Lens on Techniques for Mass Persuasion

https://www.lesswrong.com/posts/CAwnnKoFdcQucq4hG/straussian-memes-a-lens-on-techniques-for-mass-...
1•kp1197•7m ago•0 comments

PNGine: A WebGPU shader portability engine

https://hugodaniel.com/posts/introducing-pngine/
1•ibobev•7m ago•0 comments

What I Read in 2025

https://srajagopalan.substack.com/p/what-i-read-in-2025
1•neehao•8m ago•0 comments

Cognitive Diagnosis Framework for Evaluating Financial Large Language Models

https://arxiv.org/abs/2508.13491
2•gmays•8m ago•0 comments

Show HN: I'm student building best AI slide designer

https://smallailab.vercel.app/
2•ihsanf•8m ago•0 comments

How Rick Rubin taught me to be a better engineer

https://bytesizedchunks.net/blog/20260101/
1•mrdosija•8m ago•0 comments

Show HN: Hero section I've created for my landing page

https://typethink.ai
1•Yash16•14m ago•0 comments

"AI is just a tool," but is it really?

https://andyjarosz.substack.com/p/ai-is-just-a-tool-but-is-it-really
2•andyfilms1•15m ago•0 comments

BBR congestion control algorithm version 04

https://datatracker.ietf.org/doc/html/draft-ietf-ccwg-bbr-04
1•throwawaybutwhy•15m ago•0 comments

Why I'm Leaving Harvard

https://www.compactmag.com/article/why-im-leaving-harvard/
7•CGMthrowaway•16m ago•0 comments

Ask HN: In-person/hybrid vs. remote work: which is better for a startup?

1•bbsc•17m ago•1 comments

A Booze Ban Since the '50s Is Being Lifted in Saudi Arabia

https://www.wsj.com/world/middle-east/saudi-arabia-alcohol-ban-laws-d6f961de
2•JumpCrisscross•19m ago•0 comments

Cycling Game (Mini Neural Net Demo)

https://www.doc.ic.ac.uk/~ajd/Cycling/
3•ungreased0675•21m ago•1 comments

From Embodied AI Jailbreak to Remote Takeover of Humanoid Robots [video]

https://media.ccc.de/v/39c3-skynet-starter-kit-from-embodied-ai-jailbreak-to-remote-takeover-of-h...
1•addisaden•21m ago•0 comments

The Year the Newsletter Business Reached a Fever Pitch

https://www.wsj.com/business/media/the-year-the-newsletter-business-reached-a-fever-pitch-54a2a69e
1•JumpCrisscross•22m ago•0 comments

All Videos from 39C3: Power Cycles

https://www.youtube.com/playlist?list=PL_IxoDz1Nq2ajswL6wmP1qxyh-Iqon5oz
2•gjvc•22m ago•0 comments

Iranian Protesters Killed as Unrest Turns Violent on Fifth Day

https://www.wsj.com/world/middle-east/iranian-protesters-killed-as-unrest-turns-violent-on-fifth-...
2•JumpCrisscross•22m ago•0 comments

Silicon 'postage stamp' implant instantly emails your thoughts to AI

https://newatlas.com/medical-devices/silicon-implant-emails-thoughts-ai/
1•breve•29m ago•0 comments

List of Former Footlights Members

https://en.wikipedia.org/wiki/List_of_former_Footlights_members
1•zeristor•31m ago•1 comments

Visualization of influenza A virus entry into cells using virus-view AFM

https://www.pnas.org/doi/10.1073/pnas.2500660122
2•PaulHoule•36m ago•0 comments

(Nature) Economic inequality does not equate to poor well-being or mental health

https://twitter.com/nature/status/2006455318247604723
1•outrun86•36m ago•2 comments

Show HN: Tasker – An open-source desktop agent for browser and OS automation

https://automatewithtasker.com/
9•schnetzlerjoe•38m ago•2 comments

Neovim plugin to view Claude Code changes

https://github.com/johnernaut/claude-files.nvim
1•johnernaut•39m ago•1 comments

Show HN: Gfcli: A tool to search and install Google Fonts via terminal

https://github.com/tinsever/google-font-cli
1•tin7•40m ago•0 comments

Mock LLM APIs locally with real-world streaming physics

https://vidai.uk/platform/mock/
1•nagug•40m ago•1 comments

How have founders been successful at finding quality beta testers?

1•Megafeeder•42m ago•1 comments

The Year America's Economic Edge Evaporated

https://www.bloomberg.com/opinion/articles/2026-01-01/us-stock-market-and-gdp-lost-its-edge-in-2025
3•xqcgrek2•43m ago•1 comments