diff options
| author | Christian Cleberg <[email protected]> | 2026-08-02 15:29:31 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-02 15:29:31 -0500 |
| commit | d701a4892272714f81c68dc4170ac4386ddae49b (patch) | |
| tree | 34a3ac0de1fd32d014cf86faad0da22d08afca7a /README.md | |
| parent | 11b14644b2ecee022bc127675b4de906fc6d1dd7 (diff) | |
| download | daily-poem-main.tar.gz daily-poem-main.tar.bz2 daily-poem-main.zip | |
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/README.md b/README.md deleted file mode 100644 index e300384..0000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# Daily Poem - -This is a simple Python program to request a random poem from the -[PoetryDB API](https://github.com/thundercomb/poetrydb) and email it to -configurable email addresses. - -## Prerequisites - -In order to run this program, you must have a compatible version of Python -installed. You must also have a way to send emails, such as the `mailutils` -package on Debian. - -## Set-Up & Running - -First, clone the repository and enter the directory: - -```bash -git clone <REPO_URL> -cd daily-poem -``` - -Next, install the required Python packages: - -```bash -pip install -r requirements.txt -``` - -Finally, you will need to edit the `main.py` file and replace the following -variables with your own values: - -- `sender_email`: Enter the email address you want the emails to be sent -from; e.g., `[email protected]` -- `recipient_emails`: Enter the email addresses that the poem will be sent to, -in the form of a list; e.g., `['[email protected]', '[email protected]']` -- `smtp_server`: The SMTP server you want to user, defaults to `localhost`. - -Once the variables are updated, you may run the script: - -`python main.py` |
