frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Securing MCP Infrastructure

https://aliparnan.com/blog-mcp-security.html
1•aliparnan•6m ago•0 comments

Nokia went from iPhone victim to $1B Nvidia deal

https://www.ft.com/content/0a07cbc3-dac4-4b89-9f26-038deb833060
1•mmarian•6m ago•1 comments

Fountain pens are enjoying a revival among the digital generation

https://www.theglobeandmail.com/life/social-trends/article-fountain-pens-are-enjoying-a-revival-a...
1•pseudolus•7m ago•1 comments

One Number I Trust: Plain-Text Accounting for a Multi-Currency Household

https://lalitm.com/post/one-number-i-trust/
1•todsacerdoti•8m ago•0 comments

Starlink 2025 Progress Report

https://starlink.com/progress
1•davidgh•9m ago•0 comments

Dembrandt – Extract Design Systems in Seconds

https://www.dembrandt.com/
1•s4i•10m ago•0 comments

Corroded: Illegal Rust

https://github.com/buyukakyuz/corroded
1•christoph-heiss•17m ago•0 comments

Shipping publicly taught me more than months of "preparing to launch"

https://www.google.com/search?q=site:vect.pro&sca_esv=6ac9360805b83292&prmd=ivns&sxsrf=AE3TifMYbm...
1•afrazullal•18m ago•0 comments

Show HN: I built a weather alert system for photographers

https://app.photoweather.app/demo/live-demo
1•pontussw•19m ago•0 comments

AI and Open Source: A Maintainer's Take (End of 2025)

https://st0012.dev/ai-and-open-source-a-maintainers-take-end-of-2025
1•st0012•21m ago•2 comments

An LLM-Driven Multi-Agent Framework for Telescope Proposal Peer Review

https://arxiv.org/abs/2512.24754
1•TMEHpodcast•28m ago•0 comments

Instagram boss says the platform's polished feed is 'dead' thanks to AI

https://www.businessinsider.com/instagram-head-ai-images-polished-feed-dead-adam-mosseri-2026-1
2•pseudolus•29m ago•1 comments

The Accountability Trap: Why School Systems Abandon Gifted Students

https://wendyx3.substack.com/p/the-accountability-trap-why-school
1•barry-cotter•30m ago•1 comments

We've made an Open Source video platform

https://www.boostervideos.net
1•machimilah•31m ago•1 comments

Critique of Techno-Feudal Reason (2023) [pdf]

https://eclass.uoa.gr/modules/document/file.php/ECON969/Evgeny%20Morozov%20-%20Critique%20of%20Ne...
2•wslh•31m ago•0 comments

Destroying x86_64 instruction decoders with differential fuzzing

https://blog.trailofbits.com/2019/10/31/destroying-x86_64-instruction-decoders-with-differential-...
1•fanf2•31m ago•0 comments

Games in PostScript [pdf]

https://seriot.ch/ps_talk/gambiconf.pdf
2•beefburger•32m ago•0 comments

Brazil's largest lottery prize ever delayed due to 125k bets per second

https://manualdousuario.net/en/brazils-largest-lottery-prize-ever-postponed/
2•rpgbr•33m ago•0 comments

The NYC subway station chosen for Mamdani's swearing-in

https://www.npr.org/2025/12/31/nx-s1-5662726/mamdani-nyc-subway-station-history
2•wslh•34m ago•1 comments

Snoop Project Update (search for usernames on 5k websites)

https://github.com/snooppr/snoop/blob/master/README.en.md
1•zaharqoops•35m ago•0 comments

A Declaration of Interdependence

https://github.com/experimental-123/doi-2026
2•engiserstakr•37m ago•0 comments

Clojure: Transducers

https://clojure.org/reference/transducers
1•tosh•39m ago•0 comments

Real-life experiment shows Bohr was right in theoretical debate with Einstein

https://phys.org/news/2025-12-real-life-niels-bohr-theoretical.html
3•pseudolus•40m ago•0 comments

Meta made scam ads harder to find instead of removing them

https://sherwood.news/tech/rather-than-fully-cracking-down-on-scam-ads-meta-worked-to-make-them-h...
5•wtcactus•44m ago•0 comments

China's first real gaming GPU is here, benchmarks are brutal

https://www.howtogeek.com/are-chinese-gpus-coming-to-eat-nvidias-lunch/
3•msolujic•45m ago•0 comments

The Graphics Chip Chronicles

https://www.electronicdesign.com/graphics-chip-chronicles
2•jnord•48m ago•0 comments

Nvidia to buy AI21 Labs for $3B

https://www.reuters.com/business/nvidia-advanced-talks-buy-israels-ai21-labs-up-3-billion-report-...
2•warthog•49m ago•0 comments

Scientists Create Robotic Rabbits to Fight Invasive Burmese Pythons in Florida

https://scienceclock.com/robotic-rabbits-invasive-burmese-pythons-florida/
2•sylvainkalache•51m ago•1 comments

Veritasium: The Ridiculous Engineering of ASML Machine [video]

https://www.youtube.com/watch?v=MiUHjLxm3V0
2•sbt567•56m ago•0 comments

Fixing a Buffer Overflow in Unix v4 Like It's 1973

https://sigma-star.at/blog/2025/12/unix-v4-buffer-overflow/
1•birdculture•57m ago•0 comments