Reads Thunderstore's package index into a compact on-disk listing, with CDN ordering, ror2mm links and manifest.json. Package thunderstore, module github.com/Rethunk-Tech/go-thunderstore.
For installers and mod managers that browse Thunderstore. A community's index is downloaded once, stored as a compact listing, and answered from disk after that: a stale listing is served at once while a rebuild runs behind it. Oversized or hostile answers fail with an error instead of exhausting memory.
go get github.com/Rethunk-Tech/go-thunderstoreA worked example and the contracts: HUMANS.md.
Clientkeeps a community's package index on disk, an hour fresh, and refreshes it in the background.Index,Client.EachandClient.Findread it whole or a package at a time; repeated dependency names and lists are held once.Indexholds a memoised listing compactly: dependency lists as varints, shared category lists, about a quarter less memory.Client.Versionsanswers a package's version list from a small side file, without loading the listing.Uploaderuploads a package zip and submits it under a team, as Thunderstore's CLI does.- Every answer is size-capped and every index-named chunk address is checked.
ParseLink,CDNOrder,OnHostandParseManifestcoverror2mm://links, download hosts andmanifest.json.
| Doc | Audience |
|---|---|
| HUMANS.md | Running and using the package |
| AGENTS.md | Internals, invariants, and why |
| CONTRIBUTING.md | Process — commits, tests, docs |
| SECURITY.md | Vulnerability disclosure |
| CHANGELOG.md | Release notes |
MIT — see LICENSE. © 2026 Rethunk.Tech, LLC.