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!

Repurpose AI

https://www.repurposeai.app/
1•alihayderca•21s ago•0 comments

Neuromuscular Cyborg Aim Assist [video]

https://www.youtube.com/watch?v=pjJImfcQGjI
1•cheschire•2m ago•0 comments

Show HN: Credible brings credibility scores directly on Hacker News

https://chromewebstore.google.com/detail/credible-instant-credibil/eenbaojdcmnbdlhkmambidocigepdobm
1•betterhealth12•3m ago•0 comments

Rebuilding state management: How we made our VS Code extension 2× faster

https://www.augmentcode.com/blog/rebuilding-state-management
1•emmabotbot•4m ago•0 comments

ChatGPT Works with Apple Music Now, for Some Reason

https://lifehacker.com/tech/chatgpt-has-apple-music-now
2•whynotmaybe•5m ago•0 comments

AI Infrastructure Will Face a Reckoning in 2026

https://thenewstack.io/in-2026-ai-infrastructure-will-face-a-reckoning/
1•giuliomagnifico•5m ago•0 comments

India now largest market in world in AI model adoption: BofA

https://economictimes.indiatimes.com/tech/artificial-intelligence/india-now-largest-market-in-wor...
2•gniting•5m ago•0 comments

Prepare for That Stupid World

https://ploum.net/2025-12-19-prepare-for-that-world.html
4•speckx•6m ago•0 comments

gh-Wrapped Is Your GitHub Wrapped Year in Review, on Demand

https://www.joshbeckman.org/blog/practicing/ghwrapped-is-your-github-wrapped-year-in-review-on-de...
1•bckmn•7m ago•0 comments

romeojuliet.love

1•asquare14•11m ago•2 comments

DOJ won't meet Friday deadline to release all the Epstein files

https://www.politico.com/news/2025/12/19/epstein-documents-release-friday-deadline-00699935
6•wahnfrieden•12m ago•0 comments

I Hate ITC Garamond (2004)

https://designobserver.com/i-hate-itc-garamond/
1•CharlesW•12m ago•0 comments

Findthatmail.com search engine for retail emails

https://findthatmail.com/
1•kanwar007•13m ago•1 comments

Today is the deadline to release the Epstein files. Here's what to expect

https://www.npr.org/2025/12/19/nx-s1-5647638/epstein-files-release-law-deadline-trump
5•antfarm•14m ago•0 comments

Romeo&juliet – AI powered matchmaking app

https://www.romeojuliet.love
1•asquare14•14m ago•0 comments

All-optical synthesis chip for largescale intelligent semantic vision generation

https://www.science.org/doi/10.1126/science.adv7434
1•_____k•15m ago•0 comments

Claude Roasted My Blogpost Idea

https://amilmasic.com/blog/claude-roasted-my-blogpost
1•AmilMasic•16m ago•2 comments

Claude "figured out how to control my oven"

https://twitter.com/pingthebird/status/2001784112248500511
2•focusgroup0•17m ago•0 comments

The Comforting Myth of Effortless AI

https://www.insidevoice.ai/p/effortless-ai
2•cootsnuck•18m ago•0 comments

New Yorker Archives Now Fully Digitized

https://www.newyorker.com/archive
3•bookofjoe•20m ago•3 comments

My Experiments with AI Coding

https://mobiarch.wordpress.com/2025/12/19/my-experiments-with-ai-coding/
1•leopoldj•22m ago•0 comments

Wikipedia: The Utah Teapot

https://en.wikipedia.org/wiki/Utah_teapot
1•Drewdsworld•25m ago•0 comments

Show HN: From Frustration to Open Source: Building MCP Matomo in 30 Minutes

https://blog.fgribreau.com/2025/12/releasing-mcp-maotmo-from-frustration.html
1•ballou•25m ago•0 comments

I have to give Fortnite my passport to use Bluesky

https://spitfirenews.com/p/why-i-have-to-give-fortnite-my-passport-to-use-bluesky
25•malshe•26m ago•11 comments

V2 of Holographic Horizon Shield

https://github.com/jadeavsmith-tech/holographic-horizon-shield-v2
1•solutionsgirl39•26m ago•1 comments

AI will kill all the lawyers

https://spectator.com/article/ai-will-kill-all-the-lawyers/
2•015UUZn8aEvW•27m ago•0 comments

MIT fusion-lab head shot dead: a horror 'impossible to believe'

https://www.nature.com/articles/d41586-025-04135-9
3•digital55•27m ago•1 comments

BuddyLikeMe – The Ultimate Gen Z Hangout Zone

1•harinand•27m ago•1 comments

The Venezuelan Drone Crisis

https://medium.com/@mcnai002/the-venezuelan-drone-crisis-313dad18497d
1•jger15•30m ago•0 comments

Alibaba releases open-source vision model for native layered image editing

https://github.com/QwenLM/Qwen-Image-Layered
1•bakigul•30m ago•0 comments