README.org

main
daily-poem/README.org rendered · source · history · blame · raw

26 lines · 505 bytes

 1#+title: daily poem
 2
 3* what
 4python program. requests a random poem from the poetrydb api and
 5emails it to a configured list of addresses.
 6
 7* requires
 8python, and a way to send mail (e.g. mailutils on debian).
 9
10* run
11#+begin_src sh
12git clone <REPO_URL>
13cd daily-poem
14pip install -r requirements.txt
15#+end_src
16
17edit main.py and set:
18- sender_email: the from address
19- recipient_emails: a list of to addresses
20- smtp_server: smtp host, defaults to localhost
21
22- then:
23
24#+begin_src sh
25python main.py
26#+end_src