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!

How many strings can you create per second?

https://lemire.me/blog/2026/09/25/how-many-strings-can-you-create-per-second/
1•kristianp•2m ago•0 comments

VevDB

https://vevdb.com/
1•DASD•2m ago•1 comments

Show HN: Vanish moves heavy computation off your laptop

https://vanishcompute.com/
2•fcesco•3m ago•0 comments

Machine Learning Systems

https://mlsysbook.ai/
1•7777777phil•4m ago•0 comments

Eyes on Asteroids (NASA)

https://eyes.nasa.gov/apps/asteroids/
1•vetchzero•11m ago•0 comments

My Ansible Plugin Had a Jail Escape: CVE-2026-55074

https://blog.hofstede.it/my-ansible-plugin-had-a-jail-escape-cve-2026-55074/
1•zdw•12m ago•0 comments

Why Retail Stores are closing across America in 2026

https://www.youtube.com/watch?v=sD5uzN5Q0F0
2•ViktorRay•13m ago•0 comments

George Hotz’s opinion on AI coding

https://twitter.com/__tinygrad__/status/2044354852663558370
2•sashank_1509•14m ago•2 comments

Save Your Time with These Agentic RAG Patterns

https://medium.com/@ZikoZero011/rag-is-easy-until-the-questions-stop-being-easy-a76186e11394
3•Natashiiy•16m ago•1 comments

Thieves steal Nvidia-labeled trailers – yields 20 tons of sand

https://www.tomshardware.com/pc-components/gpus/thieves-steal-nvidia-labeled-trailers-expecting-m...
1•toss1•18m ago•0 comments

AI Has Cracked the Most Diabolical Problems in Math. Why Can't It Solve Chess?

https://www.wsj.com/tech/ai/chess-artificial-intelligence-ai-e969a830
2•Anon84•19m ago•1 comments

Show HN: ShotCandy – Turn any screenshot into a beautiful share-ready image

https://github.com/btahir/shotcandy
1•bilater•19m ago•0 comments

Latency reduction for consumer facing AI applications

1•akiimehta•20m ago•0 comments

Show HN: InkVec Studio – In-browser, SOTA, WASM based (rust) vectorizer

https://logolabs-inkvec.static.hf.space/studio/index.html
1•stefatorus•22m ago•0 comments

Fundamentals still worth learning when AI writes the code

https://flaviocopes.com/fundamentals-ai-era/
1•ibobev•25m ago•0 comments

A thesis isn't enough for a PhD

https://lemire.me/blog/2026/09/26/a-thesis-isnt-enough-for-a-phd/
2•ibobev•28m ago•0 comments

How fast can you fix a UTF-16 string in C#?

https://lemire.me/blog/2026/09/26/how-fast-can-you-fix-a-utf-16-string-in-c/
1•ibobev•28m ago•0 comments

NAND-16: a computer built from 277,248 NAND gates

https://somethingbig.ai/computer
1•rossant•28m ago•0 comments

T3rnel Browser – DevTools you can talk to, and a browser your AI can drive

https://t3ratech.github.io/t3rnel-browser-plugin/
1•tkaviya•30m ago•0 comments

Neo – Hugh Howey

https://hughhowey.com/neo-fiction-without-friction/
3•seesthruya•32m ago•1 comments

Show HN: Jev-Like Model Learns to Cook

https://rlafuente.com/posts/2026-9-26-training-a-small-decision-model-to-cook#
1•andes314•33m ago•0 comments

A Programmable Programming Language (2018)

https://cacm.acm.org/research/a-programmable-programming-language/
3•so-cal-schemer•39m ago•1 comments

EV Sales Are Booming in Europe with Gasoline at $10 a Gallon

https://www.bloomberg.com/news/articles/2026-09-24/electric-car-sales-soar-52-in-europe-with-fuel...
5•blondie9x•39m ago•0 comments

Did Anthropic's A.I. Really Make a Scientific Discovery on Its Own?

https://www.nytimes.com/2026/09/27/science/anthropic-biology-enzyme-mestre.html
2•jbegley•41m ago•0 comments

Show HN: Minecraft PvP against DiffusionGemma-as-Jev, 24 ms per decision

https://mc.alexzms.com
1•alexzms•41m ago•0 comments

UFO-core multiplayer agentic environs

https://github.com/ufo-ai/ufo-core
1•handfuloflight•42m ago•0 comments

Cognitive Sanctuaries Or: Manifesto of the Department Chair

https://terrytao.wordpress.com/2026/09/27/cognitive-sanctuaries-or-manifesto-of-the-department-ch...
1•smilelamp•42m ago•0 comments

Cloudflare fixes Containers cross-tenant flaw exposing customer data

https://www.bleepingcomputer.com/news/security/cloudflare-fixes-containers-cross-tenant-flaw-expo...
1•sbulaev•47m ago•0 comments

Lunar Terminator Paradox

https://notes.secretsauce.net/notes/2026/09/27_lunar-terminator-paradox.html
19•dima55•48m ago•3 comments

Session Revocations at Scale

https://www.canva.dev/blog/engineering/session-revocations-at-scale/
1•bucket2015•49m ago•0 comments