forked from Timmy_Foundation/the-nexus
This repository has been archived on 2026-03-24 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
gemini/issue-13
Implements Timmy as an economic peer with sovereign Nostr presence: - nostr.js: New module handling keypair lifecycle (localStorage), NIP-01 signed notes, NIP-57 zap requests, NIP-58 badge awards, relay broadcast, and an economic activity feed - app.js: Imports nostr module; adds 3D holographic "ECONOMIC" panel on the left side of the Nexus showing live npub + activity feed; wires /zap, /vouch, /note, /identity, /relays chat commands; animates economic panel scanline in game loop - index.html: Adds Nostr identity HUD widget (top-right) showing npub with Zap, Vouch, and ID buttons; Zap modal and Vouch modal for point-and-click economic actions; inline module script for modal UX - style.css: Full design system for .nostr-panel, .nostr-modal, form inputs, action buttons, status indicators, and zapFlash keyframe animation on incoming zaps Keypair persists in localStorage (timmy_nostr_privkey_v1). Broadcasts to damus.io, relay.nostr.band, nos.lol, relay.snort.social. Fixes #13 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
◈ The Nexus — Timmy's Sovereign Home
A Three.js environment serving as Timmy's sovereign space — like Dr. Strange's Sanctum Sanctorum, existing outside time. The Nexus is the central hub from which all worlds are accessed through portals.
Features
- Procedural Nebula Skybox — animated stars, twinkling, layered nebula clouds
- Batcave Terminal — 5 holographic display panels arranged in an arc showing:
- Nexus Command (system status, harness state, agent loops)
- Dev Queue (live Gitea issue references)
- Metrics (uptime, commits, CPU/MEM)
- Thought Stream (Timmy's current thoughts)
- Agent Status (all agent states)
- Morrowind Portal — glowing torus with animated swirl shader, ready for world connection
- Admin Chat (Timmy Terminal) — real-time message interface, ready for Hermes WebSocket
- Nexus Core — floating crystalline icosahedron on pedestal
- Ambient Environment — crystal formations, floating runestones, energy particles, atmospheric fog
- WASD + Mouse Navigation — first-person exploration of the space
- Post-Processing — Unreal Bloom + SMAA antialiasing
Architecture
the-nexus/
├── index.html # Entry point with HUD overlay, chat panel, loading screen
├── style.css # Nexus design system (dark space theme, holographic panels)
└── app.js # Three.js scene, shaders, controls, game loop
Running Locally
npx serve . -l 3000
# Open http://localhost:3000
Roadmap
- Wire chat to Hermes WebSocket (
/api/world/ws) - Pull live data into terminal panels from Timmy's actual state
- Portal walk-through interaction to load destination worlds
- Timmy's avatar (lizard wizard body he designs himself)
- Connect to AlexanderWhitestone.com as public entry point
- Integrate existing Replit timmy-tower world code
Related
- Gitea Issue: #1090 — EPIC: Nexus v1
- Live Demo: Deployed via Perplexity Computer
Part of The Timmy Foundation
Description
Timmy's Sovereign Home — Three.js environment with Batcave terminal, portal architecture, and admin chat. The central hub from which all worlds are accessed.
Languages
JavaScript
67%
CSS
19.6%
HTML
12.4%
Shell
0.7%
Dockerfile
0.3%