CineMood is a web application that provides personalized movie recommendations based on the user's mood. The user selects their mood on a scale of 0-10, and CineMood uses OpenAI and omdbAPI to generate a of movie recommendation that match the user's mood. PS: This project is still in development. Also, it is free and limited, so please don't abuse it.
You can view a demo of CineMood at https://cine-mood.vercel.app/.
CineMood was built with the following technologies:
- Next.js - a React framework for building server-side rendered (SSR) applications
- OpenAI - an artificial intelligence research laboratory consisting of the for-profit corporation OpenAI LP and its parent company, the non-profit OpenAI Inc.
- omdbAPI - an API that provides access to movie and TV show data
- styled-components - a CSS-in-JS library that allows you to write actual CSS code to style your components
To get started with CineMood, follow these steps:
- Clone the repository onto your local machine.
- Install the dependencies using
yarn
. - Create an account with OpenAI to obtain an API key.
- Create an account with omdbAPI to obtain an API key.
- Create a
.env.local
file in the root directory of the project and add the following environment variables:
- OPENAI_API_KEY=<your_OpenAI_API_KEY>
- NEXT_PUBLIC_OMDb_API_KEY=<your_NEXT_PUBLIC_OMDb_API_KEY>
- Start the development server using
yarn dev
. - Open your web browser and navigate to
http://localhost:3000/
.
To use CineMood, follow these steps:
- Move the slider to select your mood on a scale of 0-10.
- Click the "Suggest Me!" button to generate a movie recommendation that match your mood.
- After you clicked the button,you can view additional details about the movie, including its rating, genre, Rotten Tomatoes ratinh, IMDB rating, runtime, release year, and plot summary.
- You can also click the IMDB icon to view the movie on IMDB.
- Add more movie details
- Add more movie recommendations
- Add more moods
- Mobile responsiveness
If you would like to contribute to CineMood, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Implement your changes.
- Submit a pull request.
If you have any questions or feedback about CineMood, please contact me at [email protected].