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!

Numinals – Certified prime numbers as identity tokens for AI bots

https://www.numinals.io/
1•Pehlivanian•1m ago•1 comments

Show HN: Experimental Revocable Signatures Using Model-Based Encoding

https://lyfe.ninja/demos/signature/
1•lyfeninja•1m ago•0 comments

Surviving as a Developer When Most Code Is Generated by AI

https://nemorize.com/roadmaps/surviving-as-a-developer-when-most-code-is-generated-by-ai
2•reverseblade2•2m ago•1 comments

We Automated Everything Except Knowing What's Going On

https://eversole.dev/blog/we-automated-everything/
2•kennethops•2m ago•0 comments

Rtk – reduce up to 90% of CLI noise and save agent tokens

https://www.rtk-ai.app/
1•openmaze•3m ago•0 comments

Hetzner outage: FSN1 is down

https://status.hetzner.com/incident/1c082fde-fe61-40b0-ab41-8d4d7deaf6fe
1•alcazar•3m ago•0 comments

The least understood driver of AI progress

https://epochai.substack.com/p/the-least-understood-driver-of-ai
1•speckx•3m ago•0 comments

Managing hostesses in Yakuza 0's cabaret club: a surprisingly feminist mini-game

https://www.mothership.blog/yakuza-0-cabaret-club-czar-feminist-mini-game/
1•Julesprobably•4m ago•0 comments

Transformers and Evolution

https://www.symmetrybroken.com/asymmetric-evolution/
1•riemannzeta•4m ago•0 comments

Show HN: FileShot – zero-knowledge file sharing, nothing locked behind accounts

https://fileshot.io/
1•GraysoftDev•4m ago•0 comments

Google's Nano Banana 2 promises Flash speeds with Pro results

https://thenewstack.io/nano-banana-2/
1•blazercohen•6m ago•0 comments

Show HN: ReleasAI – Paste Git commits, get polished release notes in <1s

https://releasai.vercel.app/
1•pramhatibie•6m ago•0 comments

Show HN: Ablo - AI slides without the generic look or layout restrictions

https://www.ablo.finance/
1•lukasanderss•7m ago•0 comments

Agent Skills Marketplace

https://skillsmp.com/
1•pama•7m ago•0 comments

I don't know marketing, so I built a tool to track what I do

https://www.buildemotion.com/
1•Kamil_KKA•8m ago•1 comments

To update blobs or not to update blobs

https://codon.org.uk/~mjg59/blog/p/to-update-blobs-or-not-to-update-blobs/
1•trelane•8m ago•0 comments

I Spent $120 Trying to Make an AI Vertical Drama About Cats. It Was a Disaster

https://www.streaming-radar.com/p/i-spent-120-trying-to-make-an-ai
1•lbostral•9m ago•0 comments

Show HN: Construct Computer – Agentic Cloud OS for Daily Work

https://construct.computer
1•ankushKun•9m ago•0 comments

Finding Peaks with SIMD

https://halleysfifthinc.github.io/posts/find-peaks-simd/
1•allenofthehills•9m ago•0 comments

Building an Inference Engine in 1,800 Lines of C++

https://linuxtoaster.com/blog/toasted.html
1•dirk94018•10m ago•1 comments

$82,000 in 48 Hours from stolen Gemini API Key

https://old.reddit.com/r/googlecloud/comments/1reqtvi/82000_in_48_hours_from_stolen_gemini_api_ke...
1•virgildotcodes•11m ago•0 comments

So You Want to Work in Hardware

https://ourancientfuture.substack.com/p/so-you-want-to-work-in-hardware
1•ls65536•11m ago•0 comments

Aria-haspopup might not do what you think it does

https://www.matuzo.at/blog/2026/aria-haspopup-menu
1•speckx•12m ago•0 comments

OpenAI amends Pentagon deal as Sam Altman admits it looks 'sloppy'

https://www.theguardian.com/technology/2026/mar/03/openai-pentagon-ceo-sam-altman-chatgpt
1•TutleCpt•13m ago•0 comments

How to combat Claude's code duplication, ranked from least to most AI-native

https://ngof.nikhaldimann.com/p/4-ways-to-combat-claudes-code-duplication
1•nikhaldi•13m ago•0 comments

Show HN: Core Rth. A governed AI kernel for engineers who don't trust their LLMs

https://github.com/rthgit/CORE-RTH
1•christianrth•14m ago•0 comments

Show HN: DataPilot – SQL workspace with scheduling, and on-prem execution

https://getdatapilot.com/
1•vincenzo_nudo•15m ago•0 comments

Show HN: PDFBolt – HTML to PDF API with Git-like template versioning

https://pdfbolt.com/
1•Ametrin•15m ago•0 comments

Show HN: ScrollMind – Learn how AI works by scrolling a feed, not a textbook

https://scrollmind.ai/course/intro-ai
1•bkraszewski•15m ago•1 comments

Go code is leaving 90% of the CPU idle until now

https://samuelberthe.substack.com/p/your-go-code-is-leaving-90-of-the
1•samber•16m ago•0 comments