How alexprofmutua/ach works
ACH is an offline study-time tracker with macOS and Windows editions. The principal workflow is to choose a course and timer mode, start and control a session, then stop to save it; users can review history, trends, goals, and semester totals, and manage portable backups. On macOS, TimerService centralizes session state and persistence, while the desktop timer is a companion surface. The graph includes both platform branches and the documented reporting, goals, and backup capabilities. Windows renderer wiring and some unsampled implementation details are not shown, so those relationships are left unverified.
Main entry points: TimerService.swift Session Service · MainView.swift Main Navigation · main.cjs Electron Main · DashboardView.swift Dashboard
Components 21
macOS Interface
- App Lifecycle
Sources/ACHApp/ACHApp.swift - Main Navigation
Sources/ACHApp/MainView.swift - Dashboard
Sources/ACHApp/DashboardView.swift - Goals View
Sources/ACHApp/GoalsView.swift - Session History
Sources/ACHApp/SessionsView.swift - Semester Selector
Sources/ACHApp/SemesterSidebar.swift - Settings
Sources/ACHApp/SettingsView.swift - Desktop Timer
Sources/ACHApp/DesktopTimerController.swift
Study Domain
- Session Service
Sources/ACHCore/TimerService.swift - Study Records
Sources/ACHCore/Models.swift - Reports and Goals
Sources/ACHCore/ReportingEngine.swift - Timer Preferences
Sources/ACHCore/WidgetPreferences.swift
Local Data
- SQLite Database
Sources/ACHCore/SQLiteStore.swift
Windows Edition
- Electron Main
Windows/app/main.cjs - Study Service
Windows/app/study.cjs - JSON Store
Windows/app/store.cjs - Widget Placement
Windows/app/widget-geometry.cjs - Main Window UI
Windows/app/ui.js - Widget UI
Windows/app/widget.js - UI Visuals
Windows/app/visuals.js
Other components
- Student
Connections 28
- Student → Main Navigation: uses
README.md - Main Navigation → Dashboard: shows
Sources/ACHApp/MainView.swift - Main Navigation → Goals View: shows
Sources/ACHApp/MainView.swift - Main Navigation → Session History: shows
Sources/ACHApp/MainView.swift - Main Navigation → Semester Selector: shows
Sources/ACHApp/MainView.swift - Main Navigation → Settings: shows
Sources/ACHApp/MainView.swift - App Lifecycle → Main Navigation: opens
Sources/ACHApp/ACHApp.swift - App Lifecycle → Session Service: initializes
Sources/ACHApp/ACHApp.swift - Main Navigation → Session Service: controls
Sources/ACHApp/MainView.swift - Dashboard → Session Service: reads totals
Sources/ACHApp/DashboardView.swift - Dashboard → Reports and Goals: uses
Sources/ACHApp/DashboardView.swift - Goals View → Session Service: reads goals
Sources/ACHApp/GoalsView.swift - Goals View → Reports and Goals: uses
Sources/ACHApp/GoalsView.swift - Session History → Session Service: reads sessions
Sources/ACHApp/SessionsView.swift - Semester Selector → Session Service: selects semester
Sources/ACHApp/SemesterSidebar.swift - Settings → Session Service: updates settings
Sources/ACHApp/SettingsView.swift - Settings → Desktop Timer: configures
Sources/ACHApp/SettingsView.swift - Desktop Timer → Session Service: observes
Sources/ACHApp/DesktopTimerController.swift - Desktop Timer → Timer Preferences: reads preferences
Sources/ACHApp/DesktopTimerController.swift - Session Service → SQLite Database: persists state
Sources/ACHCore/TimerService.swift - Session Service → Reports and Goals: evaluates progress
Sources/ACHCore/TimerService.swift - Session Service → Study Records: updates records
Sources/ACHCore/TimerService.swift - Electron Main → Study Service: dispatches actions
Windows/app/main.cjs - Electron Main → JSON Store: uses storage
Windows/app/main.cjs - Electron Main → Widget Placement: positions widget
Windows/app/main.cjs - Electron Main → Main Window UI: serves window
- Electron Main → Widget UI: serves window
- Main Window UI → UI Visuals: uses visuals