3.5 KiB

The Infinite Website

The Infinite Website is a web application that dynamically generates HTML on runtime using ChatGPT and serves it in an async Flask application.

Of course, this README was also made with ChatGPT.

You can visit the site here: https://theinfinitewebsite.com. Be aware this is VERY slow, since ChatGPT has to generate the HTML in runtime. Take this like a "1999 internet emulator".

logo

This image was generated with Dall-E. The propmt was

An infinite, breathtaking, stunning space landscape. Focus on the "infinite" part.

Features

  • Dynamic HTML generation using ChatGPT
  • Async Flask application
  • Interactive and engaging web experiences

Prerequisites

  • Python 3.6 or higher
  • pip package manager

Installation

  1. Clone the repository:

    git clone https://gitlab.com/rogs/the-infinite-website.git
  2. Navigate to the project directory:

    cd the-infinite-website
  3. Create a virtualenv and install the required Python dependencies:

    virtualenv .venv
    source .venv/bin/activate
    (.venv) pip install -r requirements.txt
  4. Create your .env file and add your OPENAI_KEY:

    cp .env.example .env
    
    # Edit the .env file and add your OPENAI_KEY

Usage

  1. With the virtualenv activated, start the Flask server:

    (.venv) flask run
  2. Access the application by visiting http://localhost:5000 in your web browser.

Performance Considerations

The dynamic HTML generation process performed by ChatGPT during runtime can introduce some performance overhead, especially for complex or computationally intensive requests. As a result, the app's response times may be slower compared to pre-rendered static HTML websites.

Contributing

Contributions are welcome! If you would like to contribute to The Infinite Website, please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them: git commit -am "Add some feature".
  4. Push the branch to your forked repository: git push origin feature/your-feature-name.
  5. Open a merge request on GitLab.

License

Acknowledgements

  • This project was inspired by the concept of generating dynamic HTML using ChatGPT and Flask.
  • Special thanks to the contributors and open source community for their valuable contributions and support.

Contact

For any questions or inquiries, please reach out to the project maintainer:

  • Roger Gonzalez
  • Email: roger at rogs.me
  • GitLab: @rogs