| name | last commit | updated |
|---|---|---|
| .github/ | Add GitHub Sponsors funding file | 8 days ago |
| .qlty/ | Qlty: disable function_complexity | 1 month ago |
| tests/ | Check HTTP status before parsing PoetryDB response | 21 days ago |
| .gitignore | Merge pull request #2 from krazywarez/ci/checks | 3 months ago |
| LICENSE.txt | convert readme to nfo; relicense to 0bsd | 3 months ago |
| README.org | Convert README.nfo to README.org (!1) | 2 months ago |
| main.py | Check HTTP status before parsing PoetryDB response | 21 days ago |
| requirements-dev.in | Merge pull request #2 from krazywarez/ci/checks | 3 months ago |
| requirements-dev.txt | Recompile requirements: certifi 2026.10.23 (!3) | 22 days ago |
| requirements.in | Merge pull request #1 from krazywarez/fix/requirements | 3 months ago |
| requirements.txt | Recompile requirements: certifi 2026.10.23 (!3) | 22 days 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