Skip to content

Conversation

@afonsojramos
Copy link
Owner

Convert Discrakt from CLI polling app to system tray application running in the background.

Features:

  • Tray icon with dropdown menu showing current watching status
  • Pause/Resume toggle and Quit option
  • Background polling thread with shared state architecture
  • Hidden dock icon on macOS (accessory app mode)
  • Cross-platform with Windows console hidden in release builds

The app now runs silently in the tray with no console window, updating status every 15 seconds from Trakt and syncing to Discord Rich Presence.

- Add tray icon with status display and pause/quit controls
- Run polling loop in background thread with shared state
- Hide dock icon on macOS (accessory app mode)
- Add cross-platform status updates in tray menu
@afonsojramos afonsojramos changed the title Convert to system tray application feat: convert to system tray application Dec 2, 2025
- Discord::new() now returns Result instead of panicking
- Discord::close() handles errors gracefully
- Remove duplicate is_paused field from Tray (use AppState directly)
- Remove unused last_error field and set_error method
- Update CI MSRV to 1.70 for winit compatibility
@afonsojramos afonsojramos merged commit 81b6eb1 into main Dec 2, 2025
9 checks passed
@afonsojramos afonsojramos deleted the tray-app branch December 2, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants