Releases: san-ghun/ywfm
Releases · san-ghun/ywfm
v0.8.6
v0.7.5
What's Changed
- Feat/output description by @san-ghun in #33
- Add new property to display description into JSON output to provide extra information.
- Provide message output for
MIN_TIME
value to enforce on too small timer value. - Provide message output showing where the output and error logs for background run are stored.
- Now, the program generate and store log files with suffix of timestamps after
output_*.log
anderror_*.log
.
Full Changelog: v0.7.3...v0.7.5
v0.7.3
What's Changed
- refactor: Apply minimum timer value by @san-ghun in #31
- Enforce the reminder run with minimum timer value which is 15 seconds.
- feat: Add timestamps by @san-ghun in #32
- Add
created_at
andtrigger_at
.- created_at: When the reminder was created
- trigger_at: When the reminder will trigger
- Add
Full Changelog: v0.7.1...v0.7.3
v0.7.1
What's Changed
- Feat/mandatory arg timer by @san-ghun in #24
- Let
timer
parameter to be mandatory argument.
- Let
- Fix/prompt back backround mode by @san-ghun in #26
- [fix] Applying OOP with class and daemonization by @san-ghun in #30
- Apply OOP, Object-Oriented Programming, with class in Python3.
- Acquire modularity through classes to deal with concerns with better separation.
- Improve maintainability to make easier to extend and modify logic.
- Add type annotations for better collaboration in future and IDE support.
- Acquire encapsulation to get better data and behavior organization.
- Apply deamonization method to separate child process from parent for background run.
- Apply OOP, Object-Oriented Programming, with class in Python3.
Full Changelog: v0.6.8...v0.7.1
v0.6.8
v0.4.6
v0.4.4
v0.4.2
0.1.0 initial release
0.1.0 initial release
"Do something today that your future self will thank you for."
A simple Python3-based reminder tool for macOS and Linux that uses native notification systems to alert the user after a specified time. It also supports opening URLs and executing commands when the timer ends.
Features
- Cross-platform: Works on macOS (using terminal-notifier) and Linux (using notify-send).
- Customizable notifications: Add a title, subtitle, URL to open, and a command to execute.
- Timer support: Specify the delay using a human-readable format like 1h10m15s.
- Background execution: Option to run the reminder as a background process.
Usage
ywfm --title <string> --subtitle <string> --open <URL> --command <string> --timer <string> [--background]
Options
Option | Description |
---|---|
--title |
Required: Title for the reminder notification. |
--subtitle |
Optional: Subtitle for the notification. |
--open |
Optional: URL to open when the notification is triggered. |
--command |
Optional: Command to execute after the timer ends. |
--timer |
Optional: Timer duration, default 15m (e.g., 1h10m15s , 10s ). |
--background |
Optional: Run the reminder as a background process. |
How It Works
- Timer: The program calculates the delay based on the provided timer option and runs until triggered.
- Notifications:
- macOS: Uses
terminal-notifier
to display notifications and open URLs. - Linux: Uses
notify-send
to display notifications andxdg-open
to open URLs.
- macOS: Uses
- Custom Commands: Executes shell commands as specified in the
--command
option.
License
This project is licensed under the MIT License.
Author
Sanghun Park