https://github.com/trilogy-group/worksmart-notifier
https://github.com/trilogy-group/worksmart-notifier
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/trilogy-group/worksmart-notifier
- Owner: trilogy-group
- Created: 2023-12-23T13:54:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-02T16:11:02.000Z (about 1 year ago)
- Last Synced: 2025-01-29T12:18:02.006Z (5 months ago)
- Language: TypeScript
- Size: 3.48 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# WorkSmart Notifier
This application is designed to monitor a specific process and create notifications when the process stops. This is particularly useful for time tracking applications where an unexpected stop can lead to lost tracking hours and cause frustration.
## Features
- Monitors a specific process (configurable)
- Sends a notification when the monitored process stops
- Provides options to restart the process or stop checking## Usage
The application uses environment variables to determine the process to monitor. These can be set in a `.env` file:
- `WORKSMART_PROCESS_PATH`: The full path to the process. If not set, the application will use default paths based on the operating system:
- Windows: 'C:\\Program Files (x86)\\Crossover\\Crossover.exe'The application will begin monitoring the specified process and send a notification if the process stops once it has started.
Show notifications:

Note: Close notification does not mute further notifications but will restart the crossover application. Only the cross button in the top right will mute notifications.
Display its tracking status and allow to disable checks or autostart on user login:

## Development
The application is written in TypeScript. You can use the provided `tsconfig.json` for compilation settings. The main logic for process monitoring and notification is in `src/monitor.ts`.
## Love using WorkSmart Notifier?
Consider supporting further development by buying me a coffee here: