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!

Anthropic Targets Valuation of Up to $1.4T for Blockbuster IPO

https://www.nytimes.com/2026/11/10/technology/anthropic-ipo-valuation-share-price.html
1•doener•1m ago•0 comments

Serving open-weight models at scale with vLLM

https://ngrok.com/blog/vllm
1•EndEntire•1m ago•0 comments

Ask HN: What other tools similar to Alibaba OCR do people use with LLMs?

1•pSYoniK•5m ago•0 comments

Goodbye, eggshell: How pregnancy emerged in the animal world

https://knowablemagazine.org/content/article/living-world/2026/why-did-pregnancy-evolve-in-animals
1•sohkamyung•7m ago•0 comments

Next-Level Benchmarking Overfitting

http://databasearchitects.blogspot.com/2026/11/next-level-benchmarking-overfitting.html
1•eatonphil•7m ago•0 comments

What's new in the .NET 11 runtime

https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-11/runtime
2•stevefan1999•8m ago•0 comments

Safety in Algae Home Experiments

https://chillphysicsenjoyer.substack.com/p/algae-safety-in-home-experiments
1•surprisetalk•8m ago•0 comments

Bun: Rewrote AOT again and it compiles this benchmark 4x faster now

https://twitter.com/jarredsumner/status/2119721266961871275
2•tosh•9m ago•0 comments

A marketplace where the product finds the buyer

https://onlyfoundrs.com/
1•Quise2003•9m ago•1 comments

The Hodge, Tate, and standard conjectures for abelian varieties

https://hexagonmath.org/2611.00244v1
1•QuesnayJr•12m ago•1 comments

Software selection is now hard, because of AI flood of projects

https://www.tglman.com/posts/the-new-struggle-for-software-selection-because-ai.html
1•tglman•13m ago•0 comments

MCP server security: a census of every host in the official MCP Registry

https://spellwarden.ai/research/mcp-server-security-2026-11
1•mariusmitrofan•14m ago•0 comments

The Mystery Behind a 50-Year-Old Factory Part Flying Off the Shelves

https://www.wsj.com/business/the-mystery-behind-a-50-year-old-factory-part-flying-off-the-shelves...
2•impish9208•16m ago•1 comments

'AI slop' papers published under prominent academics' names

https://www.timeshighereducation.com/news/ai-slop-papers-published-under-prominent-academics-names
1•pretext•17m ago•0 comments

AlphaProof Code

https://deepmind.google/blog/introducing-alphaproof-code/
23•ilreb•17m ago•5 comments

Beyond FLOP/s: comparing AI hardware for inference by memory and communication

https://epoch.ai/publications/inference-performance-index
1•ersinesen•19m ago•0 comments

Show HN: A linear model is an embedding table: using VW as transformer memory

https://www.liminalplanes.com/blog/vw
1•maxpagels•20m ago•0 comments

Show HN: VoxaDub – Open-source AI video dubbing with speaker-aware voices

https://github.com/kadirb4rut/voxadub
1•kadirb4rut•22m ago•0 comments

Sure mate, buy me a bloody coffee

https://peateasea.de/sure-mate-buy-me-a-bloody-coffee/
1•birdculture•23m ago•0 comments

Show HN: Cosh – An open-source AI agent orchestrator

https://github.com/DiegoZaluski/co-sh
2•Zaluski•23m ago•0 comments

PressPril – Unlock Everyday Vitality and Wellness

https://bookshop.org/lists/presspril-reviews-2026-we-tried-it-my-honest-review
1•albertomewak•23m ago•0 comments

Show HN: AI Hustle Team – an AI on its own computer that does your daily work

https://aihustleteam.com/
1•luiscfontan•24m ago•0 comments

Nanocode – a hackable coding agent in one Python file

https://github.com/car-mrazomor/nanocode-agent
1•someonefrom80s•26m ago•0 comments

Show HN: MbSCADA – Open-Source Modbus Poll and Scada in Rust

https://github.com/kostyk348/mbscada-rs
1•Kostyk348•27m ago•1 comments

Show HN: Eigin. Local-first and no-shell personal AI for iOS

https://github.com/Eigin-AI/Eigin
2•danielrothmann•28m ago•0 comments

Small-Grid Wraparound Cellular Automata

https://justismills.substack.com/p/small-grid-wraparound-cellular-automata
1•surprisetalk•28m ago•0 comments

Show HN: Chatty – Open-source AI support engine with WooCommerce sync

https://github.com/PersonaliAI/chatty
2•TharinduDama•31m ago•0 comments

Show HN: Commune, one feed for newsletters on Beehiiv, Kit, Ghost, and more

https://usecommune.com
3•fmvilas•33m ago•1 comments

Show HN: A 15 MB self-hosted Netflix and Spotify for your media server

https://github.com/HolyArrs/HolyArrs
3•CoderLuii•37m ago•0 comments

ZX Spectrum in SQL Server and Daley Thompson's Decathlon

https://sqlartist.github.io/posts/zx-spectrum-48k-in-sql-server-running-daley-thompsons-decathlon/
1•_usefulcat•40m ago•2 comments