Written with the help of Claude Sonnet 4.6.
A terminal-based multi-player RPG powered by the HuggingFace Inference API. Each player has their own isolated story context, memory, and universe. An optional React frontend provides a live dashboard with AI-generated scene images.
- Rust 1.85+ (for edition 2024)
- C++ Build Tools (Required for the linker):
- Windows: [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/#:~:text=Build%20Tools%20for%20Visual%20Studio (Check 'Desktop development with C++')
- macOS:
xcode-select --install - Linux:
- Ubuntu/Debian:
sudo apt install build-essential - Fedora:
sudo dnf groupinstall "Development Tools" - Arch:
sudo pacman -S base-devel
- Ubuntu/Debian:
- Node.js 24+
- A free HuggingFace account + API token
- A Google Cloud project (for optional Google Play sync feature)
- Sign up at https://huggingface.co
- Go to Settings → Access Tokens
- Create a token with "Read" permission (free tier)
Create .env in the project root:
HF_TOKEN=hf_yourtoken
- See Google Sign-in for Web for full documentation.
- Enable authorized JavaScript Origins and Authorized Redirect URIs to use
http://localhost:5173
GOOGLE_CLIENT_ID=your_client_id_here
GOOGLE_CLIENT_SECRET=your_client_secret_here
cargo build --release
cargo run --releasecd frontend
npm install
npm start # starts bridge server on :3001 AND Vite on :5173