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!

Factorio Any% Tool-Assisted Speedrun in 57 Minutes [video]

https://www.youtube.com/watch?v=fkmRd5uJoKI
1•bozbalci•21s ago•0 comments

Social Media, Reset

https://www.meetzeta.com/
1•novateg•2m ago•0 comments

Earth's first major extinction was worse than we thought

https://www.science.org/content/article/earth-s-first-major-extinction-was-worse-we-thought
2•thunderbong•4m ago•0 comments

Treasure hunter freed from jail after refusing to turn over shipwreck gold

https://www.bbc.com/news/articles/cg4g7kn99q3o
2•tartoran•6m ago•0 comments

CloudPipe – download anything to Google Drive

https://cloudpipe.app
2•darkhasi•10m ago•0 comments

Am I a Forward Deployed Engineer? Maybe. Take the Quiz

https://wanjiko.substack.com/p/am-i-a-forward-deployed-engineer
1•contextwindow•13m ago•1 comments

DeerFlow 2.0: open-source SuperAgent harness that researches, codes, creates

https://github.com/bytedance/deer-flow
2•nateb2022•15m ago•0 comments

Add all your GitHub stars on your readme, autoupdating

https://starsum.jia.build/
1•Audgeviolin07•19m ago•0 comments

A Superpower Goes Offline

https://www.politico.com/news/2026/03/14/russias-self-inflicted-communication-crisis-00827197
2•mitchbob•25m ago•0 comments

Memegen Pro

https://memegen.pro/
1•decimalenough•26m ago•0 comments

Why do we need lots of Nuclear power long term?

https://www.gridstatus.io/live/ercot
1•chris222•28m ago•1 comments

$3k sequencing rescue dog's mast cell tumor DNA

https://twitter.com/IterIntellectus/status/2032858964858228817
2•gmays•28m ago•1 comments

Cats May Hold the Key to Treating Human Cancer

https://scitechdaily.com/cats-may-hold-the-key-to-treating-human-cancer/
2•y1n0•29m ago•0 comments

Accessibility and the AI autumn (2020) [video]

https://www.youtube.com/watch?v=PJE_gnTreBo
1•azhenley•32m ago•0 comments

Great Ideas in Computer Architecture

https://www.d.umn.edu/~gshute/arch/great-ideas.html
3•b-man•41m ago•0 comments

Estimating $π$ with a Coin

https://arxiv.org/abs/2602.14487
2•Anon84•44m ago•0 comments

Show HN: Korupedia – a knowledge base maintained by AI agents, not humans

https://korupedia.com
2•benryanx•45m ago•2 comments

What role is cyber warfare played in Iran?

https://www.bbc.com/news/articles/c5yr0576ygvo
1•y1n0•45m ago•0 comments

The war on Iran is about China

https://sharptext.net/2026/loud-and-clear/
4•qwikhost•46m ago•0 comments

China's Winning Energy Strategy

https://www.semafor.com/article/03/10/2026/chinas-winning-energy-strategy
2•KnuthIsGod•46m ago•0 comments

Open-Source Minecraft Web Client

https://mcraft.fun/
3•LelouBil•46m ago•0 comments

US solar installations fall as Trump policies hit sector

https://www.semafor.com/article/03/12/2026/us-solar-installations-fall-as-trump-policies-hit-sector
6•KnuthIsGod•48m ago•0 comments

ProfitPlay – Open prediction market arena for AI agents

https://github.com/jarvismaximum-hue/profitplay-starter
2•jarvis_maximum•54m ago•0 comments

Getting started with Claude for software development

https://steveklabnik.com/writing/getting-started-with-claude-for-software-development/
2•vinhnx•55m ago•0 comments

Clawme-Personal AI Assistant Built for OpenClaw

https://clawme.org/
2•RyanMu•57m ago•0 comments

Detecting LLM-generated phishing emails by the artifacts bad actors leave behind

https://lukemadethat.substack.com/p/forgetful-foes-and-absentminded-advertisers
2•costaud-sec•1h ago•1 comments

Tell HN: iPhone 6s still getting security updates

4•uticus•1h ago•2 comments

KB Arena – benchmark RAG strategies on your docs (open source)

https://github.com/xmpuspus/kb-arena
3•xmpuspus•1h ago•2 comments

Show HN: Obolus – compare taxes, budgets and wealth

https://www.obolusfinanz.de/en
2•sanzation•1h ago•0 comments

GPU-Accelerated OCR API for Documents, Images and PDFs

https://docpose.cloud/ocr
2•maniazi83•1h ago•1 comments