Smart Deadlines & Focus Sprints
Live countdown badges, cross-device completion ticks, offline mutation queue flushing, one-tap .ics calendar export, and an interactive Focus Sprint timer for urgent submissions.
Samay is an open-source academic companion for students, class representatives, and faculty — uniting live deadline countdowns, 85%/75% attendance simulation, offline study assets, and real-time room chat in one fast Android & Web app.
34 attended out of 40 conducted lectures. You can safely skip 0 more classes without dropping below 85%.
Android KeyStore using AES-256-GCM.O(1) client math with offline snapshot recovery.01 · What is Samay
Samay replaces scattered group chats, expiring portal tabs, and forgotten PDF links with a single synchronized workspace scoped to your class.
Live countdown badges, cross-device completion ticks, offline mutation queue flushing, one-tap .ics calendar export, and an interactive Focus Sprint timer for urgent submissions.
Syncs directly with the Christ University CUE portal inside an embedded WebView (with visible Cloudflare verification), caches credentials in Android KeyStore AES-256-GCM, and runs instant O(1) what-if simulations.
Upload and preview PDFs, lecture slides (.ppt, .pptx, .odp, .key), documents (.docx, .zip), videos, and images. Open an asset once and Samay caches it locally so it opens offline anytime.
Join your class using a Secret Room Code. Students collaborate in real-time room chat, Class Representatives publish deadlines and notes, and Admins manage rooms, subjects, and broadcasts.
Choose bundled WAV alert tones (Chime, Bell, Pulse, Soft) or custom audio files, configure Quiet Hours + Morning Digests, and wake reliably via Firebase Cloud Messaging v1.
Three cleanly isolated roles — Student, CR / Faculty, and Admin — enforced both in the UI and directly inside PostgreSQL Row Level Security triggers.
02 · Why Samay is Used
Most college portals log you out every 15 minutes, scatter PDFs across chat threads, and leave you guessing whether skipping one lecture drops you below attendance requirements. Samay solves each failure point at the systems level.
College portals log you out every 15 minutes and gate sessions behind Cloudflare checks.
Safe visible WebView handoff with hardware-backed credential autofill.
Guessing whether skipping one class drops your subject below 85% or 75% eligibility.
Instant O(1) attend/skip simulator calculates safe bunks and recovery classes live.
Important PDFs, slides, and assignment briefs get buried inside noisy group chats.
Structured subject folders with one-time local caching for offline exam prep.
OEM battery savers silently suppress deadline reminders until after the cutoff.
Custom Android notification channels, exact alarm permissions, and OEM reliability helpers.
Unverified sideloaded APKs and client-side role tampering pose security risks.
HTTPS-only release checks with SHA-256 signing-cert verification and Postgres trigger guards.
03 · How to Use It
Students only need the signed Android APK and a Secret Room Code. Self-hosters and contributors can clone the repository and deploy with their own Supabase project.
Download the latest release APK on Android (or run the Expo Web build) and grant notification reliability permissions for exact deadline chimes.
Sign in or register using your class Secret Room Code (starter seed: CSE-SEM3-2026). Samay isolates deadlines, files, and chat per room.
Connect your CUE portal once inside the encrypted WebView vault, simulate 85%/75% attendance scenarios, cache study PDFs offline, and launch Focus Sprints.
Fastest setup for students — ready in under a minute.
Grab the signed release APK directly from GitHub Releases.
Tap Samay.apk on your device and allow "Install unknown apps" when prompted.
Open Samay and sign in or register using your classroom Secret Room Code (default starter seed: CSE-SEM3-2026).
04 · Languages & Technologies
Every layer of Samay is engineered for low-latency mobile execution, encrypted local storage, and room-isolated real-time synchronization.
Expo Router screens, global context, O(1) attendance math, KeyStore wrappers, & Supabase Edge Functions.
DeviceReliabilityModule.kt (AES-GCM vault, sound channels) & ApkUpdaterModule.kt (SHA-256 verified updates).
Idempotent schema, Row Level Security policies, room-scoped RPCs, and privilege-escalation trigger guards.
WebView CUE portal DOM extractor, Expo Android Gradle config plugins, and server/file-server.mjs.
Light & Midnight Dark (#0C2F7B / #0B1120) design tokens, adaptive web/mobile styling.
File-based navigation, New Architecture rendering, Light & Midnight Dark theming, and unified Android + Web builds.
Minimal UI cards, animated OrbitRing atom graphics, gesture bottom sheets, and adaptive typography.
Hardware-backed vault encryption, custom sound channels, OEM battery helpers, and SHA-256 verified APK updates.
Parses CUE portal attendance tables securely on-device without headless scraping or CAPTCHA bypass.
Room-scoped RPCs (verify_room_code, get_room_members), Realtime Chat & Presence, and server push dispatchers.
Optional authenticated file upload/delete server blocking active HTML/SVG payloads and serving Expo web bundles.
Automated Android release APK builds, cryptographic signature verification, and GitHub Releases publishing.