Skip to content

dennisimoo/Infinite-Web

Repository files navigation

Infinite Web

AI-generated websites on demand using Gemini 2.0 Flash.

🌐 Live Demo: https://infinitewebai.fly.dev/

Features

  • Visit any path and get a unique AI-generated webpage
  • Every refresh creates completely new content
  • No caching - always fresh AI creativity
  • Pure AI design - no hardcoded styling
  • Infinite hyperlinks - AI creates links to subpages that generate more content
  • Nested navigation - Follow links to explore infinitely branching content trees

Live Examples

Try these paths on the live site:

Local Development

  1. Install dependencies:
pip install -r requirements.txt
  1. Add your API key to .env (choose one):

Option A - OpenAI GPT-4o-mini (recommended):

OPENAI_API_KEY=your_openai_api_key_here

Option B - Google Gemini 2.0 Flash:

GEMINI_API_KEY=your_gemini_api_key_here

The app automatically detects which API key is available and uses the appropriate service.

  1. Run the Flask app:
python app.py
  1. Visit localhost:3000 and explore:
    • localhost:3000/ - AI picks any topic
    • localhost:3000/cats - AI creates content about cats
    • localhost:3000/?topic - AI creates content about topic
    • localhost:3000/anything/you/want - AI interprets the path

How it works

The AI generates complete HTML pages including CSS, JavaScript, and content. Every visit triggers a new generation, making each page unique even for the same URL. The AI also generates hyperlinks to related subpages, creating an infinite web of interconnected content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published