2023-05-13 20:39:32 -03:00
2023-05-13 20:39:32 -03:00
2023-05-13 20:39:32 -03:00
2023-05-14 11:42:57 -03:00
2023-05-13 20:39:32 -03:00
2023-05-16 10:21:01 -03:00
2023-05-16 10:21:01 -03:00
2023-05-13 20:39:32 -03:00
2023-05-16 10:21:01 -03:00

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.

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
Description
The Infinite Website: Dynamic HTML generation made easy. Create engaging web experiences on the fly with AI-powered ChatGPT
Readme 652 KiB
Languages
Python 100%