Lightweight, vanilla JavaScript frontend for the Vincent AI B2B lead generation platform.
This repository contains the static client-facing web apps. There is no build step, no framework bloat, and no package manager required. It relies entirely on native browser APIs and Server-Sent Events (SSE) to stream markdown-formatted responses in real-time from the Python/Flask backend.
fetch API handling chunked SSE streamsThe primary interactive interface for prospective customers. It is designed to act as a standalone landing page or an embeddable iframe.
Routing:
Requires a valid client URL parameter to initialize.
[https://vincentrasskazov.com.au/ai/demo.html?client=smith-plumbing](https://vincentrasskazov.com.au/ai/demo.html?client=smith-plumbing)
Mechanics:
conversation_id on page load to group session data.requestAnimationFrame for high-performance text rendering.A secure, read-only dashboard for business owners to review their AI’s chat transcripts and verify captured leads.
Routing:
Requires a client parameter. Optionally accepts a conv parameter to auto-focus a specific session.
[https://vincentrasskazov.com.au/ai/logs.html?client=smith-plumbing&conv=sess_abc123](https://vincentrasskazov.com.au/ai/logs.html?client=smith-plumbing&conv=sess_abc123)
Mechanics:
en-AU formats.These files are designed to be statically hosted via GitHub Pages (or any basic web server).
Because the architecture is entirely decoupled, all environment variables and database credentials live exclusively on the backend server. The frontend only needs to know the public URL of the REST API (currently hardcoded to the Render production environment).
To run locally for testing or CSS modifications, simply serve the directory using Python’s built-in HTTP server:
python -m http.server 8000
Then open your browser to:
http://localhost:8000/demo.html?client=test-client