PLAN SMART. FOCUS FAST. MISS NOTHING.
Built for Vibe2Ship Hackathon 2026 β Problem Statement 1: The Last-Minute Life Saver
RapidFocus is an AI-powered productivity companion that helps students, professionals, and entrepreneurs stop missing deadlines, build better habits, and stay focused β all in one beautiful dark-themed web app.
Unlike traditional to-do apps that just remind you, RapidFocus proactively helps you take action using Google's Gemini AI to prioritize tasks, schedule your day based on your mood, and coach you through completions.
π https://rapidfocus-564585755298.asia-southeast1.run.app
π https://rapid-focus.vercel.app/
| Feature | Description |
|---|---|
| Smart Task Prioritization | Gemini AI ranks your tasks using Eisenhower Matrix logic β Critical, High, Medium, Low |
| Daily Briefing | AI scans your tasks every morning and gives you a 3-bullet personalized briefing |
| AI Scheduling Assistant | Chat with your AI coach about tasks, time blocks, and productivity tips |
| Mood-Based Scheduling | Tell AI how you feel about each task β it schedules your day around your energy |
| Resizable Coach Panel | Drag the left border to resize the AI Coach panel on desktop. Your custom width persists using localStorage! |
| Ergonomic Mobile Layout | The AI Coach transitions into a gorgeous bottom-drawer overlay on mobile screens |
- Stopwatch Mode β track how long you spend on any task
- Countdown Timer β set a time limit and focus
- Exam-Style Notifications β alerts every 30 mins, special alerts at 20, 10, and 5 mins remaining
- Beep sounds via Web Audio API β just like an exam hall!
- Urgency Meter β see Late / Due Within 24H / On Track tasks at a glance
- Overall Progress β completion percentage across all tasks
- Weekly Stats β bar chart of tasks completed per day
- On-Time vs Late β donut chart of your completion quality
- Peak Productivity Hours β AI detects when you work best and schedules hard tasks then
- Add daily habits and long-term goals
- Track streaks with π₯ fire emoji counter
- Mark habits complete daily to maintain streaks
- Browser push notifications even when you're on another tab
- Critical task alerts 2 hours before deadline
- Overdue task alerts
- Hotstar-style splash screen on first load β logo zoom, letter-by-letter animation
- Custom cyan cursor with golden hover effect
- Hover animations β cards lift on hover throughout the app
- Dark navy theme with teal/cyan accents
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | React + TypeScript | UI components and pages |
| Styling | Tailwind CSS | Utility-first responsive design |
| Backend | Node.js + Express | API server and Gemini AI calls |
| Database | Firebase Firestore | Real-time data storage |
| Auth | Firebase Auth | Google Sign-In + Email/Password |
| AI | Gemini 2.0 Flash | Prioritization, chat, scheduling |
| Charts | Recharts | Analytics and stats visualization |
| Icons | Lucide React | Clean icon library |
| Deploy | Google Cloud Run | Live hosting and auto-scaling |
| Build | Vite | Fast frontend bundler |
RapidFocus/
βββ client/ # React Frontend
β βββ src/
β β βββ Components/ # UI Components
β β β βββ Sidebar.tsx # Navigation + logout
β β β βββ TaskCard.tsx # Individual task display
β β β βββ AddTaskModal.tsx # Add task form with mood picker
β β β βββ UrgencyMeter.tsx # Late/Due Soon/On Track meter
β β β βββ DailyBriefing.tsx # AI daily briefing banner
β β β βββ FocusTimer.tsx # Stopwatch + countdown timer
β β β βββ ChatPanel.tsx # AI chat assistant panel
β β β βββ GoalsTab.tsx # Goals and habits tracker
β β β βββ StatsTab.tsx # Analytics and charts
β β β βββ SplashScreen.tsx # Hotstar-style intro animation
β β βββ hooks/
β β β βββ useAuth.ts # Firebase auth hook
β β βββ pages/
β β β βββ Login.tsx # Login page
β β β βββ Dashboard.tsx # Main dashboard
β β βββ services/
β β β βββ firebase.ts # Firebase config
β β β βββ taskService.ts # Firestore CRUD operations
β β β βββ geminiService.ts # Gemini API calls
β β βββ App.tsx # Root component + routing
βββ server/
β βββ server.ts # Express server + all API routes
βββ Dockerfile # Cloud Run deployment config
βββ README.md
- Node.js v18+
- A Firebase project
- A Gemini API key from aistudio.google.com
git clone https://github.com/Kalpana0107/RapidFocus.git
cd RapidFocuscd client
npm installCreate client/.env:
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
VITE_API_URL=http://localhost:3001cd ../server
npm installCreate server/.env:
GEMINI_API_KEY=your_gemini_api_key
PORT=3001Open two terminals:
Terminal 1 β Backend:
cd server
npx ts-node server.tsTerminal 2 β Frontend:
cd client
npm run devOpen http://localhost:5173 π
User adds task
β
All tasks sent to Gemini 2.0 Flash
β
Gemini ranks using Eisenhower Matrix
β
Returns: priorityScore (1-10), label, reasoning
β
Badges appear on task cards instantly
User clicks AI Schedule
β
Quiz asks mood for each task
(π Excited / π Good / π Neutral / π© Tired / π° Anxious)
β
User enters free time slots ("9am-11am, 3pm-6pm")
β
Gemini generates hour-by-hour schedule
β
Excited tasks scheduled first
Tired tasks get shorter blocks with breaks
User sets 2 hour timer for assignment
β
β° At 90 mins remaining β "90 minutes remaining β keep going!"
β° At 60 mins remaining β "1 hour remaining β stay focused!"
π At 30 mins remaining β "Only 30 minutes left!"
β‘ At 20 mins remaining β "20 minutes left β wrap up!"
π¨ At 10 mins remaining β "Only 10 minutes left!"
π¨ At 5 mins remaining β "5 minutes! Finish now!"
π― At 0 β "Time's up!"
| Screen | Description |
|---|---|
| Splash Screen | Hotstar-style cinematic intro on app load |
| Login Page | Google Sign-In + Email/Password auth |
| Dashboard | Urgency meter + task list + daily AI briefing |
| Focus Timer | Stopwatch and countdown with exam notifications |
| AI Chat | Conversational AI coach with task context |
| Goals & Habits | Streak tracker with fire emoji |
| Stats | Weekly charts + peak productivity hours |
- β Intelligent task prioritization (Eisenhower Matrix)
- β AI-powered scheduling based on mood and free time
- β Personalized daily briefing every morning
- β Conversational AI coach (context-aware chat)
- β Context-aware reminders (due soon, overdue alerts)
- β Best time predictor from completion patterns
- β Weekly AI productivity insights
| Field | Details |
|---|---|
| Event | Vibe2Ship Hackathon 2026 |
| Problem Statement | PS1 β The Last-Minute Life Saver |
| Timeline | 22nd June 3PM β 29th June 2PM |
| Core Tool | Google AI Studio + Gemini API |
| Deployed | Google Cloud Run |
Kalpana Naikodi
- π B.Tech AI & Data Science β VESIT Mumbai (2025-2029)
- πΌ Full-stack developer | AI enthusiast
- π GitHub: @Kalpana0107
This project was built for the Vibe2Ship Hackathon 2026. Feel free to use it as a reference for learning purposes.
β‘ RapidFocus β Because deadlines wait for no one.
Made with π using Google AI Studio + Gemini API