https://github.com/koeniglorenz/bwaas
Random buzzword-generator
https://github.com/koeniglorenz/bwaas
bullshitbingo buzzwords golang
Last synced: 5 months ago
JSON representation
Random buzzword-generator
- Host: GitHub
- URL: https://github.com/koeniglorenz/bwaas
- Owner: koeniglorenz
- Created: 2017-03-09T17:30:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T19:49:36.000Z (over 4 years ago)
- Last Synced: 2024-06-21T15:41:47.869Z (almost 2 years ago)
- Topics: bullshitbingo, buzzwords, golang
- Language: Go
- Homepage: https://bwaas.koenigreich.me
- Size: 32.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Buzzwords as a Service (BwaaS)
[](https://gitlab.com/koeniglorenz/bwaas/commits/master)
A simple HTTP server that responds to requests with a randomly generated concatenation of buzzwords that (probably) doesn't make any sense.
The server either responds with HTML or with JSON, when setting the `Accept`-Header of the request to `application/json`
### Buzzwords
The buzzwords are stored in a simple json file with the following structure:
```js
{
"adj": [
// adjectives like "Hosted or Automated"
],
"sub": [
// nouns like "IoT" or "Big Data"
],
"app": [
// appendices like "as a service"
]
}
```
Every time a request is processed, a random combination of one of these three categories is generated.
Feel free to add buzzwords and open a pull request!
### Running ~~locally~~ on premise
For running ~~locally~~ on premise either golang (1.11) is required or the docker runtime.
_golang_
```sh
go build -o bwaas ./cmd/main.go
./bwaas --buzzwords ./buzzwords.json
```
After starting the webserver is listening on port `8080` for requests.
The command-line-flag `buzzwords` is for passing the path to the buzzwords-JSON-file.
The flag is optional and defaults to `buzzwords.json`.
_docker_
```sh
docker build -t koeniglorenz/bwaas .
docker run -d -p 8080:8080 koeniglorenz/bwaas
```
By default the container exposes port `8080`, so this port can be mapped to any port on your local machine.
### Running in the cloud (as a service)
BwaaS is (as the name suggests) also available as a service in the cloud: https://bwaas.koenigreich.me