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!

Iranian MPs decry lack of observance of female dress code

https://www.newarab.com/news/iranian-mps-decry-lack-observance-female-dress-code
2•mhb•1m ago•1 comments

Francis Ford Coppola, Who Says He's 'Broke,' Is Selling a $1M Watch

https://www.nytimes.com/2025/10/23/fashion/francis-ford-coppola-watch-auction.html
1•handfuloflight•4m ago•0 comments

We Are Living in a Bifurcated Economy

https://amitsdeepdives.substack.com/p/we-are-living-in-a-bifurcated-economy
1•mhb•7m ago•0 comments

AI Needs to Feel Pain [video]

https://www.youtube.com/watch?v=fKf6Kl5TMc0
1•xqcgrek2•11m ago•0 comments

Heiliger Dankgesang: Reflections on Claude Opus 4.5

https://www.hyperdimensional.co/p/heiliger-dankgesang
1•maxutility•12m ago•0 comments

MarathonOS: A spiritual successor to BlackBerry10 using Qt6 and PostmarketOS

https://marathonos.xyz/
1•pat64•15m ago•0 comments

What's changing for under 16s and parents on YouTube in Australia

https://blog.google/intl/en-au/products/whats-changing-on-youtube-in-australia/
1•decimalenough•17m ago•0 comments

Anthropic Could Go Public in 2026

https://www.ft.com/content/3254fa30-5bdb-4c30-8560-7cd7ebbefc5f
2•ls612•23m ago•0 comments

Show HN: Dependency-aware context management for LLM coding workflows

https://github.com/Mohamedsaleh14/ContextGit
1•saleh_•25m ago•0 comments

Original footage of young Putin singing "Santa Maria" by Roland Kaiser [video]

https://www.youtube.com/watch?v=QMA0KHNeLwQ
1•bastischmidt•27m ago•0 comments

Adopt all your ubiquity unifi devices in one shot

https://github.com/jasonroland/auto-unifi-adopt-rust-1SYSTEMSinstallation
3•teachmetolearn•28m ago•1 comments

Big Tech's 'Spend Little, Earn Lots' Formula Is Threatened by AI

https://www.bloomberg.com/news/articles/2025-12-02/big-tech-s-spend-little-earn-lots-formula-is-t...
1•1vuio0pswjnm7•28m ago•0 comments

Nuke Snake, the classic Mac shareware game

https://nukesnake.com/
2•gaws•29m ago•0 comments

SF's Claude Passed Away

https://www.kron4.com/news/bay-area/albino-alligator-claude-passes/
2•wferrell•35m ago•2 comments

TikTok and LinkedIn Face Investigations by Irish Media Regulator

https://www.bloomberg.com/news/articles/2025-12-02/tiktok-and-linkedin-face-investigations-by-iri...
1•1vuio0pswjnm7•36m ago•0 comments

Non-Lexical Bindings

https://www.sheeeeeeeep.art/lang-things-current-object.html
1•panic•37m ago•0 comments

Can we build WeChat-like Mini Apps using open web standards?

https://dmathewwws.com/antler-an-irl-browser
1•brazukadev•39m ago•0 comments

The Missing Piece in Digital Workflows – DevLog 0

https://www.youtube.com/watch?v=IFbj-P0D1AQ
1•ch3coohlink•41m ago•0 comments

Rand Paul: My Proposal Will Improve Health Care and Lower Costs

https://www.newsweek.com/rand-paul-my-proposal-will-improve-health-care-and-lower-costs-opinion-1...
2•bilsbie•42m ago•0 comments

Mechanisms as Types

https://spacechimplives.substack.com/p/mechanisms-as-types
1•azhenley•46m ago•0 comments

Our Founders Would Abhor What the USPTO Is Doing with the Patent System

https://www.techdirt.com/2025/12/02/our-founders-would-abhor-what-the-uspto-is-doing-with-the-pat...
1•hn_acker•46m ago•0 comments

Trump pardons Honduran ex-president who was convicted of drug crimes

https://www.npr.org/2025/12/02/nx-s1-5628382/trump-pardons-honduran-ex-president-juan-orlando-her...
7•CXSHNGCB•52m ago•0 comments

Is this code clean? A critical look at Clean Code 2nd Edition

https://bugzmanov.github.io/cleancode-critique/clean_code_second_edition_review.html
3•birdculture•56m ago•0 comments

The Man I Want to Meet the Most: The Life of Alfred Lee Loomis

https://chillphysicsenjoyer.substack.com/p/the-man-i-want-to-meet-the-most
1•crescit_eundo•58m ago•0 comments

Eev: Emacs Execute Verbosely

https://anggtwu.net/index.html#eev
1•oumua_don17•59m ago•0 comments

Designing the Dreidel of the Future

https://www.jellomenorah.com/p/designing-the-dreidel-of-the-future
1•akkartik•59m ago•0 comments

Show HN: FT-Lab – Lightweight TinyLlama Fine-Tuning (Full FT / LoRA / QLoRA)

https://github.com/REICHIYAN/ft_lab
1•Sai-HN•1h ago•0 comments

Everything that is wrong in museums starts with wall labels

https://www.aaronland.info/weblog/2025/11/20/cafeteria/#usf
1•panic•1h ago•0 comments

Show HN: AI slides and presentation coaching

https://eloquentiq.vercel.app
1•mdev23•1h ago•0 comments

A pragmatic guide to LLM evals for devs

https://newsletter.pragmaticengineer.com/p/evals
3•sren•1h ago•0 comments