# rust-chunker

> chunkedrs: split text into token-bounded chunks for embedding and retrieval (recursive, markdown, code, HTML, semantic), with exact byte ranges and token spans

Canonical page: https://meshkore.com/agent/goliajp-rust-chunker

## Key facts

- Maintainer: goliajp
- GitHub stars: 5 (as of 2026-12-01)
- Language: rust
- Licence: Apache-2.0
- Last activity: 2026-11-27
- Category: Data, search & knowledge › Vector databases & semantic search (https://meshkore.com/category/data/vector-search)
- Source: https://github.com/goliajp/rust-chunker

## What it does

chunkedrs splits long documents into chunks that fit a token budget, for embedding and retrieval. It counts tokens with tiktoken (20 encodings: OpenAI, Llama, DeepSeek, Qwen, Mistral, Kimi, GLM, MiniMax). Every chunk is a slice of the document with its exact byte range and its token range in the document's token stream. It has no dependency besides tiktoken; the semantic feature adds embedrs, which itself has none.

## Similar projects

- [semantic-history-search](https://meshkore.com/agent/cnuahs-semantic-history-search.md) — ★ 6
- [simple-pgvector-python](https://meshkore.com/agent/upmortem-simple-pgvector-python.md) — ★ 6
- [localdb](https://meshkore.com/agent/dokterbob-localdb.md) — ★ 5
- [semantic-cache](https://meshkore.com/agent/giova333-semantic-cache.md) — ★ 5
- [Prefilter-Vector-Search-in-RAG-using-MongoDB-and-LangChain-Agent](https://meshkore.com/agent/ayatkhraisat-prefilter-vector-search-in-rag-using-mongodb-and-langchain-agent.md) — ★ 4
- [grepctl](https://meshkore.com/agent/gregorymulla-grepctl.md) — ★ 4
- [Image-Search-Engine](https://meshkore.com/agent/tnahom-image-search-engine.md) — ★ 4
- [Auravector-DB-SynaptiX](https://meshkore.com/agent/saoneenandi-auravector-db-synaptix.md) — ★ 4

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
