frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Paper: Reducing hallucination in English–Hindi LLMs using citation grounding

https://arxiv.org/abs/2603.18911
1•vedantpandya•42s ago•0 comments

Is there any way to remove an already-pushed commit from GitLab?

1•bluewhalecove•1m ago•0 comments

Engineers do get promoted for writing simple code

https://www.seangoedecke.com/simple-work-gets-rewarded/
2•lalitmaganti•5m ago•0 comments

Intel Arc Pro B70 and Arc Pro B65 GPUs Bring 32GB of RAM to AI and Pro Apps

https://www.tomshardware.com/pc-components/gpus/intel-arc-pro-b70-and-arc-pro-b65-gpus-bring-32gb...
3•throwaway270925•6m ago•0 comments

The Inside Story of the Greatest Deal Google Ever Made: Buying DeepMind

https://www.wsj.com/tech/ai/deepmind-google-demis-hassabis-5bd6de54
1•bookofjoe•6m ago•1 comments

SidClaw – The approval layer for AI agents (open-source)

https://github.com/sidclawhq/platform
1•sidclaw•6m ago•0 comments

Scientists heated a Rocky Mountain wildlife meadow by 2C?

https://www.theguardian.com/environment/2026/mar/25/flowers-heated-2c-meadow-climate-crisis-exper...
1•robaato•8m ago•0 comments

Show HN: An x402 gateway for buying a finished local business website

https://boosterpack.xyz/x402
2•Martibis•8m ago•0 comments

Show HN: Neural DNA – 258 params that grow network topology

https://github.com/tejassudsfp/ndna
1•tejassuds•14m ago•0 comments

Searching for Fast Astronomical Transients in Archival Photographic Plates

https://arxiv.org/abs/2603.20407
1•solarist•14m ago•0 comments

Microsoft's Rust Training

https://github.com/microsoft/RustTraining
1•tayadeamit•17m ago•0 comments

2k Words Becomes One Word – a short story co-created with Claude Opus

https://medium.com/@cmitre/how-2-000-words-becomes-one-word-5365cf8df07b
2•ceemite•22m ago•0 comments

Talent Atrium – evaluation-first hiring (rank candidates before CV review)

https://www.talentatrium.com/
1•mjbstrategic•22m ago•1 comments

Show HN: Hooky – A lightweight HTTP webhook server written in Go

https://github.com/virtuallytd/hooky
1•virtuallytd•24m ago•0 comments

What Is Entropy, Really?

https://mathoverflow.net/questions/146463/what-is-entropy-really
1•sebg•25m ago•0 comments

Vim-classic: Long-term maintenance of Vim 8.x

https://sr.ht/~sircmpwn/vim-classic/
1•birdculture•27m ago•0 comments

RXB- SHA-256 PoW blockchain use onion-only network built-in CPU mining

https://github.com/Heiwabitnull/rxb-core
1•hewiabitnull•28m ago•1 comments

RuntimeGuard v2 – enforcement and easy security posture config for AI agents

https://runtime-guard.ai/
3•JimmyRacheta•30m ago•1 comments

Ever Wondered What Life Looks Like in Reverse?

https://textideo.com/video-tools/reverse-video
1•Ethanalker•30m ago•0 comments

From error-handling to structured concurrency

https://blog.nelhage.com/post/concurrent-error-handling/
1•r4um•31m ago•0 comments

The CPU Was Left for Dead by AI. Now AI Is Bringing It Back

https://www.wsj.com/tech/ai/cpu-agentic-ai-ca2c5582
2•JumpCrisscross•32m ago•0 comments

Autism-Therapy Firm That Was Paid $340k per Patient Is Barred from Medicaid

https://www.wsj.com/health/healthcare/autism-therapy-firm-paid-average-of-340-000-per-patient-bar...
2•JumpCrisscross•34m ago•0 comments

NeurIPS Statement on Sanctions

https://twitter.com/NeurIPSConf/status/2037066494983426374
1•limoce•35m ago•0 comments

Developing Creative Identity

https://michaelnotebook.com/dci/index.html
1•sebg•39m ago•0 comments

Chonkify – compression for RAG and Agents that outperforms LLMLingua by ~4 times

https://github.com/thom-heinrich/chonkify
1•thomheinrich•40m ago•0 comments

Do Back-to-Back Courtroom Losses Herald Meta's 'Big Tobacco' Moment?

https://www.wsj.com/tech/do-back-to-back-courtroom-losses-herald-metas-big-tobacco-moment-57e6f227
2•JumpCrisscross•43m ago•1 comments

DoltLite: Free, open source drop-in replacement for SQLite with version control

https://www.dolthub.com/blog/2026-03-25-doltlite/
2•ingve•45m ago•0 comments

The Harmony of Theory and Practice in the Design of Tall Buildings(2015) [video]

https://www.youtube.com/watch?v=_XrvfBlcWcs
1•o4c•48m ago•0 comments

You probably don't want to buy a retro console

https://medium.com/@razorbeamz/you-probably-dont-want-to-buy-a-retro-console-a-guide-for-people-w...
10•razorbeamz•51m ago•2 comments

Python 3.3: The Version That Rewired Everything

https://techlife.blog/posts/python-3-3-modernization/
2•clarkmaxwell•55m ago•1 comments