/greet_me

commandline todolist greeting script.

Primary LanguageRustMIT LicenseMIT

Greet_Me

<img src="greet_me_example.png"alt="greet me example image">

Simple greeting script that gathers my todos from joplin OR from an alternative format and prints out the urgent ones and allows me to view them all quickly and easily.

To set up the random quote, sign up for an account on rapidApi. you'll have 50 free requests a month if you go over that then they will start to charge you. (a penny per request I believe). Once signed up go the the get endpoint and go over to the code snipped section in the lower right hand side of the screen, click the drop down and select shell and then curl. then copy the snippet into your command line with a "> ~/.config/greet_me/quotes.json" at the end. replace the count=10 with a count=1. and then run it. copy that whole command and enter it into your crontab. type crontab -e and put 0 0 * * * your_command_here) and it will run the call and you'll have a new quote every day at midnight!

alt format:

Urgents list urgents here each on is a new todo non_urgents same thing here.

pass in the file with the -a flag to use alt format.

flags options

-a 'file name'\t\t for todo lists not tracked with joplin"); -q \t\t print the daily quote"); -h --help \t\t'prints this help message'");

future features.

  • save daily quote
  • print only daily quote
  • print random saved daily quote
  • config file