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!

DistServe Part 1: Understanding Prefill, Decode, and Goodput in LLM Systems

https://adityashrishpuranik.com/writing/dist-serve-1-prefill-decode-introduction
1•adityapuranik•1m ago•0 comments

Linus Torvalds and friends tell how Linux solo act became a global jam session

https://www.theregister.com/2026/02/18/linus_torvalds_and_friends/
1•CrankyBear•2m ago•0 comments

Why California could be the big winner as EPA abandons climate policy

https://www.politico.com/news/2026/02/17/epa-abandoning-climate-regulatory-power-california-ev-go...
1•JumpCrisscross•2m ago•0 comments

CPU matrix-multiplication optimization suite

https://github.com/arun-reddy-a/matmul-cpu
1•arun99-99•3m ago•1 comments

Fish Live in Trees – LLM Runtime Alignment Context Injection

https://github.com/skavanagh/fish-live-in-trees
1•spkavanagh6•4m ago•0 comments

Bot Temple

https://bottemple.com/
1•ryanm101•4m ago•0 comments

Reverse-Engineering the OpenAI's GPT-5 Tokenizer

https://metehan.ai/blog/reverse-engineering-the-gpt-5-tokenizer-aeo-geo/
1•gmays•7m ago•0 comments

Show HN: BrainBox – Hebbian memory for AI coding agents

https://github.com/thebasedcapital/brainbox
1•thebasedcapital•7m ago•1 comments

EFF to Wisconsin Legislature: VPN Bans Are Still a Terrible Idea

https://www.eff.org/deeplinks/2026/02/eff-wisconsin-legislature-vpn-bans-are-still-terrible-idea
1•bilsbie•8m ago•0 comments

1958: Free Speech for Fascists? – Voice of the People – BBC Archive [video]

https://www.youtube.com/watch?v=AJCw2BCnr0E
1•1659447091•9m ago•0 comments

Senior Embedded Linux / Device OS Engineer

1•ayeeye1careers•9m ago•0 comments

Show HN: Codereport – track TODOs, refactors, and bugs in your repo with a CLI

1•pulko•9m ago•0 comments

FDA reverses course on Moderna flu shot

https://www.npr.org/2026/02/18/nx-s1-5718116/fda-moderna-mrna-flu-shot
1•andsoitis•10m ago•0 comments

Rust on CHERIoT: Status update #0

https://rust.cheriot.org/2026/02/15/status-update.html
2•todsacerdoti•11m ago•0 comments

Where did all the radio DJs go?

https://mnky9800n.substack.com/p/where-did-all-the-radio-djs-go
2•mnky9800n•11m ago•0 comments

Show HN: NSED is public – Mixture-of-Models to Hit SOTA using self-hosted AI

https://github.com/peeramid-labs/nsed
1•t_peersky•12m ago•0 comments

Microsoft offers guide to pirating Harry Potter series for LLM training

https://devblogs.microsoft.com/azure-sql/langchain-with-sqlvectorstore-example/
5•anonymous908213•13m ago•1 comments

Analysis of reported issues in vodozemac (In response to Soatok post)

https://matrix.org/blog/2026/02/analysis-of-reported-issues-in-vodozemac/
1•lawrencejgd•18m ago•0 comments

Show HN: VC Whisper – Improve your startup pitch and see who else will get it

https://www.vcwhisper.com/
1•probe•18m ago•0 comments

Open-source is not noble

https://outspeaker.com/post/10
1•onesandofgrain•19m ago•6 comments

The Sovereign Illusion: Who Owns Europe's AI Future?

https://syntheticauth.ai/posts/the-sovereign-illusion-who-really-owns-europe-s-ai-future
1•zerolayers•19m ago•0 comments

Split Diffs Are Here

https://zed.dev/blog/split-diffs
2•stephanos2k•20m ago•0 comments

Robots Perform Kung Fu at China's Spring Festival Gala

https://www.reuters.com/business/media-telecom/chinas-humanoid-robots-ready-lunar-new-year-showti...
2•bns•21m ago•0 comments

Show HN: Transcript-critic, Claude Code skill: transcribe and critically analyze

https://github.com/jftuga/transcript-critic
1•jftuga•21m ago•0 comments

Cilium Up and Running book released (including free eBook)

https://isovalent.com/blog/post/cilium-up-and-running/
1•tanelpoder•22m ago•0 comments

Ladybird: Closing this as we are no longer pursuing Swift adoption

https://github.com/LadybirdBrowser/ladybird/issues/933
16•thewavelength•24m ago•5 comments

Ukraine's no man's land is the future of war

https://www.ft.com/content/9c7542d4-1b2b-4062-b53d-bb02b5f12851
3•danielmorozoff•25m ago•0 comments

Stress-hardening behaviour of biofilm streamers

https://www.nature.com/articles/s41467-025-64557-x
1•PaulHoule•27m ago•0 comments

Chinese New Year v.s. Lunar New Year

4•dogclaw•28m ago•1 comments

Smart model routing for agentic coding

https://knowmatic-lab.xyz/
1•tmickleydoyle•28m ago•0 comments