Smarter Studying, Effortless Focus
Boost your learning with AI-powered notes, insights, and progress trackingβall in one place.
Zen is an intelligent study companion designed to revolutionize how students learn and track their academic progress. Built with modern web technologies, it combines AI-powered note generation, interactive flashcards, progress tracking, and personalized study insights to create a comprehensive learning platform.
- Smart Content Processing: Generate summaries from pasted text, uploaded files, or Google Drive documents
- Instant Insights: AI analyzes content to create structured, digestible notes
- Multi-Source Support: Import from various sources including Google Drive integration
- Auto-Generation: Create flashcards automatically from your notes using AI
- Flip Animation: Smooth 3D card animations for engaging study sessions
- Progress Tracking: Monitor your flashcard performance and retention rates
- Study Analytics: Detailed breakdowns of study habits and performance
- Streak Tracking: Monitor daily study streaks and consistency
- Goal Setting: Set and track study hour goals with visual progress indicators
- Weekly Wrap: Comprehensive weekly reports of your learning journey
- Personalized Study Plans: AI-generated study schedules tailored to your learning goals
- Smart Recommendations: Intelligent suggestions to optimize your study approach
- Adaptive Learning: Plans that adjust based on your progress and performance
- Learning Style Assessment: Discover your unique study personality with fun cat-themed personas
- Behavioral Insights: Understand your study patterns and preferences
- Personalized Tips: Get customized advice based on your learning style
- Real-time Analytics: Live updates on study sessions, notes created, and goals achieved
- Contribution Graph: GitHub-style activity visualization for study consistency
- Performance Metrics: Track scores, completion rates, and improvement over time
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS with custom animations
- UI Components: Radix UI primitives
- Animation: Framer Motion & GSAP
- Icons: Lucide React & React Icons
- Database: PostgreSQL with Prisma ORM
- Authentication: Supabase Auth with Google OAuth
- AI Integration: Google Generative AI (Gemini)
- File Storage: Google Drive API integration
- Code Quality: ESLint, Prettier, Husky
- Package Manager: npm/yarn/pnpm/bun support
- Build Tool: Turbopack for fast development
- PWA: Next PWA for offline capabilities
- Node.js 18+
- PostgreSQL database
- Google Cloud Console project (for AI and Drive integration)
- Supabase project
-
Clone the repository
git clone <repository-url> cd iseac-hackathon
-
Install dependencies
npm install # or yarn install # or pnpm install
-
Environment Setup Create a
.env.localfile in the root directory:# Database DATABASE_URL="postgresql://..." DIRECT_URL="postgresql://..." # Supabase NEXT_PUBLIC_SUPABASE_URL="your-supabase-url" NEXT_PUBLIC_SUPABASE_ANON_KEY="your-supabase-anon-key" # Google AI GOOGLE_AI_API_KEY="your-google-ai-api-key" # Google OAuth GOOGLE_CLIENT_ID="your-google-client-id" GOOGLE_CLIENT_SECRET="your-google-client-secret"
-
Database Setup
npx prisma migrate dev npx prisma generate
-
Run the development server
npm run dev
Open http://localhost:3000 to view the application.
src/
βββ app/ # Next.js App Router
β βββ (auth)/ # Authentication pages
β βββ (routes)/ # Main application routes
β β βββ ai-notes/ # AI note generation
β β βββ dashboard/ # Main dashboard
β β βββ goal-helper/ # AI study planning
β β βββ progress-tracker/ # Progress analytics
β β βββ study-deck/ # Flashcard interface
β β βββ weekly-wrap/ # Weekly reports
β βββ api/ # API routes
β βββ globals.css # Global styles
βββ components/ # Reusable UI components
β βββ ui/ # Base UI components
β βββ modals/ # Modal components
βββ hooks/ # Custom React hooks
βββ lib/ # Utility libraries
βββ providers/ # Context providers
βββ utils/ # Helper utilities
prisma/
βββ schema.prisma # Database schema
βββ migrations/ # Database migrations
public/
βββ screenshots/ # App screenshots
βββ icons/ # Application icons
βββ fonts/ # Custom fonts
The application uses PostgreSQL with Prisma ORM. Key models include:
- Profile: User information and study statistics
- Note: AI-generated and user notes
- Flashcard: Interactive study cards
- Exam: Quiz results and scores
- Progress: Daily study progress tracking
- Activity: User activity logging
- Session: Study session data
- Dark Theme: Sleek dark interface with purple accent colors
- Smooth Animations: Framer Motion and GSAP for fluid interactions
- Responsive Design: Mobile-first approach with desktop optimization
- Custom Gradients: Beautiful gradient backgrounds and text effects
- 3D Elements: Interactive 3D flashcard animations
Zen is built as a Progressive Web App with:
- Offline functionality
- App-like experience on mobile devices
- Push notifications (future feature)
- Fast loading with service worker caching
- Supabase Auth: Secure authentication system
- Google OAuth: Easy sign-in with Google accounts
- Row Level Security: Database-level security policies
- Session Management: Secure session handling
- Google Gemini: Advanced AI for content analysis and generation
- Smart Summarization: Intelligent content extraction and structuring
- Personalized Recommendations: AI-driven study suggestions
- Natural Language Processing: Understanding and processing study materials
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on git push
The app can be deployed on any platform supporting Next.js:
- Netlify
- Railway
- Digital Ocean
- AWS Amplify
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built for the ISEAC Hackathon
- Inspired by modern study methodologies and AI advancements
- Special thanks to the open-source community for the amazing tools and libraries
Made with β€οΈ by the Zen team
πββ¬ Happy studying! πββ¬
