The Ultimate AI-Powered UPSC Exam Preparation Platform
UPSC-OS is a cutting-edge, full-stack web application designed to revolutionize UPSC (Union Public Service Commission) exam preparation. Built with modern technologies and powered by artificial intelligence, it provides comprehensive tools for organizing your study journey, tracking progress, generating intelligent notes, and practicing with targeted quizzes.
Whether you're a UPSC aspirant just starting your journey or fine-tuning your final preparations, UPSC-OS offers an integrated ecosystem that adapts to your learning pace and style.
- Real-time overview of your entire preparation journey
- Visual progress indicators and quick statistics
- Recent activity timeline
- Personalized study recommendations
- Organize UPSC topics systematically
- Track completion status for each topic
- Subject-wise curriculum mapping
- Visual progress tracking
- Quick topic filtering and search
- Create custom study schedules
- Plan your preparation timeline strategically
- Set and monitor daily/weekly goals
- Visual timeline representations
- Deadline management and reminders
- Monitor preparation progress instantly
- Topic-wise completion analytics
- Subject performance insights
- Visual progress bars and metrics
- Historical progress data
- Detailed performance metrics and insights
- Study time analytics with visualizations
- Topic-wise performance breakdown
- Interactive charts and graphs (powered by Recharts)
- Data-driven insights for improvement
- Time-based analytics and trends
- Full-featured note-taking experience
- Rich text editing with multiple formatting options
- Organize notes by subjects and topics
- Quick note search and retrieval
- Note versioning and history
- Intelligent note generation using Google Generative AI
- Automatic topic summarization
- Context-aware learning suggestions
- AI-assisted content creation
- Smart content recommendations
- Multiple quiz formats and difficulty levels
- Instant feedback and explanations
- Topic-specific practice tests
- Performance tracking per quiz
- Detailed answer explanations
- Curated collection of past UPSC questions
- Year-wise organization
- Difficulty level indicators
- Solution references
- Trending topics analysis
- Smart revision scheduling
- Track revision sessions
- Completion monitoring
- Adaptive revision planning
- Spaced repetition support
- Eye-friendly dark theme
- Seamless light/dark mode switching
- Persistent theme preference
- Beautiful animations in both modes
- Firebase-based user authentication
- Secure email/password login
- User profile management
- Account security features
- React 18.2.0 - Modern UI library with hooks and concurrent rendering
- Vite 5.0.0 - Lightning-fast build tool with HMR support
- React Router DOM 6.18.0 - Client-side routing and navigation
- Tailwind CSS 3.3.5 - Utility-first CSS framework
- Framer Motion 11.11.17 - Advanced animation library
- Lucide React 0.290.0 - Beautiful SVG icons
- Custom animations - Fade, slide, and float effects
- Google Generative AI - Intelligent content generation
- React Markdown - Markdown content rendering
- React Quill 2.0.0 - Rich text editor
- Firebase 10.0.0 - Authentication, database, and hosting
- Firestore - Real-time database
- Recharts 2.9.0 - React charting library
- Three.js 0.158.0 - 3D graphics
- @react-three/fiber 8.18.0 - React renderer for Three.js
- @react-three/drei 9.88.0 - Useful helpers for 3D
- jsPDF 2.5.1 - PDF generation
- jsPDF AutoTable 3.8.4 - Table in PDFs
- date-fns 2.30.0 - Date manipulation
- uuid 9.0.1 - UUID generation
- clsx 2.0.0 - Conditional classNames
- tailwind-merge 2.0.0 - Merge Tailwind classes
- ESLint - Code quality
- Autoprefixer - CSS prefixing
- PostCSS - CSS transformations
Node.js (v16 or higher)
npm or yarn1. Clone the Repository
git clone https://github.com/Sachin23991/upsc-os.git
cd upsc-os2. Install Dependencies
npm install
# or
yarn install3. Environment Configuration
Create a .env.local file in the root directory:
# Firebase Configuration
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
# Google Generative AI
VITE_GOOGLE_API_KEY=your_google_generative_ai_key4. Start Development Server
npm run dev
# or
yarn devThe app will be available at http://localhost:5173
upsc-os/
βββ public/ # Static assets
βββ src/
β βββ components/
β β βββ 3d/ # 3D components
β β βββ dashboard/ # Dashboard components
β β βββ layout/
β β β βββ DashboardLayout.jsx # Main layout with sidebar
β β βββ ui/ # Reusable UI components
β β βββ ErrorBoundary.jsx # Error handling
β βββ context/
β β βββ AuthContext.jsx # Authentication context
β β βββ ThemeContext.jsx # Theme management
β βββ lib/
β β βββ firebase.js # Firebase config
β β βββ db.js # Database operations
β β βββ syllabus-data.js # Syllabus data
β β βββ utils.js # Utility functions
β βββ pages/
β β βββ Analytics.jsx # Analytics dashboard
β β βββ Dashboard.jsx # Main dashboard
β β βββ LandingPage.jsx # Landing page
β β βββ Login.jsx # Authentication
β β βββ Notepad.jsx # Text notes
β β βββ NotesAI.jsx # AI notes generation
β β βββ PYQPage.jsx # Past year questions
β β βββ Planner.jsx # Study planner
β β βββ ProgressTracker.jsx # Progress tracking
β β βββ QuizPage.jsx # Quiz practice
β β βββ SyllabusManager.jsx # Syllabus management
β β βββ Tracker.jsx # Time tracker
β βββ App.jsx # Main app component
β βββ main.jsx # Entry point
β βββ index.css # Global styles
βββ package.json
βββ vite.config.js
βββ tailwind.config.js
βββ postcss.config.js
βββ README.md
npm run build
# or
yarn buildThis creates an optimized production build in the dist folder.
npm run preview
# or
yarn previewRun ESLint to check code quality:
npm run lint
# or
yarn lintThe project includes smooth animations throughout:
- Fade-in animations - Content appears smoothly
- Slide-up animations - Elements animate from below
- Hover effects - Interactive button and link animations
- Floating animations - Subtle floating movements
- Page transitions - Smooth navigation between pages
- Loading states - Animated loading spinners
- Modal animations - Smooth modal appearances
Powered by Framer Motion with custom Tailwind CSS animations.
- Secure Firebase Authentication
- Email/password login system
- Protected routes for authenticated users
- User profile management
- Session persistence
| Page | Purpose | Key Features | |------|---------|ββββββββββββββ| | Dashboard | Main hub | Overview, quick stats, recent activity | | Syllabus Manager | Curriculum management | Topic tracking, progress, filtering | | Planner | Study scheduling | Timeline planning, goal setting | | Tracker | Time tracking | Duration monitoring, statistics | | Analytics | Performance insights | Charts, metrics, data visualization | | Notepad | Note-taking | Rich text, organization, search | | Notes AI | AI assistance | Smart summaries, suggestions | | Quiz | Practice testing | Multiple formats, feedback | | PYQ | Past questions | Year-wise, difficulty levels | | Revision | Revision planning | Scheduling, completion tracking |
- Real-time data visualization with Recharts
- Performance metrics and statistics
- Study time analytics
- Topic-wise performance breakdown
- Progress trends and predictions
- Data export capabilities
The app leverages Google Generative AI for:
- Intelligent note generation from topics
- Automatic content summarization
- Context-aware learning suggestions
- Smart study recommendations
- Content analysis and insights
Deploy to your favorite platform:
npm install -g firebase-tools
firebase init
firebase deploynpm install -g vercel
vercelnpm install -g netlify-cli
netlify deployContributions are welcome! Please follow these steps:
- Fork the repository
- Create your feature branch:
git checkout -b feature/AmazingFeature - Commit changes:
git commit -m 'Add AmazingFeature' - Push to 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 Generative AI - For intelligent features
- Firebase - For backend and authentication
- React Team - For the amazing library
- Tailwind Labs - For utility-first CSS
- Framer - For animation capabilities
- All open-source contributors
Need help? Have questions?
- π§ Open an issue on GitHub
- π¬ Start a discussion
- π Report bugs
- π‘ Suggest features
- Mobile app (React Native)
- Offline mode support
- Video integration
- Community forums
- Advanced AI predictions
- Mock tests
- Collaborative learning
- Performance predictions
- Study group features
- Advanced reporting
If you find UPSC-OS helpful, please give it a star! β
Made with β€οΈ by Sachin
Helping UPSC aspirants achieve their dreams