Today I Learned is an AI-powered learning support tool that helps you record daily discoveries, interact with AI, and track your learning progress.
- Ask AI: Interact with an AI assistant to get answers on any topic.
- Automatic Learning Summary: Summarize and organize your learnings from AI interactions.
- Learning Dashboard: Visualize your daily learning progress and growth.
- User Authentication: Secure sign-in with Google.
- Next.js: React framework for building the frontend and API routes.
- Firebase: Authentication and Firestore database.
- OpenAI: AI-powered chat functionality.
- Tailwind CSS: Utility-first CSS framework for styling.
- Chart.js: Creating interactive charts for the dashboard.
- Clone the repository:
git clone https://github.com/yourusername/today-i-learned.git cd today-i-learned
- Install dependencies:
npm install
- Set up environment variables:
Create a
.env.local
file in the root directory and add the following variables:
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_firebase_project_id NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id NEXT_PUBLIC_FIREBASE_APP_ID=your_firebase_app_id OPENAI_API_KEY=your_openai_api_key
- Run the development server:
npm run dev
- Open http://localhost:3000 with your browser to see the result.
To learn more about the technologies used in this project, check out the following resources:
- Next.js Documentation
- Firebase Documentation
- OpenAI API Documentation
- Tailwind CSS Documentation
- Chart.js Documentation
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.