The world has become so complicated that there are tons of information coming at me everyday. I fell so exhausted.
So I created this repository to help me gather all kinds of information that I'd like to see automatically(Autor). And it will send me an email frequently(morning, noon, night, midnight). It contains:
diff.sh: Get the diff file of today's last commit and first commit's parent commit of my repositories.diff2html.sh: Used bydiff.shto convert .diff to .html, forked from herehoroscope.sh: Get today's horoscope.pocket.sh: Get today's read-later list from Pocket.rss.sh: Get the RSS feed specified inconfig/.weather.sh: Get today's weather from wttr.wordnik.sh: Get word of the day from wordnik.reporter.sh: Combine all the above to generate the final report.
With Autor, I don't bother to seek information everywhere. I just check my email whenever I like.
GITHAB_USERNAME: github usernameLOCATION: weather locationMAIL_USERNAME: email user nameMAIL_PASSWORD: email passwordPOCKET_CONSUMER_KEY: used for PocketPOCKET_ACCESS_TOKEN: used for PocketWORDNIK_KEY: used for WordnikSIGN: sign
head,foot: html layoutsprofile.xml: Config what to send at themorning, noon, night, midnight, add RSS link in<rss>, add script name in<script>
-
Option 1: Use
scheduleto trigger the workflow. Change the time to send the email in.github/workflows/schedule.yml, but it always has a delay. -
Option 2: Use
workflow_dispatchto trigger the workflow. Use Github REST API, follow this link. I use this one, just create 4 automatic jobs using iphone shortcut, and send an api request at sepcific time.
- Add a blacklist of repo that I don't want to track
- Add more interesting scripts