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!

Show HN: Our calendar is political, not mathematical – explore aletrnatives

https://calendar-architect.pages.dev
1•szemy2•1m ago•0 comments

Show HN: Fun Cricket 26 – 3 clicks to bowl, 3 to bat, 1000s of possibilities

https://cric26.fun
1•rockyj•1m ago•0 comments

Google Cloud APIs (gcloud CLI) seems to be down or broken

1•thej•2m ago•0 comments

Found a PSP Exploit but cant get to run a loader yet

1•kirito1337•2m ago•0 comments

Show HN: I made HappySRT to transcribe, translate, & summarize easily

https://www.happysrt.com/
1•Rizzist•4m ago•0 comments

Design Docs Considered Harmful

https://www.lucasfcosta.com/blog/design-docs
2•lucasfcosta•4m ago•0 comments

Show HN: TemplateFlow – Build AI workflows, not prompts

https://github.com/heyaohuo/TemplateFlow
1•yaohuo•4m ago•0 comments

Show HN: Searchable aggregator of 24M London council spending transactions

https://cspend.uk
2•ashfn•5m ago•1 comments

Why AI Models Fail at Iterative Reasoning and What Could Fix It

https://medium.com/@contact.n8n410/why-ai-models-fail-at-iterative-reasoning-51f8f9930625
1•solscan_dev•7m ago•0 comments

The Missing Sidebar in Cursor

https://morningcoffee.io/git-compare
1•shiroyasha•8m ago•0 comments

I built Google Bigtable in Go. Single file, zero dependencies

https://jitesh117.github.io/blog/implementing-google-bigtable-in-golang/
2•Jitesh117•9m ago•0 comments

Why Developers Keep Choosing Claude over Every Other AI

https://www.bhusalmanish.com.np/blog/posts/why-claude-wins-coding.html
1•okchildhood•9m ago•0 comments

Show HN: NostalgiApp – Native macOS launcher for 7k+ DOS games (eXoDOS)

1•mmsols•12m ago•0 comments

What the coming era of highly bespoke software might look like

https://twitter.com/karpathy/status/2024583544157458452
1•stared•13m ago•0 comments

Ask HN: How to measure how much data one can effectively process or understand?

5•mbuda•14m ago•1 comments

A Brief History of the Creator of C++: Bjarne Stroustrup (video)

https://www.youtube.com/watch?v=uDtvEsv730Y
1•michelangelo•16m ago•0 comments

I'm Sick of This AI Shit [video]

https://www.youtube.com/watch?v=7XGct4rbYfI
1•thm•17m ago•0 comments

Show HN: Legal RAG Bench

https://isaacus.com/blog/legal-rag-bench
2•beowa•18m ago•0 comments

Mrhbaan Syria Fedora Linux Now Available in Syria

https://fedoramagazine.org/fedora-syria/
1•_sofar•19m ago•0 comments

AWS Security Best Practices: Proven Strategies for 2026

https://www.kellton.com/kellton-tech-blog/aws-security-best-practices
1•Priyasinhakt•20m ago•0 comments

Personal Blog Should Have Comments

https://medv.io/blog/your-personal-blog-should-have-comments
1•medv•21m ago•0 comments

The moat has moved: Software used to be expensive to build

https://designexplained.substack.com/p/the-moat-has-moved
1•kaizenb•22m ago•0 comments

Show HN: OpenClaw Assistant – Android voice assistant app for OpenClaw

https://github.com/yuga-hashimoto/openclaw-assistant
1•YugaHashimoto•22m ago•0 comments

Show HN: Doksnet – keep docs and code in sync with hash verification

1•pulko•22m ago•0 comments

Erxi or how I learned to love the fast testing suite

https://hahn.website/blog/erxi/
1•t_null•24m ago•0 comments

Silicon Valley engineers were indicted for allegedly sending secrets to Iran

https://www.cnbc.com/2026/02/20/three-engineers-charged-stealing-google-trade-secrets-data-iran-s...
1•giuliomagnifico•25m ago•0 comments

Reproducing Anthropic's "Counting Manifold"

https://huggingface.co/spaces/t-tech/manifolds
3•ummagumm_a•26m ago•2 comments

Show HN: Forked – a local time-travel debugger for OpenClaw agents

https://github.com/MurbotLabs/Forked
1•TedOS•29m ago•0 comments

Cardiologist wins 3rd place at Anthropic's hackathon

https://twitter.com/trajektoriePL/status/2024774752116658539
2•admp•29m ago•0 comments

How to Fix Circular Imports in a React/TypeScript Application

https://jsdev.space/howto/circular-imports-ts/
2•javatuts•34m ago•0 comments