Nostr Hero is a web application that derives a unique RPG-style character from your Nostr public key. Using a deterministic algorithm, the app transforms your identity into a digital champion with a race, class, background, alignment, and stats. This allows for a consistent and reproducible hero based on your cryptographic identity.
Runs the web server and serves HTML/CSS/JS files.
Processes Nostr public keys to deterministically generate character attributes.
Stores and serves character data via JSON.
Fetches character data dynamically from the Go backend.
Uses AJAX requests to update the UI without full page reloads.
Provides lightweight client-side interactivity.
Handles UI interactions efficiently.
Ensures a clean, responsive, and modern UI.
Deterministic Character Generation: Every Nostr key produces the same hero.
Race & Class Weighing: Different races and classes have unique distributions.
Background & Alignment System: Provides a backstory and moral compass.
D&D-Style Stats: Randomized yet balanced character stats.
Dynamic Frontend: No need for full page reloads thanks to HTMX.
Feel free to fork this repo, submit issues, or suggest improvements!
This project is Open Source and licensed under the MIT License. See the LICENSE file for details.
Special thanks to the Nostr community for their continuous support and contributions.
Open Source and made with 💦 by OceanSlim