# steamtools-games/manifesthub3 architecture

> Architecture diagram of the GitHub repository steamtools-games/manifesthub3, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/steamtools-games/manifesthub3
- Repository: https://github.com/steamtools-games/manifesthub3

## Overview

ManifestHub3 is a Git-backed cache of Steam manifest data, with one App ID per branch and Lua/key files for SteamTools. The documented user workflow runs through the separate steamtools.games service: users search or submit an App ID, the service checks availability and retrieves files from GitHub, then offers a ZIP package. Search, storefront verification, API endpoints, and caching are documented capabilities of that external service, not source code in this repository. The archive is explicitly historical and unused by the website; no implementation source was provided.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_manifest_cache["Manifest cache"]
  node_app_branch[("App ID branches")]
  node_lua_manifest["Lua manifest files"]
  node_key_vdf["Key VDF files"]
end

subgraph group_legacy_archive["Legacy archive"]
  node_archive_keys["Legacy depot keys<br/>[depotkeys.json]"]
  node_archive_tokens["Legacy access tokens"]
end

node_user(("SteamTools user"))
node_website["steamtools.games"]
node_search_api["Search API"]
node_generate_api["Generate API"]
node_steam_catalog["Steam catalog"]
node_storefront_check["Storefront verification"]
node_d1_cache[("Cloudflare D1 cache")]
node_zip_cache[("ZIP LRU cache")]
node_github_branch_api["GitHub Branch API"]
node_github_raw["GitHub Raw Content"]
node_zip_package["Download ZIP"]

node_user -->|"searches or requests"| node_website
node_website -->|"exposes"| node_search_api
node_website -->|"exposes"| node_generate_api
node_search_api -->|"searches"| node_steam_catalog
node_generate_api -->|"verifies app"| node_storefront_check
node_website -->|"caches results"| node_d1_cache
node_website -->|"caches packages"| node_zip_cache
node_website -->|"checks branch"| node_github_branch_api
node_github_branch_api -->|"checks app ID"| node_app_branch
node_website -->|"fetches files"| node_github_raw
node_github_raw -->|"reads"| node_lua_manifest
node_github_raw -->|"reads"| node_key_vdf
node_website -->|"serves package"| node_zip_package
node_lua_manifest -->|"included in"| node_zip_package
node_key_vdf -->|"included in"| node_zip_package

click node_archive_keys "https://github.com/steamtools-games/manifesthub3/blob/main/archive/depotkeys.json"
click node_archive_tokens "https://github.com/steamtools-games/manifesthub3/blob/main/archive/appaccesstokens.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app_branch,node_lua_manifest,node_key_vdf,node_user toneBlue
class node_archive_keys,node_archive_tokens,node_d1_cache,node_zip_cache toneAmber
class node_website,node_steam_catalog,node_storefront_check,node_github_raw,node_zip_package toneIndigo
class node_search_api,node_generate_api,node_github_branch_api toneMint
```

## Components

### Manifest cache

- **App ID branches**
- **Lua manifest files**
- **Key VDF files**

### Legacy archive

- [Legacy depot keys](https://github.com/steamtools-games/manifesthub3/blob/main/archive/depotkeys.json): `archive/depotkeys.json`
- [Legacy access tokens](https://github.com/steamtools-games/manifesthub3/blob/main/archive/appaccesstokens.json): `archive/appaccesstokens.json`

### Other components

- **SteamTools user**
- **steamtools.games**
- **Search API**
- **Generate API**
- **Steam catalog**
- **Storefront verification**
- **Cloudflare D1 cache**
- **ZIP LRU cache**
- **GitHub Branch API**
- **GitHub Raw Content**
- **Download ZIP**

## Connections

- SteamTools user → steamtools.games: searches or requests (evidence: `README.md`)
- steamtools.games → Search API: exposes (evidence: `README.md`)
- steamtools.games → Generate API: exposes (evidence: `README.md`)
- Search API → Steam catalog: searches (evidence: `README.md`)
- Generate API → Storefront verification: verifies app (evidence: `README.md`)
- steamtools.games → Cloudflare D1 cache: caches results (evidence: `README.md`)
- steamtools.games → ZIP LRU cache: caches packages (evidence: `README.md`)
- steamtools.games → GitHub Branch API: checks branch (evidence: `README.md`)
- GitHub Branch API → App ID branches: checks app ID (evidence: `README.md`)
- steamtools.games → GitHub Raw Content: fetches files (evidence: `README.md`)
- GitHub Raw Content → Lua manifest files: reads (evidence: `README.md`)
- GitHub Raw Content → Key VDF files: reads (evidence: `README.md`)
- steamtools.games → Download ZIP: serves package (evidence: `README.md`)
- Lua manifest files → Download ZIP: included in (evidence: `README.md`)
- Key VDF files → Download ZIP: included in (evidence: `README.md`)
