{"id":36985519,"url":"https://github.com/ksaifstack/docktask","last_synced_at":"2026-03-03T02:07:59.640Z","repository":{"id":312081745,"uuid":"1045996130","full_name":"KSaifStack/DockTask","owner":"KSaifStack","description":"Desktop task manager with millisecond-accurate deadlines and real-time countdowns. Built with JavaFX for students who need precision, not just reminders.","archived":false,"fork":false,"pushed_at":"2025-12-19T09:31:48.000Z","size":136858,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T19:41:14.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KSaifStack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-28T03:16:33.000Z","updated_at":"2025-12-22T04:40:44.000Z","dependencies_parsed_at":"2025-08-28T18:54:41.467Z","dependency_job_id":null,"html_url":"https://github.com/KSaifStack/DockTask","commit_stats":null,"previous_names":["ksaifstack/planforge","ksaifstack/docktask"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/KSaifStack/DockTask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSaifStack%2FDockTask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSaifStack%2FDockTask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSaifStack%2FDockTask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSaifStack%2FDockTask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KSaifStack","download_url":"https://codeload.github.com/KSaifStack/DockTask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSaifStack%2FDockTask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-13T23:02:22.638Z","updated_at":"2026-02-28T03:02:02.860Z","avatar_url":"https://github.com/KSaifStack.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eDockTask\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/142dcb77-abfb-4551-86cd-4035ab3c019f\" width=\"120\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eDesktop task management with millisecond-accurate deadlines and intelligent notifications\u003c/strong\u003e\n  \u003cbr\u003e\n  \u003cem\u003eBuilt for students and professionals who need precision, not just reminders\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Java-23-orange?style=for-the-badge\u0026logo=openjdk\" alt=\"Java 23\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/JavaFX-21-blue?style=for-the-badge\" alt=\"JavaFX 21\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Platform-Windows-0078D6?style=for-the-badge\u0026logo=windows\" alt=\"Windows\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-MIT-green?style=for-the-badge\" alt=\"MIT License\" /\u003e\n\u003c/p\u003e\n\n---\n\n##  Why DockTask?\n\nI built DockTask to solve my own problem of managing multiple classwork deadlines while learning JavaFX development. What started as a simple to-do list evolved into a full-featured task management system as I explored UI/UX design, data persistence strategies, and memory optimization techniques. \n\nThe core challenge? Basic calendar apps treat \"3 PM\" and \"3:00:47 PM\" the same, but when you have multiple assignments due at midnight, lab reports due minutes apart, and group project submissions with precise timing requirements, **seconds matter**.\n\nThis project pushed me to think beyond basic functionality and focus on creating a polished, user-friendly experience. **Now it's the tool I use daily to keep my academic life neat and organized.**\n\n---\n\n##  Demo\n\n\u003e **Watch DockTask in action!** [See the demo video](https://www.youtube.com/watch?v=u5oVhOg2F70) or download the installer below to try it yourself.\n\n\n\n\n\n\n\nhttps://github.com/user-attachments/assets/67e9159e-ff12-4f21-9128-568c9d12a31a\n\n\n\n\n\n\n\n\n---\n\n##  Download\n\n| Platform | Download | Status |\n|----------|----------|--------|\n| **Windows** | [DockTask-Setup-0.5.exe](https://github.com/KSaifStack/DockTask/releases/download/0.5/DockTask-Setup-v0.5.exe) | ✅ Available |\n| **MacOS** | Coming Soon | 🚧 In Development |\n| **Linux** | Coming Soon | 🚧 In Development |\n\n\u003e **Self-contained installer** — No JDK installation required. Everything is bundled.\n\n\u003e **NOTE!** If you run the installer in administration mode, DockTask can only save data with administration!\n---\n\n##  Features\n\n### Task Management\n- **Priority-based auto-sorting** with color-coded groups for instant visual scanning\n- **Real-time countdown timers** tracking tasks down to the second\n- **Multi-stage notifications** at 24h, 5h, 1h, 30m, 10m, 1m, and overdue intervals\n- **Integrated calendar view** with automatic synchronization when tasks are created or modified\n- **Precise task timing** allows scheduling tasks within seconds of each other\n\n### User Experience  \n- **System tray integration** — Minimize to tray and keep DockTask running in the background\n- **Adaptive theming** — Dark/light modes with persistent preferences across sessions\n- **Native window controls** — Platform-integrated UI using [NFX library](https://github.com/xdsswar/nfx-lib)\n- **Keyboard shortcuts** — Power user features (Ctrl+Shift+C for instant task creation)\n- **Seamless theme switching** with theme-adaptive styling\n\n### Data Management\n- **Auto-save functionality** with unsaved changes detection\n- **Export/Import capabilities** for data portability and backup\n- **Multi-user support** with separate task databases and built-in authentication\n- **Local-first storage** — All data stays on your machine\n- **Confirmation dialogs** protecting against accidental data loss\n\n---\n\n##  Interface\n\n### Light Mode\n\u003cimg width=\"1000\" height=\"964\" alt=\"LightTheme\" src=\"https://github.com/user-attachments/assets/0bf9a7a2-608b-4104-829b-041e38a48728\" /\u003e\n\n### Dark Mode  \n\u003cimg width=\"1000\" height=\"943\" alt=\"DarkTheme\" src=\"https://github.com/user-attachments/assets/27e52f91-d252-4895-90c2-4e5c9ef241a4\" /\u003e\n\n---\n\n##  Tech Stack\n\n| Component | Technology | Purpose |\n|-----------|-----------|---------|\n| **Language** | Java 23 | Core application logic |\n| **UI Framework** | JavaFX 21 | Cross-platform GUI rendering |\n| **Styling** | CSS3 | Theme implementation and visual design |\n| **Native Integration** | [NFX Library](https://github.com/xdsswar/nfx-lib) | Platform-native window controls and title bar |\n| **Architecture** | MVC Pattern | Separation of concerns for maintainability |\n| **Data Storage** | File-based serialization | Local persistence with custom separator-based format |\n| **Concurrency** | JavaFX Timeline API | Real-time UI updates without blocking |\n| **System Integration** | Java AWT TrayIcon | OS-level notifications and system tray |\n\n---\n\n##  Architecture\n\nDockTask implements **Model-View-Controller (MVC)** architecture for maintainable, testable code:\n\n### Model Layer\n- **UserData.java** — Centralized data access handling all CRUD operations\n- **Data/** directory — File-based storage for user databases and settings (Settings.txt)\n- Responsibilities: Data validation, serialization with `\u003cSEP\u003e` separators, persistence operations\n\n### View Layer\n- **TaskUi.java** — Main dashboard with task list and real-time countdown timers\n- **CalendarUi.java** — Monthly calendar with task indicators and synchronization \n- **CreateTaskUi / UpdateTaskUi** — Task creation and editing interfaces with auto-save\n- **Settings.java** — Application configuration panel with export/import, data management\n- Responsibilities: UI rendering, user input collection, visual feedback, theme adaptation\n\n### Controller Layer\n- Event handlers connecting user actions to data operations\n- **ThemeManager** — Coordinating theme state and color adaptation across components\n- **Notification System** — Managing system tray alerts based on task deadlines\n- **Timeline Controllers** — Orchestrating concurrent countdown updates\n- **Navigation Guards** — Preventing accidental data loss during transitions\n- Responsibilities: Business logic, state management, component coordination\n\n**Benefits of this approach:**\n- Data layer modifications (e.g., migrating to database) require zero UI changes\n- UI redesigns proceed independently of data operations\n- Individual components can be unit tested in isolation\n- New features integrate cleanly without cascading modifications\n\n---\n\n## What I Learned\n\nBuilding DockTask taught me valuable software engineering lessons:\n\n### Memory Optimization (63% Reduction)\nIn version 0.1, countdown timers for completed or removed tasks continued running in the background, accumulating on the memory stack. This caused memory usage to grow from ~500MB to over 1000MB during extended sessions.\n\n**Solution implemented:**\n- Pause all Timeline threads when the application is minimized or closed\n- Clear expired task entries from the active monitoring list after removal\n- Implement proper cleanup of countdown timers for non-visible tasks\n\n**Result:** Reduced idle memory footprint from 500MB to 60MB (85% improvement from peak) with sustained performance during long-running sessions. The application now becomes more efficient over time as resources are garbage collected.\n\n### Other Key Learnings\n\n- **Concurrent State Management:** Designed timeline system tracking multiple countdown timers simultaneously without data races or UI freezes\n\n- **Data Persistence:** Built custom file-based serialization with `\u003cSEP\u003e` separators enabling support for embedded links and preventing parsing errors. Added validation to prevent corruption, auto-save with change detection, and safe import/export functionality\n\n- **UI/UX Design:** Created theme-aware component system with instant propagation across 5+ view classes, responsive layouts, and intuitive information hierarchy with color-coded visual distinctions\n\n- **Event-Driven Architecture:** Mastered JavaFX event system, listeners, and callback patterns for responsive interactions. Implemented navigation guards to prevent accidental data loss\n\n- **Software Distribution:** Built self-contained Windows installer with bundled Java runtime for zero-dependency deployment\n\n---\n\n##  Changelog\n\n### v0.5 – December 2025\n\n**Architecture \u0026 Data Layer**\n- Implemented centralized data storage system with dedicated \"Data\" folder structure\n- Migrated from simple file I/O to robust data serialization with validation\n- Created persistent settings storage via Settings.txt configuration file\n- Built foundation for modular plugin system with configuration management\n- Replaced legacy data parsing with scalable `\u003cSEP\u003e` separator-based system for embedded link support\n\n**User Safety \u0026 Data Integrity**\n- Designed and implemented modal confirmation dialog system for destructive operations\n- Developed auto-save mechanism with unsaved changes detection when creating tasks\n- Created navigation guard system to prevent accidental data loss\n- Implemented data export/import functionality with comprehensive error handling\n- Added validation for all data manipulation operations to prevent corruption\n\n**UI/UX Enhancements**\n- Redesigned application interface for improved visual hierarchy and clarity\n- Implemented dynamic theme-aware window chrome with color adaptation\n- Developed Settings panel with centralized application controls (export/import, refresh, exit)\n- Refined interface by removing redundant UI elements\n\n**Feature Additions**\n- Dark mode preference persistence across sessions\n- Manual data refresh capability\n- Graceful application exit with cleanup operations\n- Import/export functionality for data portability\n\n**Technical Debt \u0026 Refactoring**\n- Improved error handling across file operations\n- Enhanced data validation to prevent corruption scenarios\n- Optimized memory usage for large datasets\n- Strengthened separation of concerns in data access layer\n\n### v0.3 – November 2025\n\n**Performance \u0026 Optimization**\n-  **Reduced memory usage by 63%** by identifying and fixing Timeline leak — implemented pause/resume for background countdowns\n   Enhanced task sorting algorithm for faster rendering with large datasets\n-  Refactored legacy codebase for better maintainability\n\n**UI/UX Improvements**\n-  Redesigned CreateTask UI with cleaner layout and improved responsiveness\n-  Enhanced calendar refresh logic with instant update propagation\n-  Fixed Sun \u0026 Moon icon reset issue with live theme synchronization\n-  Revamped clock system with improved real-time accuracy\n-  Added keyboard shortcuts for power users (Ctrl+Shift+C for quick task creation)\n\n**Bug Fixes \u0026 Quality of Life**\n-  UpdateTask changes now instantly reflected in calendar view\n-  Improved due date validation and edge case handling\n-  Smoother theme transitions between dark/light modes\n\n---\n\n##  Installation\n\n### Windows\n\n1. Download [DockTask-Setup-0.5.exe](https://github.com/KSaifStack/DockTask/releases/download/0.5/DockTask-Setup-v0.5.exe)\n2. Run the installer and follow the on-screen prompts (administrator privileges recommended)\n3. Launch DockTask from your Desktop or Start Menu\n\n**System Requirements:**\n- Windows 10 or later (64-bit)\n- 512 MB RAM minimum\n- 100 MB free disk space\n- 1024x768 display resolution minimum\n\n  \n\n\u003e **Note:** Installer includes bundled Java runtime. No external dependencies or JDK installation required.\n\n---\n\n##  Building from Source\n\n### Prerequisites\n- **Java 17+** (JDK 23 recommended)\n- **Maven 3.6+** or your IDE with Maven support (IntelliJ IDEA, Eclipse, VSCode)\n-  **[NFX Library](https://github.com/xdsswar/nfx-lib)** (Needed to build window)\n\n### Quick Start\n\n#### 1. Clone the Repository\n```bash\ngit clone https://github.com/KSaifStack/DockTask.git\ncd DockTask\n```\n\n#### 2. Build with Maven\n```bash\nmvn clean package\n```\n### Development Setup\n\n#### IntelliJ IDEA\n1. Open the project folder (`File` → `Open`)\n2. Maven dependencies will auto-import\n3. Run the `Main.java` class\n\n#### Eclipse\n1. Import as Maven project (`File` → `Import` → `Maven` → `Existing Maven Projects`)\n2. Right-click project → `Maven` → `Update Project`\n3. Run `Main.java`\n\n#### VS Code\n1. Open project folder\n2. Install \"Java Extension Pack\" and \"Maven for Java\"\n3. Maven will auto-detect `pom.xml` and download dependencies\n4. Run via the Run button or `F5`\n\n### Project Structure\n```\nDockTask/\n├── pom.xml                    # Maven configuration\n├── src/\n│   ├── main/\n│   │   ├── java/\n│   │   │   └── com/ksaifstack/docktask/\n│   │   │       ├── Main.java              # Application entry point\n│   │   │       ├── model/                 # Data models (Task, User, UserData)\n│   │   │       ├── ui/                    # UI components (LoginUI, TaskUI, etc.)\n│   │   │       └── util/                  # Utilities (ThemeManager, etc.)\n│   │   └── resources/\n│   │       ├── images/                    # Icons and graphics\n│   │       └── fonts/                     # Custom fonts\n│   └── test/                              # Unit tests (coming soon)\n├── Data/                                  # User data storage \n└── README.md\n```\n\n### Common Build Issues\n\n**Issue:** `JAVA_HOME not set`  \n**Fix:** Set your JDK path:\n```bash\n# Windows\nset JAVA_HOME=C:\\Program Files\\Java\\jdk-23\n# Mac/Linux\nexport JAVA_HOME=/usr/lib/jvm/java-23-openjdk\n```\n\n**Issue:** JavaFX modules not found  \n**Fix:** Maven handles JavaFX dependencies automatically via `pom.xml`.  \n\nMake sure you are building the project with Maven (`mvn clean package`) and **not** using `javac` directly.\nIf the error mentions **NFX**, ensure that the NFX JAR is correctly downloaded and included in the project.  \n\nRefer to the official repository for setup details: https://github.com/xdsswar/nfx-lib \n\n**Issue:** `Unsupported class file major version 67`  \n**Fix:** You need Java 17+ to build. Update your JDK.\n\n---\n\n\n##  Contributing\n\nContributions are welcome! Here's how you can help:\n\n- **Report Bugs** — Open an issue with detailed reproduction steps and environment information\n- **Suggest Features** — Share ideas via GitHub Discussions with use cases\n- **Submit Pull Requests** — Fork, implement with tests, and submit for review\n\nPlease ensure all contributions adhere to the existing code style and architectural patterns.\n\n---\n\n##  License\n\nThis project is licensed under the **MIT License** — see [LICENSE](LICENSE) file for complete terms and conditions.\n\n---\n\n##  Author\n\n**KSaifStack**\n- GitHub: [@KSaifStack](https://github.com/KSaifStack)\n- For questions or feature requests, [open an issue](https://github.com/KSaifStack/DockTask/issues)\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/142dcb77-abfb-4551-86cd-4035ab3c019f\" width=\"100\" alt=\"DockTask Logo\" /\u003e\n  \u003cbr\u003e\n  \u003cem\u003eBuilt with Java 23 and JavaFX 21\u003c/em\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksaifstack%2Fdocktask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksaifstack%2Fdocktask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksaifstack%2Fdocktask/lists"}