frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

What Makes an Exceptional Engineer?

https://essenceia.github.io/thoughts/exceptional_engineers/
2•random__duck•1m ago•0 comments

A UX Focused Guide to Building a Linux Distro for Normies

https://github.com/IAMME543/Open-But-Polished
2•masoniamme•4m ago•0 comments

Show HN: Thaw – Git branch for a running LLM (fork agents, skip prefill)

https://github.com/thaw-ai/thaw
1•nilsmatteson•7m ago•0 comments

Shantell Sans

https://shantellsans.com/process
2•aleda145•8m ago•0 comments

Show HN: Babo – A scripting natural language that works as intended

https://github.com/armbox/babo
1•theqoo•10m ago•0 comments

We Benchmarked Our Open Source Memory Tool Against a Microsoft Research Paper

https://medium.com/@vektormemory/we-benchmarked-our-open-source-memory-tool-against-a-microsoft-r...
1•vektormemory•11m ago•0 comments

Show HN: HN Station – A local-first HN desktop client with split-pane reading

https://github.com/rajeshkumarblr/hn_station
1•raj_db_dev•11m ago•0 comments

UAPs in the Siwa Oasis, Egypt [video]

https://www.youtube.com/watch?v=-RJRActuqQU&list=PL9pyFBJOY-8yvSs1y1MmtdKOoQLI5v9Zm&index=3
1•pcbtracer•11m ago•0 comments

Show HN: Presidential Stock Trade Tracker

https://www.quiverquant.com/Donald-Trump-Stock-Trades/
1•ckardat123•13m ago•0 comments

New 3D silicon chip breakthrough could extend Moore's Law for years

https://www.sciencedaily.com/releases/2026/05/260530053412.htm
1•jonbaer•13m ago•0 comments

My Remaining Use for Pen and Paper

https://jarbus.net/blog/my-remaining-use-for-pen-and-paper/
1•jarbus•14m ago•0 comments

Tesla's 'Full Self-Driving' fraud lawsuit gets first hearing in China

https://electrek.co/2026/05/30/tesla-fsd-china-lawsuit-first-hearing-10-owners/
4•breve•16m ago•0 comments

Why Deep Learning Works Even Though It Shouldn't

https://moultano.wordpress.com/2020/10/18/why-deep-learning-works-even-though-it-shouldnt/
1•simianwords•16m ago•0 comments

Show HN: AI command review drill for engineers and vibe coders

https://www.proreview.dev/
1•shaad1337•18m ago•0 comments

A browser horror game about clicking primes

https://ipipgamedev.itch.io/idle-primes
1•ABudrys•18m ago•0 comments

AWS Budgets Has an 8-Hour Delay. Your Bedrock Bill Doesn't

https://blog.llmcap.io/aws-budgets-has-an-8-hour-delay-your-bedrock-bill-doesn-t
1•cfaruk•22m ago•0 comments

Resonate: Low latency, high temporal and frequency resolution spectral analysis

https://alexandrefrancois.org/Resonate/
4•arjf•22m ago•1 comments

Step 3.7 Flash – 198B-A11B MoE vision-language model

https://huggingface.co/stepfun-ai/Step-3.7-Flash
1•dryarzeg•23m ago•0 comments

Republicans are trying to kill science in this country

https://www.npr.org/2026/05/21/nx-s1-5828768/science-funding-cuts-nih-trump-administration
6•pdar4123•24m ago•0 comments

You need to stop using Google now

https://www.youtube.com/watch?v=4WyduoGpIPo
4•cable2600•24m ago•2 comments

The AV2 Video Standard Has Released (Final v1.0 Specification)

https://av2.aomedia.org
5•ksec•28m ago•0 comments

The first documented digitallipogram – URL erases a tech giant from the alphabet

https://logoggilo.substack.com/p/abcdfhijkmnpqrstuvwxyzcom-lipogram
1•gillesr•30m ago•1 comments

Show HN: Phive

https://phive.app
1•0xCA1EB•31m ago•0 comments

Why the Brain Cannot Be a Computer

https://arxiv.org/abs/2503.10518
2•Cerchie•32m ago•0 comments

The timing of the impending crude crisis

https://www.brookings.edu/articles/the-timing-of-the-impending-crude-crisis/
3•mooreds•34m ago•0 comments

Linda Perry: Writing and Producing Hits [video]

https://www.youtube.com/watch?v=e8pmhdjHCxM
1•bartekurbanski•34m ago•0 comments

10g Upgrade

https://klaxzy.net/var/infra/10g-upgrade.html
1•klaxzygen•42m ago•0 comments

Provisioning a Private Talos Kubernetes Cluster on Hetzner Cloud

https://onatm.dev/2026/05/30/provisioning-a-private-talos-kubernetes-cluster-on-hetzner-cloud/
2•onatm•43m ago•0 comments

OpenLogi – Rust Alternative to Logi Options+

https://github.com/AprilNEA/OpenLogi
1•elmean•49m ago•2 comments

UK public data to inform decisions and build services

https://www.data.gov.uk
1•als0•51m ago•0 comments