LLM Automate Test is a FastAPI service that takes a natural language task brief, generates a complete web application using an LLM, creates a GitHub repository, and deploys the app to GitHub Pages automatically.
How it Works
-
FastAPI receives a task brief via API.
-
The LLM generates HTML, CSS, JavaScript, and README files.
-
A GitHub repository is created or updated automatically.
-
Files are committed and GitHub Pages is enabled.
-
After deployment, the evaluation server is notified.
The entire flow runs asynchronously in the background.
Create a .env file:
GITHUB_TOKEN=your_github_token
GITHUB_USERNAME=your_username
OPENAI_API_KEY=your_openai_key
USER_SECRET=your_secret
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload
Server runs at: