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: Compose Launcher – A macOS app to run multiple Docker Compose files

https://github.com/yingbo/compose-launcher
1•yingbo•1m ago•0 comments

Time Travel: Temporal Mutability in the Absence of Hardware [pdf]

https://wbnns.com/time-travel.pdf
1•wbnns•2m ago•0 comments

1190: Time (prize-winning Xkcd comic animation)

https://deplicator.github.io/xkcd-time-at-your-pace/
1•felineflock•3m ago•0 comments

Monocod

1•twoelf•6m ago•0 comments

MinusPod: Automatically Remove Ads from Podcasts

https://github.com/ttlequals0/MinusPod
2•Ttlequals0•8m ago•2 comments

The Rise of the Techno-Pastoral

https://noreturn.blog/p/the-rise-of-the-techno-pastoral
1•SuperShibe•9m ago•0 comments

I built a browser-based version of the MARS MIPS simulator

https://webmars.nfiles.top/
2•nenepbl•14m ago•1 comments

Raymarching meets Dyalog APL (2024)

https://bl0v3.com/Blog/raymarching-in-dyalog-apl/
1•Duanemclemore•14m ago•0 comments

Tiled – Flexible Level Editor

http://www.mapeditor.org/
1•netule•16m ago•0 comments

Open source Claude Code swarms WTF

https://github.com/m0at/hermes-lite
1•sfffs•20m ago•1 comments

Work Life Balance in Japan's Tech Industry

https://japan-dev.com/blog/work-life-balance-in-the-japanese-tech-industry
1•etdev•21m ago•0 comments

Rust Bibliography

https://rustc-dev-guide.rust-lang.org/appendix/bibliography.html#rust-bibliography
1•vinhnx•22m ago•0 comments

Checking Write Bandwidth on GPUs

https://clamtech.org/?dest=gpuwrite
1•matt_d•23m ago•0 comments

Rectified Flow Auto Coder

https://world-snapshot.github.io/RAC/
1•E-Reverance•23m ago•1 comments

Servo is almost ready for Cordova, but there are two missing pieces

https://blog.merzlabs.com/posts/cordova-servo/
1•Fudgel•27m ago•0 comments

Model Collapse

https://aksioma.org/model-collapse
1•jruohonen•30m ago•0 comments

Show HN: Pmc – tiny single binary for packing code into LLM context

https://github.com/Water-Run/pack-my-code
3•linxxxx•30m ago•1 comments

I Asked My AI About Israel-Iran. It Tried to Intercept a Satellite

https://github.com/fredabila/orcbot
2•abilafredkb•30m ago•4 comments

Show HN: A high-performance, privacy-focused normal map generator in the browser

https://normalmap-generator.online/
1•maxnew•31m ago•1 comments

Show HN: Raglet(open-source)–portable RAG for small text corpora (no infra)

https://github.com/mkarots/raglet
1•cepstrum9•34m ago•1 comments

Seedance 2.0 Pro – Next-Gen AI Video Generator by ByteDance

https://www.seedance2pro.com
2•AgarwalKamrul•35m ago•2 comments

Paris: Causally Consistent Transactions with Partial Replication

https://arxiv.org/abs/1902.09327
1•Kinrany•35m ago•1 comments

Show HN: Transcribe audio from apps, files and your device's microphone

https://play.google.com/store/apps/details?id=com.dstudio.d_transcriber&hl=en
1•dstudios•36m ago•0 comments

Laws of UX

https://lawsofux.com/
1•celadevra_•36m ago•0 comments

Challenges in Decompilation and Reverse Engineering of CUDA-Based Kernels [pdf]

https://nicolo.dev/files/pdf/reverse26-cuda-kernels.pdf
1•matt_d•36m ago•0 comments

Tesla opens its first Megacharger station to Semi customers in California

https://electrek.co/2026/03/08/tesla-opens-first-megacharger-ontario-california-semi-customers/
2•mattas•37m ago•0 comments

Alabama set to execute man who didn't kill anyone

https://www.nbcnews.com/news/us-news/alabama-set-execute-man-not-kill-anyone-rcna262113
5•Jimmc414•38m ago•1 comments

Uber turned off $25M a year on Facebook Ads

https://read.earlystagegrowth.com/p/brand-marketing-at-uber-taught-me
2•joshlachkovic•38m ago•0 comments

WTI Crude over $100 a barrel after Iran US War Tensions refuse to calm

https://www.bbc.com/news/articles/c79542n0grwo
2•cermicelli•40m ago•0 comments

Coding agents wrote a chess engine in pure TeX

https://blog.mathieuacher.com/TeXCCChessEngine/
2•azhenley•43m ago•0 comments