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!

Hear your agent suffer through your code

https://github.com/AndrewVos/endless-toil
2•AndrewVos•3m ago•0 comments

A Hundred Robots Are Running a Bio Lab

https://www.corememory.com/p/a-hundred-robots-are-running-a-bio-medra-michelle-lee
1•giuliomagnifico•7m ago•0 comments

Show HN: leaf – a terminal Markdown previewer with a GUI-like experience

https://github.com/RivoLink/leaf
1•RivoLink•8m ago•1 comments

Stvor is Signal Protocol E2EE SDK for any app (zero dependencies)

https://sdk.stvor.xyz
1•sapog_kun•8m ago•0 comments

Show HN: Free MVP cost estimator – see what agencies charge vs. a 72-hour sprint

https://www.mohamedrashard.dev/cost-to-build
1•mohrashard•8m ago•0 comments

I Was Lonely and Let an App Pick My New Friends. Here’s How It Went

https://thewalrus.ca/i-was-lonely-and-let-an-app-pick-my-new-friends-heres-how-it-went/
1•pseudolus•11m ago•0 comments

How to be anti-social – a guide to incoherent and isolating social experiences

https://nate.leaflet.pub/3mk4xkaxobc2p
1•calcifer•14m ago•0 comments

Building an agentic escrow for software projects

1•sushrut1058•14m ago•0 comments

nowhere: an entire website encoded in a URL

https://hostednowhere.com/
2•bpierre•18m ago•0 comments

Ask HN: Are there any difference using open source tool instead commercial subs?

1•chalshik•22m ago•0 comments

Show HN: Figpack science viz – Python script → Shareable HTML Bundle in cloud

https://figpack.org
1•jmagland•23m ago•0 comments

AI agent designs a complete RISC-V CPU from a 219-word spec sheet in 12 hours

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-agent-designs-a-complete-ri...
1•fork-bomber•31m ago•0 comments

How drones could be used to track plastic litter on Irish beaches

https://www.rte.ie/brainstorm/2026/0424/1569594-ireland-beaches-plastic-pollution-litter-drone-fo...
1•austinallegro•36m ago•0 comments

Show HN: Daily China AI news briefing – engineering, product, and business

https://overnightai.substack.com/p/china-ai-news-eight-chinese-chip
1•jackyli02•36m ago•0 comments

Ask HN: I built an AI planner that adapts routines automatically – feedback?

1•Profazia•42m ago•0 comments

FDA gives the green light to the first gene therapy for deafness

https://www.npr.org/2026/04/23/nx-s1-5795526/deafness-gene-therapy-regeneron
4•geox•42m ago•0 comments

Wisp – Social that's fun again

https://wisp.mobile
2•janandonly•42m ago•0 comments

Wikipedia's AI Policy

https://en.wikipedia.org/wiki/Wikipedia:Artificial_intelligence
9•Antibabelic•46m ago•0 comments

Kremlin's tightening grip on internet fuels Russian discontent

https://www.bbc.com/news/articles/cr510de17jlo
3•breve•48m ago•0 comments

Mathesar 0.10.0

https://docs.mathesar.org/0.10.0/releases/0.10.0/
1•klaussilveira•48m ago•0 comments

Mounting tar archives as a filesystem in WebAssembly

https://jeroen.github.io/notes/webassembly-tar/
3•datajeroen•49m ago•0 comments

Impactmel Is Available

https://impactmel.com
1•pndize•49m ago•0 comments

Hidden Secrets in the ArXiv: Information Disclosure in Preprint Source Files

https://arxiv.org/abs/2604.20927
1•bageldesert•51m ago•0 comments

Ask HN: What sw do you dream about but don't have the time to code yourself?

1•curtisblaine•54m ago•1 comments

Artificial intelligence is creeping into American lawmaking

https://www.economist.com/united-states/2026/04/23/artificial-intelligence-is-creeping-into-ameri...
1•edward•54m ago•0 comments

Ask HN: Am I getting old, or is working with AI juniors becoming a nightmare?

6•MichaelRazum•55m ago•5 comments

Ask HN: Who is using DeepSeek in production

2•h99•55m ago•0 comments

DeepSeek-V4: Making 1M token context efficient

https://firethering.com/deepseek-v4-open-source-million-token-context/
3•steveharing1•55m ago•0 comments

OpenAI has the governance structure of a unicorn – it does not exist

https://readuncut.com/open-ai-has-little-effective-governance/
1•dnsb•57m ago•0 comments

Half a Month of Consolation Writing Advice

https://www.astralcodexten.com/p/half-a-month-of-consolation-writing
1•herbertl•59m ago•0 comments