The Poetic Phrase Generator is a web application that generates poetic phrases and combines them with beautiful images based on your favorite activity and place. It utilizes the OpenAI GPT-3 model to generate insightful, witty, and satirical phrases in the style of Oscar Wilde. The app fetches random images from Unsplash to match the mood of the generated quotes. Simply input your name, favorite activity, and favorite place, and let the app create a unique poetic phase for you.
To run the Poetic Phrase Generator locally on your machine, follow these steps:
- Clone this repository to your local machine using Git.
- Open the
index.html
file in your web browser. - Customize the
name
,favoriteActivity
,favoritePlace
, andtemperature
variables in theindex.js
file to personalize your poetic phrases.
$ npm install
$ npm start
- HTML
- CSS (with Normalize.css)
- JavaScript (ES6)
- OpenAI GPT-3 API
- Unsplash API
- Google Fonts (Old Standard TT, Balsamiq Sans, Cinzel, Inconsolata, Sora, Lobster, Metal Mania, MuseoModerno, Noto Sans HK, Pacifico)
- Personalized poetic phrases generated in the style of Oscar Wilde.
- Beautiful images fetched from Unsplash to complement the generated quotes.
- Dynamic background based on the chosen place.
- Easy customization of name, favorite activity, and favorite place.
- Responsive design for a seamless experience on various devices.
- Open the Poetic Phrase Generator in your web browser.
- Enter your name, favorite activity, and favorite place.
- Adjust the temperature slider to control the creativity of the generated phrases.
- Click the "Generate" button to see the poetic phrase and image.
- Enjoy the delightful combinations of poetic phrases and images!
We welcome contributions to improve the Poetic Phrase Generator. To contribute, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix
- Commit your changes and push them to your fork.
- Submit a pull request to the original repository.
This project is licensed under the MIT License.
Feel inspired and enjoy the poetic phrases with the Poetic Phase Generator!