Dreamterpreter is an AI-powered dream interpretation chatbot built with Next.js and OpenAI's GPT-4o model. It provides users with insightful analyses of their dreams, offering potential interpretations while encouraging self-reflection.
- AI-powered dream interpretation
- Sentiment analysis of dreams
- Tagging of key dream symbols
- Summary of dream themes
- Dark mode support
- Responsive design
First, clone the repository and install the dependencies:
git clone https://github.com/yourusername/dreamterpreter-next.git
cd dreamterpreter-next
npm install
Then, set up your environment variables:
- Create a
.env.local
file in the root directory - Add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
Now, you can run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
app/
: Contains the main application codeapi/
: API routescomponents/
: Reusable React componentslib/
: Utility functionspage.tsx
: Main page component
public/
: Static assets
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.