SpookyNotif

Phase 1 – JSON parsing and random notifications

Implement a Python script that reads prompts from a JSON file and sends system notifications at random intervals.

  • Load JSON file with prompt-tags entries
  • Select a random prompt
  • Send a system notification
  • Repeat at random intervals

Functional result: Script displays notifications with random prompts continuously until manually stopped.

Phase 2 – Tag filtering and error handling

Add command-line tag filtering and ensure the script handles missing or incompatible prompts gracefully.

  • Accept tags via command-line arguments
  • Filter prompts by specified tags
  • Exit if no compatible prompt exists
  • Maintain continuous notifications until user intervention

Functional result: Script only sends relevant notifications based on tags and handles empty results without crashing.