A command line script for periodic reminders of events via email.
Periodic reminder for created events via email.
You could create a new event (with markdown support for description) and set a reminder on a particular date or periodic reminder (like every 2 months, every year...). Evem will send emails on those dates with that information.
When it could be useful:
- It could be used to periodically check in, on your progress on something you want to learn
- It could help motivate you and really track your progress
- For reminders for certain events on particular date or periodically(like someone's birthday)
A list of commonly used resources that I find helpful are listed in the acknowledgements.
To set up the project follow these steps.
Set environment variables:
- EMAIL (of Gmail account)
This gmail account email and password are used for sending email.
Clone the repo
git clone https://github.com/yashrathi-git/evem
Navigate into the project directory
pip install --editable .
evemwill be accessible from anywhere, in file system.
Run this command to initialize it:
For sending emails on particular date, it have to be run on startup. I think everyone starts their computer or laptop atleast once everyday. So when it starts Evem will check for if it needs to send any mail(reminders) and if yes send it in background and terminate.
Add the following command to run on startup:
Create new event
- First run
evem event new
remind-onit excepts input in certian syntax:
period = (year,month,day), repeat = (*|int)
period = (0,1,0), repeat = 10 # means to remind every month for 10 times period = (0,0,14), repeat = * # means to remind every 14 days (forever) period = (1,0,0), repeat = 1 # means remind after 1 year (1 time only)
- Now it will create a
markdownfolder. It will print the file path. Add description to this file(supports markdown, syntax highlighting, table etc.) and save it.
- Now run to add the new event:
evem event new --commit
This will check if any reminders needs to be sent today and send it via email if needed.
evem event list #List all events with ID for event evem event list --oneline evem request <id> # Send mail for particular ID. evem delete <id> # Delete event based on provided ID