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!

Welcome to the Stockyard of Unaffordability

http://charleshughsmith.blogspot.com/2026/03/welcome-to-stockyard-of-unaffordability.html
1•speckx•1m ago•0 comments

NY proposes removing QSBS tax breaks for founders

https://www.jdsupra.com/legalnews/new-york-proposal-to-tax-qsbs-gains-4562142/
1•theahura•2m ago•0 comments

Widely used Trivy scanner compromised in ongoing supply-chain attack

https://arstechnica.com/security/2026/03/widely-used-trivy-scanner-compromised-in-ongoing-supply-...
1•Brajeshwar•3m ago•0 comments

Vibe Code Builds You Can Try

https://hendersonmatthew.substack.com/p/4-vibe-code-builds-you-can-actually
1•alokDT•4m ago•0 comments

MCP Vulnerabilities Every Developer Should Know

https://composio.dev/content/mcp-vulnerabilities-every-developer-should-know
1•fagnerbrack•5m ago•0 comments

Accessing Hardware in Rust

https://ferrous-systems.com/blog/hardware-access-rust/
1•vinhnx•6m ago•0 comments

Do You Need a CMS?

https://joost.blog/do-you-need-a-cms/
1•taubek•10m ago•0 comments

Solod: Go can be a better C

https://antonz.org/solod/
1•begoon•10m ago•2 comments

Show HN: QueryPad – Browser SQL Playground for CSV, JSON, and Parquet Files

https://github.com/vericontext/querypad
1•kiyeonjeon•13m ago•1 comments

Show HN: Inner Warden – Self-Defending Security Agent: eBPF+LSM+XDP (Rust, 29MB)

https://github.com/InnerWarden/innerwarden/
2•maiconburn•13m ago•0 comments

Apple Announces New Mac Sales Record Following MacBook Neo Launch

https://www.macrumors.com/2026/03/20/apple-shares-mac-sales-achievement/
7•akyuu•15m ago•0 comments

Jury finds Musk owes damages to Twitter investors for his tweets

https://arstechnica.com/tech-policy/2026/03/jury-agrees-that-musks-tweets-during-twitter-takeover...
8•Brajeshwar•16m ago•0 comments

Show HN: I saw Norton Commander on X and nostalgia made me build it for the web

https://github.com/victorantos/NC
2•victorbuilds•20m ago•0 comments

ESLint Tuned for Claude

https://github.com/jonathannen/eslint-formatter-prompter
2•jwilliams•21m ago•1 comments

Origin-Edge-Client: applying Amdahl's Law to network architecture

https://suthakamal.substack.com/p/one-stores-things-the-other-thinks
1•suthakamal•22m ago•1 comments

Asimov DIY Kit

https://asimov.inc/diy-kit
1•SergeAx•25m ago•0 comments

USPS warns stamp price could rise to nearly $1 amid financial strain

https://www.scrippsnews.com/politics/economy/usps-warns-stamp-price-could-rise-to-nearly-1-amid-f...
1•bookofjoe•25m ago•1 comments

Show HN: A deterministic middleware to compress LLM prompts by 50-80%

https://github.com/ARPAHLS/skillware
2•rosspeili•25m ago•0 comments

Fast Python with Rust: a data-oriented approach

https://hackeryarn.com/post/fast-python-with-rust/
1•hackeryarn•28m ago•0 comments

Never Buy a .online Domain

https://www.0xsid.com/blog/online-tld-is-pai
1•ms7892•28m ago•0 comments

ToneLoc Wardialer

https://github.com/steeve/ToneLoc
1•reconnecting•28m ago•0 comments

From C char to string_view: The cost of abstraction in C++ strings

https://thecloudlet.github.io/technical/cpp/cpp-string/
1•thecloudlet•30m ago•1 comments

Jury signals tech titans on hook for social media addiction

https://techxplore.com/news/2026-03-jury-tech-titans-social-media.html
3•Brajeshwar•30m ago•0 comments

Show HN: I built my first SaaS

https://www.lunatic-ai.com
2•fhouser•32m ago•0 comments

Remove macOS Tahoe's menu bar icons

https://mastodon.social/@stroughtonsmith/116262411548746327
3•dgomes003•32m ago•0 comments

Verilator: Open-source SystemVerilog simulator and lint system

https://github.com/verilator/verilator
2•fanf2•33m ago•0 comments

Ubuntu Maker Canonical Announces MicroCloud Cluster Manager

https://ubuntu.com//blog/introducing-microcloud-cluster-manager
1•roger01•33m ago•1 comments

ClawRun – Deploy and manage AI agents in seconds

https://clawrun.sh/
6•afshinmeh•35m ago•2 comments

Sell Bio

https://www.sellb.io/en
2•donihernandez•38m ago•0 comments

First science from private Moon lander challenges lunar divide

https://www.science.org/content/article/first-science-private-moon-lander-challenges-lunar-divide
4•Brajeshwar•44m ago•0 comments