This project is a fun reminder that it's Wednesday. It uses OpenAI, Astro and GitHub Pages to automate the process.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Fork the repository to your own GitHub account
- Clone the repository to your local machine
For generating new images you need a OpenAI account with billing enabled and an API Key.
- Set the
OPENAI_API_KEY
environment variable to a valid API Key - Optional: Set the
OPENAI_PROMPT
environment variable or enter the prompt as input later - Make script executable
chmod +x scripts/generate_image.sh
- Run
./scripts/generate_image.sh
to generate a new image
- Install dependencies
npm install
- Run
npm run dev
to start the development server
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details.