Skip to content

Rooftime is a cross-platform study tracking app built with SvelteKit, Pocketbase, Capacitor, and Tauri, offering real-time analytics, AI-driven feedback, and secure user profiles for improved study habits.

License

Notifications You must be signed in to change notification settings

mmycin/Rooftime-App

Repository files navigation

πŸ† Rooftime - The Study Tracker

Rooftime Logo

β€œStudy smart, track smart, compete smarter!”

Welcome to Rooftime, the only study tracker you’ll ever need. Whether you're a hardcore studious nerd, a last-minute crammer, or someone who stares at books hoping for osmosis, this app has got your back.

πŸ“Œ What is Rooftime?

Rooftime is a cross-platform study tracking app designed for the Rooftop Society members (a prestigious club of 7 academic warriors πŸ₯·). It helps users track their study sessions, climb the leaderboard, compare stats, and even get AI-powered feedback on their progress.

πŸ’» Web & Desktop? Yes!
πŸ“± Android & iOS? Obviously!
πŸ“Š Leaderboard & Stats? Always!
πŸ€– AI-powered study insights? You bet!


πŸš€ Features That Make Rooftime Legendary

1️⃣ Secure Login (Because Privacy Matters!)

  • JWT-based authentication valid for 3 days (enough time to forget your password).
  • Passwords are hashed with a ridiculously unpredictable salt and encrypted so well even future AI won't crack it.

2️⃣ User Profiles - Because You’re Special!

  • Sleek, responsive UI for both mobile & desktop.
  • View and edit account details like a pro.
  • Data is end-to-end encrypted, so your embarrassing study hours are safe.

3️⃣ Leaderboard - Where Legends Are Born!

πŸ”₯ Daily Benchmark: See today’s top 3 study warriors with highlighted ranks.
πŸ“† Weekly Benchmark: Filter by:

  • πŸ•’ Time: Who studied the most this week.
  • πŸ† Weekly Score: 1st place gets 5 points, 2nd gets 3, 3rd gets 1 (the rest get a digital pat on the back).
  • πŸ’― Total Score: Lifetime bragging rights included.

4️⃣ The Ultimate Timer - Built for Study Ninjas!

⏱ Start/Pause/Reset in real-time.
πŸ“ˆ Updates instantly on the leaderboard.
πŸ›  Edit time using scroll wheel or input field.
⚑ Uses a ReLU function to round seconds into minutes (because who counts seconds, really?).

5️⃣ Performance Insights - Study Smart, Not Hard!

πŸ“Š Beautiful Animated Line Chart - See your last 7 days’ study time.
πŸ“ˆ Avg & Peak Study Time - Get an in-depth analysis.
πŸ€– AI-powered Feedback (Cohere AI):

  • Strengths & Weaknesses
  • Study Pattern & Predictions
  • How to improve as an HSC candidate (no sugarcoating!)

6️⃣ Leaderboard Profile Insights - Spy on Your Friends!

  • Click info button next to any user.
  • See their profile & all-time stats.
  • Compare their study time with yours in an animated line chart.
  • AI-generated feedback tells you why they’re better than you (or not).

πŸ›  Built With Love ❀️ (and Code πŸ’»)

  • Frontend: SvelteKit (TypeScript) + Tailwind CSS + Vite
  • Backend: PocketBase (Go)
  • Runtime: Bun.js ⚑
  • Mobile: Capacitor (Android/iOS)
  • Desktop: Tauri (Rust, MSI Installer)
  • AI: Cohere AI (because why not?)

πŸ”§ Installation & Setup

πŸ“₯ Clone the Repo

git clone https://github.com/mmycin/Rooftime-App.git
cd Rooftime-App

πŸ“ Configure Environment Variables

Check .env.example for required settings and configure your secrets.


πŸƒβ€β™‚οΈ Running the Web App

bun run build
bun run preview

πŸ–₯ Setting Up for Desktop (Windows MSI)

bun run tauri build

This creates Rooftime_Setup.msi in /src-tauri/target/release/bundle/.
Double-click it to install (unless your PC warns you, which means you’re doing it right πŸ˜‰).


πŸ“± Mobile Setup

Add Platforms

bunx cap add android   # For Android  
bunx cap add ios       # For iOS  

Configure and Sync

bun run build
bunx cap copy
bunx cap sync

Open the Project

bunx cap open android  # Opens in Android Studio  
bunx cap open ios      # Opens in Xcode  

Build the Mobile App

bunx cap build android
bunx cap build ios

This will generate the APK (Android) or IPA (iOS) file. πŸš€


πŸ€” Why Use Rooftime?

βœ… Because tracking study hours manually is a pain.
βœ… Because AI feedback is cooler than asking your teacher.
βœ… Because competing with friends makes studying bearable.
βœ… Because installing this makes you at least 10% more productive.


πŸ”₯ FAQ

❓ Can I use this app if I’m not in the Rooftop Society?

Nope, unless you bribe the admin with high scores. πŸ˜†

❓ How secure is my data?

Your password is hashed, your data is encrypted, and even aliens from Area 51 can’t break in.

❓ What if I lose my streak?

Cry. Then study harder.

❓ Will this app make me smarter?

That depends on whether you actually study or just stare at the timer.


πŸŽ‰ Shoutouts & Congratulations!

πŸš€ Rooftop Society Members

The Rooftime app is proudly built for the legendary members of the Rooftop Society:

  • Rafsan Talha
  • Riasat Rahil
  • Tahcin Ul Karim (Mycin)
  • Asik Al Masud (Mahin)
  • Tanzim Dihan
  • Sabit Hossain
  • Abrar Abtahi (Faiyaz)

🌟 Special Shoutout to Rafsan Talha!

Big thanks to Rafsan Talha for the idea and the design inspiration behind this app. You truly are the architect of Rooftime’s awesomeness as well as the heart of the Society!

πŸŽ‰ Hail Sabit Bhai!

Let’s all celebrate for Sabit Bhai Hail! πŸ™ŒπŸŽ‰


πŸ’‘ Final Thoughts

If you’ve made it this far, congratulations! πŸŽ‰ You either really love reading READMEs or you're stalling from studying (in which case, go start your timer NOW! ⏳).

Made with ❀️ by Tahcin Ul Karim (Mycin)


About

Rooftime is a cross-platform study tracking app built with SvelteKit, Pocketbase, Capacitor, and Tauri, offering real-time analytics, AI-driven feedback, and secure user profiles for improved study habits.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published