THE MASTER PLAN
Here lies the roadmap to digital domination (or just cool website stuff).
1. The Guestbook & Hit Counter (Cloudflare D1)
Goal: Persistent storage for visitors to leave their mark.
The Tech Stack:
- Cloudflare D1: A serverless SQLite database at the edge. Perfect for storing simple text data like guestbook entries and an integer for the counter.
- Cloudflare Workers: Serverless functions that sit between the user and the database. The static site (this page) will make `fetch()` requests to the Worker (e.g., `GET /api/guestbook`, `POST /api/sign`).
Verdict: This is the modern, scalable way to do "classic" backend features on a static site.
2. Local AI Facilitator (Gradio)
Goal: Andy wants to jam with AI (Suno, Stable Diffusion, LLMs) using local hardware but controlled via this site.
How it works:
- The Local Machine: You run the heavy AI model on your powerful PC (using Python/Gradio).
- The Connection: Gradio apps typically run on `http://localhost:7860`.
- The Website: We create a page here that connects to that local port.
Implementation Strategy:
- Option A (Simple): Use an `<iframe>` pointing to `http://localhost:7860`. The browser handles the connection securely since it's all on your network.
- Option B (Advanced): Use the Gradio Client API (JavaScript) to build a custom "Geocities" UI that sends prompts to the local backend and displays the results, hiding the standard Gradio interface.
Verdict: Confirmed. The "Facilitator" model is standard practice for local-first AI dev.
3. MIDI Player Visualizer
Goal: Street Fighter MIDIs with a cool visualizer.
Status: Coming soon to a browser near you. We'll use `Tone.js` or standard Web Audio API to parse MIDI files and render bars/waveforms on an HTML5 Canvas.
⬅️ Back to Home