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!

The AI revolution is here. Will the economy survive the transition?

https://post.substack.com/p/the-ai-revolution-is-here-will-the
1•mooreds•6m ago•0 comments

Show HN: 2FA2FA – 2FA Live Auth (Real-Time TOTP Authentication)

https://2fa2fa.com
1•SongDeYu•7m ago•1 comments

Ops-Tools – a Rust-Based DevOps CLI Swiss Army Knife

https://github.com/DennySORA/Ops-Tools
1•dennysora•7m ago•1 comments

A fast Rust port of Steve Yegge's beads

https://github.com/Dicklesworthstone/beads_rust
1•sorenbs•11m ago•0 comments

In Minneapolis, a Pattern of Misconduct Toward Protesters

https://www.nytimes.com/2026/01/18/us/minneapolis-federal-agents-misconduct-protesters.html
5•mizzao•11m ago•2 comments

CD Projekt issue DMCA takedown notice against popular Cyberpunk VR mod

https://www.patreon.com/posts/another-one-dust-148437771
3•wjdp•13m ago•0 comments

Air traffic control: the IBM 9020

https://computer.rip/2026-01-17-air-traffic-control-9020.html
2•pinewurst•17m ago•0 comments

Show HN: Anti-Detect.com – Browser Fingerprint Scanner

https://anti-detect.com/
1•SongDeYu•21m ago•0 comments

In Defense of Data Centers

https://www.deeplearning.ai/the-batch/issue-336/
1•nl•22m ago•0 comments

Why the Best AI Systems Are Still So Bad at Pokémon

https://time.com/7345903/ai-chatgpt-claude-gemini-pokemon/
1•26d0•24m ago•0 comments

Ask HN: How to find a sponsor?

1•TySchultz•25m ago•0 comments

San Francisco coyote swims to Alcatraz

https://www.sfgate.com/local/article/san-francisco-coyote-alcatraz-21302218.php
3•kaycebasques•25m ago•0 comments

People cannot "just pay attention" to (boring, routine) things

https://utcc.utoronto.ca/~cks/space/blog/tech/PeopleCannotPayAttention
2•todsacerdoti•26m ago•0 comments

All your OpenCodes belong to us

https://johncodes.com/archive/2026/01-18-all-your-opencodes/
3•jpmcb•26m ago•0 comments

The Code-Only Agent

https://rijnard.com/blog/the-code-only-agent
2•emersonmacro•28m ago•0 comments

Bring Back Ops Pride

https://charitydotwtf.substack.com/p/bring-back-ops-pride
1•mooreds•28m ago•2 comments

Show HN: Knowhere – Rust-Based SQL Engine with TUI and GUI (Built on DataFusion)

https://saivarunk.github.io/knowhere/
1•waxsum8•32m ago•0 comments

With this tool, you can enjoy NAS functionality even without a NAS

https://quicksend.chat/
1•foodhome•34m ago•0 comments

HN should be dark mode by default

2•busters4•35m ago•3 comments

Show HN: All Paul Graham essays as a single ePub for e-readers

https://tomyanz.com/pgessaysepub/
2•tomyanlol123•40m ago•0 comments

We grew an XR conference to 11,000 attendees. Here's why we walked away

https://1upsummit.com/blog/built-largest-xr-conference-part-of-problem/
1•makercameron•43m ago•1 comments

Offensive Windows IPC Internals 3: ALPC (Advanced Local Procedure Call)

https://csandker.io/2022/05/24/Offensive-Windows-IPC-3-ALPC.html
2•aragonite•45m ago•0 comments

Trzsz-SSH (tssh): An SSH Client Alternative in Go

https://github.com/trzsz/trzsz-ssh
1•csmantle•55m ago•0 comments

The "Bucket Bumping" problem of airline tickets, and how to minimise your fare

https://www.dodgycoder.net/2026/01/the-bucket-bumping-problem-of-airline-tickets.html
2•damian2000•57m ago•0 comments

Pre-Agent Nostalgia

https://www.pcloadletter.dev/blog/pre-coding-agent-nostalgia/
6•ronbenton•58m ago•3 comments

Privacy Engineering at Scale: Building Automated Data Retention Systems

https://medium.com/@sandhyavinjam/privacy-engineering-at-scale-building-automated-data-retention-...
1•sandhyavinjam•1h ago•0 comments

There's no corpus large enough

https://www.swiftcraft.io/articles/no-corpus-large-enough
1•rad_val•1h ago•0 comments

Mermaid as a programming language for AI agents

https://twitter.com/xiaoxxchan/status/2011825791408226618
2•xxchan22•1h ago•0 comments

Show HN: N.codes – Let users generated mini-apps in your app

2•yungookim•1h ago•0 comments

Show HN: PixelMotion:AI video generation with Sora 2, Veo 3.1, and 9 more models

https://www.pixelmotion.io/
1•anotherbuilder•1h ago•0 comments