https://github.com/capjamesg/lobsters-poetry
Procedurally generated poetry made with titles on the Lobste.rs homepage.
https://github.com/capjamesg/lobsters-poetry
lobsters poetry poetry-generator
Last synced: 7 months ago
JSON representation
Procedurally generated poetry made with titles on the Lobste.rs homepage.
- Host: GitHub
- URL: https://github.com/capjamesg/lobsters-poetry
- Owner: capjamesg
- License: mit
- Created: 2024-03-03T06:54:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-03T17:16:21.000Z (over 1 year ago)
- Last Synced: 2025-03-28T19:16:39.422Z (7 months ago)
- Topics: lobsters, poetry, poetry-generator
- Language: HTML
- Homepage: https://lobsterspoetry.jamesg.blog
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lobsters-poetry
Poetry generated programmatically from the front page of Lobste.rs. Reset hourly.
[View the latest poems](https://lobsterspoetry.jamesg.blog).
## Examples
- from Lobste.rs, I learned framework
- my look is manual
- an atomic Lobste.rs
- in 2001, fidelity
- be single and single
- the programmatic llms of challenge(Generated from the homepage on March 3rd, 2024)
## Installation
To install this software, run:
```
git clone https://github.com/capjamesg/lobsters-poetry
cd lobsters-poetry/
pip3 install tracery flair requests tqdm jinja2
```To generate poems, run:
```
python3 hn.py
```The script retrieves new titles and generates poems.
For testing, comment out the `get_front_page()` function call once you have run the script once. This will allow you to generate poems without retrieving the homepage and its associated titles for each time you run the script.
## License
This project is licensed under an [MIT license](LICENSE).