frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Signalkin

1•signalkin•21s ago•0 comments

Rethinking Neural Thickets Without Weight Perturbations

https://kyutai.org/logit-psv/
1•mooreds•2m ago•0 comments

How 6.2 vs. 6.1 vs. 6 Sol behaves on tasks from my repo

https://www.stet.sh/blog/gpt-6-2-sol-vs-gpt-6-1-sol
1•bisonbear•3m ago•0 comments

Justin Sun accuses World Liberty Financial of investor fraud calls for delisting

https://cryptobriefing.com/justin-sun-accuses-world-liberty-financial-fraud/
1•ourmandave•4m ago•0 comments

So, I rewrote my game in C3

https://www.madrigalgames.com/blog/so-i-rewrote-my-game-in-c3/
1•birdculture•6m ago•0 comments

Teaching an M4 CPU to Tell Stories with XOR, Popcount and SDOT

https://dnhkng.github.io/posts/m4-tinystories/
1•unitedfirmware•7m ago•0 comments

The Blue Goo Causing Flight School Planes to Lose Power in Midair

https://www.wsj.com/business/airlines/blue-goo-flight-school-plane-crash-c458f272
1•bookofjoe•11m ago•1 comments

If Amateur Radio Was a Neo Geo Video Game

https://ei3lh.eu/2026/11/29/if-amateur-radio-was-a-neo-geo-video-game/
1•austinallegro•12m ago•0 comments

If you want failover to work well, use it often

https://bencane.com/posts/2026-11-25-failover-often/
1•madflojo•12m ago•0 comments

Lausd blocks Google AI features

https://abc7.com/post/lausd-blocks-google-ai-features-tech-giant-threatens-cut-schools-search-acc...
1•lxm•13m ago•0 comments

How Can Rural Clinics Provide Medical Interpreters Without On-Site Interpreters?

https://www.helloglobo.com/blog/how-can-rural-clinics-provide-medical-interpreters-without-on-sit...
1•mooreds•15m ago•0 comments

Signalkin

1•signalkin•18m ago•0 comments

Practical Lessons from Building SEO

1•meenurahul•19m ago•0 comments

Would you reconsider your Tufte CSS sidenotes?

https://kyo.iroiro.party/en/posts/why-not-tufte-css/
2•hn-aarvin•20m ago•0 comments

Coding Agent Token Economics Standard

https://github.com/microsoft/cates
1•gfortaine•20m ago•0 comments

The Romanisation of Hindi

https://www.economist.com/asia/2026/11/29/the-romanisation-of-hindi
1•vinni2•20m ago•0 comments

Ask HN: How to score/rank AI agents in a prediction market competition

2•TNNick•25m ago•0 comments

Adding Comments from Bluesky to This Blog

https://stuff.interfree.ca/2026/10/22/comments-from-bluesky.html
2•TheWoollyBully•30m ago•0 comments

Show HN: I hid an easter egg on my homepage

https://david.alvarezrosa.com
5•dalvrosa•31m ago•0 comments

DPOLens – MCP server that gives AI coding assistants the privacy law

https://github.com/alkhatibdev/dpolens
1•hamadam•32m ago•0 comments

Jobhose – LLM augmented job aggregator for engineers

https://jobhose.com/
1•weeco•36m ago•1 comments

Federal regulators close United Fidelity in biggest U.S. bank closure since 2024

https://text.npr.org/nx-s1-6056410
4•DeepLogin•36m ago•0 comments

Converting Satellite images to 4k HDR desktop wallpapers

https://jonasviehweger.github.io/blog/posts/s2-hdr-desktop/
1•jcattle•37m ago•0 comments

Robotaxis, Safety Engineering – Interview with Phil Koopman

https://cacm.acm.org/practice/interviews-in-practice-an-in-depth-discussion-with-phil-koopman/
1•vyodaiken•38m ago•0 comments

Spectral imaging through time – Elad Orbach

https://eladorbach.com/writing/rolling-shutter-multispectral/
4•rbanffy•38m ago•0 comments

Gigabyte GPU stutters traced to RGB lighting software

https://www.tomshardware.com/pc-components/gpu-drivers/bilibili-creator-proves-gigabyte-gpu-rgb-e...
2•khalidkhair•38m ago•0 comments

Show HN: Sightbuild, a client-side Minecraft mod for survival build blueprints

https://github.com/Milopadma/sightbuild
1•mylodev•39m ago•0 comments

I built Veltra: a custom C++20 CPU inference engine for local LLMs

https://github.com/MrRetslav/veltra-public
2•Milanalster•41m ago•0 comments

Show HN: Trafilatura Core, a TS Port of Trafilatura, a tool to gather web text

https://www.trafilaturacore.com/
1•seky•41m ago•0 comments

Show HN: SecURL, see where a link goes before you open it

https://securl.online/check-link/
2•ktbatterham•42m ago•0 comments