frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Clawker News

https://news.yclawbinator.com/manifesto
1•jakehandy•1m ago•0 comments

Ask HN: Why is it so hard to get responses from founders over email?

1•preston-kwei•2m ago•0 comments

Show HN: I built an AI conversation partner to practice speaking languages

https://apps.apple.com/us/app/talkbits-speak-naturally/id6756824177
1•omarisbuilding•4m ago•0 comments

Claude Code: Your Self-Customizing Editor

https://markferree.substack.com/p/claude-code-your-self-customizing
1•markferree•5m ago•1 comments

Vitamin D supplements cut heart attack risk by 52%. Why?

https://www.empirical.health/blog/vitamin-d-heart/
2•brandonb•7m ago•1 comments

Syntax-aware diffs without the false postives

https://arxiv.org/abs/2403.05939
1•jbellis•10m ago•0 comments

Show HN: Daily Cat

https://daily.cat/
1•abraham•10m ago•0 comments

ClawRoulette

https://clawroulette.net/
1•bluesnowmonkey•11m ago•1 comments

Chinese RISC-V Chipmaker SpacemiT Launches K3 AI CPU

https://www.barchart.com/story/news/37312394/chinese-risc-v-chipmaker-spacemit-launches-k3-ai-cpu...
2•_____k•12m ago•0 comments

NASA delays Artemis moonshot with astronauts due to extreme cold in Florida

https://apnews.com/article/nasa-artemis-moon-astronauts-countdown-db49cef0eafce61f89a2984a5215c089
1•ck2•15m ago•2 comments

Qwen3-ASR Technical Report

https://arxiv.org/abs/2601.21337
1•_____k•15m ago•0 comments

Iran rounds up thousands in mass arrest campaign after crushing unrest

https://www.reuters.com/world/middle-east/iran-rounds-up-thousands-mass-arrest-campaign-after-cru...
3•mhb•16m ago•0 comments

Bloom's 2 Sigma Problem

https://en.wikipedia.org/wiki/Bloom%27s_2_sigma_problem
2•dedalus•17m ago•0 comments

Trump Administration Rescinds Biden-Era Software Guidance

https://www.darkreading.com/application-security/trump-administration-rescinds-biden-era-sbom-gui...
4•weinzierl•18m ago•0 comments

Show HN: I treated my chronic rhomboid pain like a software bug (and fixed it)

https://deskrelief.gumroad.com/l/7-day-pain-relief
1•usrfours•19m ago•0 comments

U.S. Cybersecurity Chief Uploaded Classified Files to ChatGPT

https://peq42.com/blog/u-s-cybersecurity-chief-uploaded-classified-files-to-chatgpt/
3•peq42•19m ago•1 comments

The AI problem no one is talking about

https://morrick.me/archives/10241
2•latexr•19m ago•0 comments

I trapped an AI model inside an art installation (2025) [video]

https://www.youtube.com/watch?v=7fNYj0EXxMs
2•handfuloflight•22m ago•0 comments

Google AI Tool Let Users Make Rip-Off Nintendo Worlds

https://www.gamespot.com/articles/google-ai-tool-let-users-make-rip-off-nintendo-worlds/1100-6537...
1•_____k•23m ago•1 comments

Show HN: Fleabox – a minimal back end for self-hosted apps

https://github.com/jaksa76/fleabox
1•jaksa•27m ago•0 comments

You Should Make Web Games

https://jslegenddev.substack.com/p/you-should-make-web-games
3•JSLegendDev•28m ago•0 comments

Why the concrete in data centers is a hidden source of carbon emissions

https://www.latimes.com/business/story/2026-01-29/why-concrete-in-data-centers-is-hidden-source-o...
2•1vuio0pswjnm7•30m ago•0 comments

Waymo under scrutiny after hitting child near Santa Monica elementary school

https://www.latimes.com/business/story/2026-01-29/waymo-under-scrutiny-after-hitting-child-near-s...
2•1vuio0pswjnm7•31m ago•1 comments

AGI is here. Look busy

https://whilstinarrakis.wordpress.com/2026/01/29/agi-is-here-look-busy/
2•dylancollins•31m ago•0 comments

Google Engineer Found Guilty of Sending AI Secrets to China

https://www.justice.gov/opa/pr/former-google-engineer-found-guilty-economic-espionage-and-theft-c...
6•jedixit•34m ago•0 comments

Feasible keeping an internet connected device "unconpromised". (LTFT)

https://www.wsj.com/tech/google-aims-knockout-blow-at-chinese-company-linked-to-massive-cyber-wea...
1•SlavojsChef•37m ago•1 comments

Ask HN: How do you catch cron jobs that "succeed" but produce wrong results?

1•BlackPearl02•38m ago•2 comments

Israel accepts Gaza death toll is broadly accurate, saying 70k have died

https://www.theguardian.com/world/2026/jan/30/israel-military-gaza-death-toll-broadly-accurate
4•n1b0m•38m ago•0 comments

The case of the missing DNS packets (2020)

https://cloud.google.com/blog/topics/inside-google-cloud/google-cloud-support-engineer-solves-a-t...
2•fanf2•38m ago•0 comments

Show HN: Using World Models for Consistent AI Filmmaking

https://getartcraft.com/news/world-models-for-film
1•echelon•39m ago•0 comments