summaryrefslogtreecommitdiff
path: root/README.nfo
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-02 15:29:31 -0500
committerChristian Cleberg <[email protected]>2026-08-02 15:29:31 -0500
commitd701a4892272714f81c68dc4170ac4386ddae49b (patch)
tree34a3ac0de1fd32d014cf86faad0da22d08afca7a /README.nfo
parent11b14644b2ecee022bc127675b4de906fc6d1dd7 (diff)
downloaddaily-poem-main.tar.gz
daily-poem-main.tar.bz2
daily-poem-main.zip
convert readme to nfo; relicense to 0bsdHEADmain
Diffstat (limited to 'README.nfo')
-rw-r--r--README.nfo28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.nfo b/README.nfo
new file mode 100644
index 0000000..3a78f06
--- /dev/null
+++ b/README.nfo
@@ -0,0 +1,28 @@
+┌──────────────────────────────────────────────────────────────┐
+│ D A I L Y P O E M [ KRZ ] krz.sh │
+└──────────────────────────────────────────────────────────────┘
+
+WHAT
+ python program. requests a random poem from the poetrydb api and
+ emails it to a configured list of addresses.
+
+REQUIRES
+ python, and a way to send mail (e.g. mailutils on debian).
+
+RUN
+ git clone <REPO_URL>
+ cd daily-poem
+ pip install -r requirements.txt
+
+ edit main.py and set:
+ - sender_email: the from address
+ - recipient_emails: a list of to addresses
+ - smtp_server: smtp host, defaults to localhost
+
+ then:
+
+ python main.py
+
+┌──────────────────────────────────────────────────────────────┐
+│ krz.sh │
+└──────────────────────────────────────────────────────────────┘