Transform any text into intelligent flashcards with AI. Study smarter, learn faster, and boost your memory retention.
- 🤖 AI-Powered Generation: Powered by Google Gemini AI to create smart flashcards
- 🔄 Interactive Study Mode: Flip cards with smooth animations
- ☁️ Cloud Sync: Access your flashcards anywhere, anytime
- 📱 Mobile Responsive: Perfect experience on all devices
- 👤 User Authentication: Secure login with Clerk
- 💳 Payment Integration: Razorpay payment gateway for subscriptions
- 📊 Progress Tracking: Monitor your learning progress
- 🎨 Modern UI: Beautiful, clean design with dark/light themes
- Node.js 18+ and npm
- Firebase project
- Clerk account for authentication
- Google AI Studio account for Gemini API
- Razorpay account for payments
-
Clone the repository
git clone <repository-url> cd ai-flashcard-wizard
-
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Fill in your API keys and configuration:
GEMINI_API_KEY: Get from Google AI StudioNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY&CLERK_SECRET_KEY: From Clerk dashboard- Firebase configuration variables
- Razorpay keys for payments
-
Run the development server
npm run dev
-
Open your browser Visit http://localhost:3000
- Frontend: Next.js 15, React 19, TypeScript
- UI Framework: Tailwind CSS, Radix UI
- Authentication: Clerk
- Database: Firebase Firestore
- AI: Google Gemini AI
- Payments: Razorpay
- Deployment: Vercel
- Sign up for a new account
- Choose a plan (Basic ₹100/month or Pro ₹500/month)
- Generate flashcards by pasting your study material
- Study with interactive flip animations
- Save collections for organized learning
- Access anywhere with cloud sync
POST /api/generate- Generate flashcards from textPOST /api/checkout-session-basic- Create basic plan paymentPOST /api/checkout-session-pro- Create pro plan paymentPOST /api/verify-payment- Verify Razorpay payment
- Create a Firebase project
- Enable Firestore Database
- Add your web app configuration to environment variables
- Create a Clerk application
- Configure sign-in/sign-up URLs
- Add API keys to environment variables
- Create a Razorpay account
- Get your Key ID and Key Secret
- Add to environment variables
-
Basic Plan: ₹100/month
- 1,000 flashcards
- AI-powered generation
- Mobile access
-
Pro Plan: ₹500/month
- 100,000 flashcards
- Unlimited collections
- Priority support
- Advanced analytics
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini AI for intelligent flashcard generation
- Clerk for seamless authentication
- Razorpay for secure payments
- The open-source community for amazing tools and libraries
Built with ❤️ for smarter studying