frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Pequod – A colour palette for reading and code, rooted in Moby-Dick

https://github.com/tiagojct/pequod
1•tiagojct•32s ago•0 comments

Show HN: Mljar Studio – local AI data analyst that saves analysis as notebooks

https://mljar.com/
3•pplonski86•2m ago•0 comments

A Dark-Money Campaign Is Paying Influencers to Frame Chinese AI as a Threat

https://www.wired.com/story/super-pac-backed-by-openai-and-palantir-is-paying-tiktok-influencers-...
1•SockThief•3m ago•0 comments

Leading journal finds AI is flooding academic publishing with lower quality work

https://phys.org/news/2026-05-journal-ai-academic-publishing-quality.html
1•pseudolus•5m ago•0 comments

Why TUIs are making a comeback

https://wiki.alcidesfonseca.com/blog/why-tuis-are-back/
1•alcidesfonseca•7m ago•0 comments

ICANN opens applications for new top-level domains for the first time since 2012

https://www.theregister.com/2026/05/01/icann_new_gtld_applications/
1•thunderbong•8m ago•0 comments

Inverse Sapir-Whorf and programming languages

https://lukeplant.me.uk/blog/posts/inverse-sapir-whorf-and-programming-languages/
2•birdculture•11m ago•0 comments

The AI Race Is Charged by the Fear of Being Left Behind

https://thewalrus.ca/the-ai-race-is-charged-by-the-fear-of-being-left-behind/
1•pseudolus•17m ago•0 comments

"Gazump"

https://notoneoffbritishisms.com/2026/05/01/gazump/
1•jjgreen•21m ago•0 comments

We migrated 100 services from Nginx to Envoy in one month

https://www.qovery.com/blog/alan-from-nginx-to-envoy-what-actually-happens-when-you-swap-your-pro...
1•ev0xmusic•21m ago•0 comments

Bep/gallerydeluxe: Fast Hugo gallery theme/module suitable for lots of images

https://github.com/bep/gallerydeluxe
1•Tomte•27m ago•0 comments

PgAdmin: The Most Popular PostgreSQL Admin Tool

https://www.pgadmin.org/
1•doener•28m ago•0 comments

Some Notes on AI

https://www.math.columbia.edu/~woit/wordpress/?p=15672
1•jjgreen•31m ago•0 comments

RAG isn't memory. It's Ctrl+F with embeddings

https://medium.com/@vbcherepanov/rag-isnt-memory-it-s-ctrl-f-with-embeddings-c461b90ac7b1
2•vbcherepanov•34m ago•0 comments

•35m ago

How GitHub lost its way

https://substack.com/@usiddique09/p-196195940
2•usmansidd•35m ago•0 comments

clang-format configurator v2

https://clang-format-configurator.site/
1•gjvc•38m ago•0 comments

Apple just gave a clue that a big AI acquisition may be in the cards

https://www.marketwatch.com/story/apple-just-gave-a-subtle-clue-that-a-splashy-ai-acquisition-may...
2•dalvrosa•38m ago•0 comments

First Nations students are teaching themselves

https://www.cbc.ca/news/canada/edmonton/frog-lake-cree-language-app-9.7185348
3•01-_-•39m ago•0 comments

Convicted former Harvard scientist rebuilds brain computer lab in China

https://www.reuters.com/world/china/convicted-former-harvard-scientist-rebuilds-brain-computer-la...
3•01-_-•40m ago•0 comments

Looking for Employers for the job fair and hiring with Meeting C++

https://www.meetingcpp.com/meetingcpp/news/items/Looking-for-Employers-for-the-job-fair-and-hirin...
1•dalvrosa•41m ago•0 comments

Gall's Law – Yagnipedia

https://yagnipedia.com/wiki/galls-law
3•ankitg12•45m ago•0 comments

Neomd: A minimal terminal email client for people who write in Markdown

https://neomd.ssp.sh/
1•handfuloflight•46m ago•0 comments

The Discord migration that didn't happen

https://productimpossible.com/articles/discord-migration-that-didnt-happen/
2•sebakubisz•52m ago•0 comments

Show HN: Autorank – Rank on Google and AI search while you sleep

https://www.getautorank.ai/
1•alokjnv10•52m ago•0 comments

How fast is a macOS VM, and how small could it be?

https://eclecticlight.co/2026/05/02/how-fast-is-a-macos-vm-and-how-small-could-it-be/
11•moosia•53m ago•0 comments

ZenBusiness Data Breach

https://haveibeenpwned.com/Breach/ZenBusiness
1•amazonhut•55m ago•0 comments

How Casey Newton is revamping his newsletter to compete with AI

https://www.niemanlab.org/2026/04/more-scoops-less-aggregation-and-analysis-how-casey-newton-is-r...
1•giuliomagnifico•55m ago•0 comments

US to Withdraw Troops from Germany

https://www.dw.com/en/us-to-withdraw-thousands-of-troops-from-germany/a-77016071
2•pera•59m ago•0 comments

Dazzle Camouflage

https://en.wikipedia.org/wiki/Dazzle_camouflage
2•tosh•1h ago•0 comments