Skip to content

yeecord/bullshit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bullshit generator

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.

Getting started

  1. Install docker.
  2. Clone the repository and get into it.
  3. Build the docker image.
    docker build -t bullshit .
    
  4. Start the docker container.
    docker run -d -p 1234:10000 bullshit 
    
    This runs the api server on port 1234
  5. 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}' 
    

API

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.

About

A bullshit generator / 唬爛產生器

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 32.8%
  • Go 27.2%
  • HTML 25.8%
  • JavaScript 10.2%
  • Python 4.0%