The Infinite Website
- Features
- Prerequisites
- Installation
- Usage
- Performance Considerations
- Contributing
- License
- Acknowledgements
- Contact
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
-
Clone the repository:
git clone https://gitlab.com/rogs/the-infinite-website.git
-
Navigate to the project directory:
cd the-infinite-website
-
Create a
virtualenv
and install the required Python dependencies:virtualenv .venv source .venv/bin/activate (.venv) pip install -r requirements.txt
-
Create your .env file and add your
OPENAI_KEY
:cp .env.example .env # Edit the .env file and add your OPENAI_KEY
Usage
-
With the
virtualenv
activated, start the Flask server:(.venv) flask run
- 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:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -am 'Add some feature'
. - Push the branch to your forked repository:
git push origin feature/your-feature-name
. - 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