Important Note: As of August 2024 the source site buchtitelgenerator.de is down. Thus the project is on hold till I find time to build a solution. Looking into LLM integration as well.
This is an command-line app to create randomly created book titles to author combinations. The interface provides the possibility to tweet the list on twitter.
- Creates a list of random book titels and author combinations
- Parameters to tune are
- count for number of author/titles
- gender for the gender of the authors
Book titles are in german for now. Multilanguage support maybe coming in the future.
- python>=3.7,<3.10
- twitter devloper account (to post to twitter)
You can install Pufo Twitter Bot via pip from PyPI:
$ pip install pufo-twitter-bot
If you want to install inside a docker container:
$ docker build -t pufo-bot .
$ docker run --env-file .env pufo-bot
I installed it as a cronjob, see cronjob file.
Basic usage:
$ pufo-twitter-bot --count 2 --gender m
>> 1. Der Büffel - Florentin Titze
>> 2. Platte Tüte - Stefan Will
Please see the Command-line Reference for details.
Contributions are very welcome. To learn more, see the Contributor Guide.
Distributed under the terms of the MIT license, Pufo Twitter Bot is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.
Random book titles are taken from buchtitelgenerator.de This project would not be possible without the authors of this site for letting me use their data. Herewith I express my deepest thanks.
Random author names generated from two origins:
The names data is distributed under the Creative Commons license (see: cc licenses)
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.