aboutsummaryrefslogtreecommitdiff
path: root/README.org
blob: 72a0553d090bdbafb16180ccf6340807aba2194c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This script screen scrapes data from the latest [[https://apod.nasa.gov/][NASA Astronomy Picture
of the Day (APOD)]] and posts it to a specified [[https://gnu.io/social/][GNU Social]] account. Run
daily with a cron job, this script can be used as a bot that regularly
reposts NASA APOD images to GNU Social. For example, to schedule the
bot to run every day at 1200 hours, you would use the following
crontab.

#+BEGIN_EXAMPLE
0 12 * * * /path/to/apod-bot.sh
#+END_EXAMPLE

I run this bot in my GNU Social instance at
[[https://social.systemreboot.net/apod][https://social.systemreboot.net/apod]]. Feel free to subscribe, or run
the bot on your own in your GNU Social instance.

* License

The source code is in the public domain.