| name | last commit | updated |
|---|---|---|
| tests/ | Merge pull request #2 from krazywarez/ci/checks | 1 month ago |
| .gitignore | Merge pull request #2 from krazywarez/ci/checks | 1 month ago |
| LICENSE.txt | convert readme to nfo; relicense to 0bsd | 2 months ago |
| README.org | Convert README.nfo to README.org (!1) | 1 month ago |
| main.py | Merge pull request #2 from krazywarez/ci/checks | 1 month ago |
| requirements-dev.in | Merge pull request #2 from krazywarez/ci/checks | 1 month ago |
| requirements-dev.txt | Merge pull request #2 from krazywarez/ci/checks | 1 month ago |
| requirements.in | Merge pull request #1 from krazywarez/fix/requirements | 1 month ago |
| requirements.txt | Merge pull request #1 from krazywarez/fix/requirements | 1 month ago |
daily poem
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
Clone
SSHgit clone ssh://git@gitbay.org/krz/daily-poem.git
HTTPSgit clone https://gitbay.org/krz/daily-poem.git