Skip to content

Releases: san-ghun/ywfm

v0.8.6

02 Apr 17:49
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.5...v0.8.6

v0.7.5

26 Feb 20:14
5fcecbb
Compare
Choose a tag to compare

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 and error_*.log.

Full Changelog: v0.7.3...v0.7.5

v0.7.3

20 Feb 23:50
d5d8452
Compare
Choose a tag to compare

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 and trigger_at.
      • created_at: When the reminder was created
      • trigger_at: When the reminder will trigger

Full Changelog: v0.7.1...v0.7.3

v0.7.1

20 Feb 22:06
9e68320
Compare
Choose a tag to compare

What's Changed

  • Feat/mandatory arg timer by @san-ghun in #24
    • Let timer parameter to be mandatory argument.
  • 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.

Full Changelog: v0.6.8...v0.7.1

v0.6.8

28 Jan 20:23
32edcee
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.6...v0.6.8

v0.4.6

22 Jan 17:57
9366262
Compare
Choose a tag to compare

What's Changed

  • fix: Fix double notification execution bug in linux version by @san-ghun in #16

Full Changelog: v0.4.4...v0.4.6

v0.4.4

13 Jan 19:33
16cee34
Compare
Choose a tag to compare

What's Changed

  • Fix/install by @san-ghun in #10
  • refactor: Edit main script file to let user run without dependency by @san-ghun in #12

Full Changelog: v0.1.0...v0.4.4

v0.4.2

16 Dec 14:53
Compare
Choose a tag to compare

New Features

  • Visual feedback: Add a progress bar option to show the progress of the reminder.
  • User input on installation: Ask the user for permission to install dependencies.

0.1.0 initial release

10 Dec 21:30
Compare
Choose a tag to compare

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

  1. Timer: The program calculates the delay based on the provided timer option and runs until triggered.
  2. Notifications:
    • macOS: Uses terminal-notifier to display notifications and open URLs.
    • Linux: Uses notify-send to display notifications and xdg-open to open URLs.
  3. Custom Commands: Executes shell commands as specified in the --command option.

License

This project is licensed under the MIT License.

Author

Sanghun Park