How aryan-kr-jha/procrasticure works
ProcrastiCure is a productivity workspace that turns a user’s written or spoken workload into prioritized tasks, then supports planning, focused work, and study. Its browser app also provides calendar views, focus telemetry, habits, recommendations, and study aids; the server exposes AI-backed APIs, while Supabase persists task state. The PWA service worker caches the app shell for offline use. Some client workflows are described in the README but their request code was not excerpted, so those links are shown as unverified rather than asserted as source-confirmed calls.
Main entry points: app.js Workspace controller · index.html Web workspace · server.js Task strategy · sw.js Service worker
Components 24
User experience
- Web workspace
public/index.html - Login screen
public/login.html - Workspace controller
public/app.js
Planning and focus
- Panic input
public/app.js - Voice capture
public/app.js - Urgency calendar
public/app.js - Auto scheduler
public/app.js - Focus timer
public/app.js - Focus telemetry
public/app.js - Study aids
public/app.js - AI companion
public/app.js
AI services
- API server
server.js - Task strategy
server.js - Voice analysis
server.js - Audio transcription
server.js - Schedule generation
server.js - Study aid generation
server.js - Chat endpoint
server.js - Recommendations
server.js
Persistence and PWA
- Supabase task store
- Service worker
public/sw.js
Other components
- Workspace user
- Google Gemini
- Browser cache
Connections 27
- Workspace user → Login screen: opens
README.md - Workspace user → Web workspace: uses
README.md - Web workspace → Workspace controller: hosts
- Workspace controller → Panic input: captures
README.md - Workspace controller → Voice capture: records
README.md - Panic input → Task strategy: submits text
- Voice capture → Audio transcription: transcribes
- Voice capture → Voice analysis: analyzes audio
- Task strategy → Google Gemini: generates tasks
server.js - Voice analysis → Google Gemini: analyzes audio
server.js - Audio transcription → Google Gemini: transcribes audio
server.js - Workspace controller → Urgency calendar: renders dates
public/app.js - Workspace controller → Auto scheduler: builds schedule
README.md - Auto scheduler → Schedule generation: requests blocks
- Schedule generation → Google Gemini: generates blocks
server.js - Workspace controller → Focus timer: runs timer
README.md - Workspace controller → Focus telemetry: tracks progress
README.md - Workspace controller → Study aids: opens aids
public/app.js - Study aids → Study aid generation: requests aids
public/app.js - Study aid generation → Google Gemini: generates aids
server.js - Workspace controller → AI companion: sends message
public/app.js - AI companion → Chat endpoint: posts chat
public/app.js - Chat endpoint → Google Gemini: generates reply
server.js - Workspace controller → Recommendations: requests tips
- Recommendations → Google Gemini: generates tips
server.js - Workspace controller → Supabase task store: reads and writes tasks
public/app.js - Service worker → Browser cache: stores shell
public/sw.js