StudySync is a comprehensive Study Management System built with modern Java technologies. It combines Spring Boot's robust backend capabilities with JavaFX's rich desktop UI and H2 embedded database for reliable data persistence. The application helps students organize their academic life effectively with integrated task management, study tracking, and project management capabilities.
Perfect for students who want to integrate their academic calendar with task management and study tracking! 📚✨
⚠️ Beta Release: This is a beta version (0.1.0-BETA) under active development. Features may change, and some functionality may be incomplete. Please report issues and provide feedback!
StudySync provides comprehensive academic management with three main modules:
- Study Sessions: Track study time with built-in timer and focus level monitoring
- Study Goals: Set and manage daily/weekly study objectives
- Daily Reflections: Record daily study insights and progress notes
- Progress Tracking: Visual progress indicators and session statistics
- Study Analytics: Monitor completed sessions and goal achievements
- Task Management: Create, edit, and delete tasks with rich attributes (title, description, category, priority, deadline, status)
- Project Management: Comprehensive project lifecycle management with session logging and progress tracking
- Category Management: Create and manage custom categories for better organization
- Task Reminders: Set up automated reminders for important deadlines
- Data Persistence: All data stored reliably in embedded H2 database
- OAuth 2.0 Authentication: Secure Google account login
- Today's Events: View all Google Calendar events for the current day
- Real-time Sync: Refresh calendar events with one click
- Event Details: Display event time, title, location, and description
- Seamless Integration: Calendar events displayed alongside study tasks
- Privacy Focused: Local credential storage with easy disconnect option
- Google Sign-in: Connect your personal Google account directly from the Profile window
- Drive Storage: The embedded H2 database is uploaded to a private
StudySyncfolder inside your Drive - Multi-device ready: Latest Drive copy is downloaded before the database bootstraps and uploaded whenever the app closes
- Manual Sync: Trigger
Sync to Drive nowanytime you want an extra backup mid-session - Purely local: No StudySync backend—OAuth tokens and the H2 file never leave your machine + Google Drive
-
Clone the Repository
git clone https://github.com/geokoko/StudySync.git cd StudySync -
Configure the application
cd ./src/main/resources cp application.yml.template application.yml # Edit application.yml if needed (optional for basic usage)
-
Run the Application
-
Use the Gradle wrapper (recommended):
./gradlew run # (Linux/macOS) gradlew run # (Windows)
-
Use Gradle if you have it installed: If you have Gradle>=8.5, then run:
gradle build gradle run
Note: Some dependencies of this application are not compatible with the latest version of Gradle (9.0.0) as of right now.
Gradle will:
- Automatically download all dependencies (JavaFX, H2 Database, Spring Boot, etc.)
- Set up the module path correctly for JavaFX
- Initialize the H2 embedded database
- Launch the application (com.studysync.StudySyncApplication)
-
- Fast startup (skip some initialization):
./scripts/start-fast.sh
- Create Google API credentials
- Visit Google Cloud Console
- Enable the Google Drive API for your project
- Create OAuth client credentials of type Desktop application and note the client ID/secret
- Provide the credentials to StudySync
- Copy the template file and fill in the values:
cp config/google/drive.properties.template config/google/drive.properties # edit config/google/drive.properties with your client id/secret - You can override the Drive folder name, redirect port, or where credentials are cached as needed
- Copy the template file and fill in the values:
- Run StudySync and connect your Google account
- Launch the app, open the Profile → Google Drive Sync panel, and click Sign in with Google
- Your browser will handle OAuth locally; tokens are stored in
~/.studysync/google
- Understand the sync flow
- On startup, StudySync downloads the latest
studysync.mv.dbfrom your Drive folder before H2 is initialized - When the app closes (or you press
Sync to Drive now), the local database is uploaded back to Google Drive - On a brand-new device, sign in once and restart StudySync so the Drive copy is used on the next launch
- On startup, StudySync downloads the latest
The actual database file lives inside
My Drive/StudySync/studysync.mv.db. No remote StudySync server is involved—the desktop app talks to Google APIs directly.
StudySync uses the Active Record pattern with Spring Boot for a clean, maintainable architecture. See ARCHITECTURE.md for detailed architectural information and code examples.
- Database: H2 embedded database (
data/studysync.mv.db) - Cloud Backup (optional): When Drive sync is enabled, the same file is mirrored to
My Drive/StudySync/studysync.mv.db - Logs: Application logs stored in
logs/directory - Configuration: YAML configuration files in
src/main/resources/ - Security: Encrypted credentials stored locally