The bullshit generator can generate articles with a given topic and a word count requirement.
There is also a live site at https://howtobullshit.me.
- Install docker.
- Clone the repository and get into it.
- Build the docker image.
docker build -t bullshit .
- Start the docker container.
This runs the api server on port
docker run -d -p 1234:10000 bullshit
1234
- Now you can test it with
curl
.curl http://127.0.0.1:1234/bullshit \ 16:16:07 -X POST \ -H 'Content-Type: application/json; charset=utf-8' \ -d '{"Topic": "hi", "MinLen": 100}'
The generator API is open for public. For more details on how to use it, please reference the code
Note that there is a request rate limit of 1000 reqeusts within 1000 seconds for each IP.