The Bullshit Generator is a program inspired by Plan 9's bullshit script. It generates random nonsense phases by combining words and phrases from a customizable data file, making it perfect for creating humorous or jargon-filled text.
- Randomized sentence generation using categories like:
- Starting words
- Suffixes
- Protocols
- Endings
- Support for custom word files via the
-foption or environment variables. - Generate multiple phrases with a single command.
Clone the repository and build bullshit using the Go Compiler:
go build bullshit.go9front.txtdoes contain all words which are provided in 9frontbullshit.txtdoes contain an extended list of words for generating phases
./bullshit [-s] [-f file] [times]times: (Optional) The number of sentences to generate. Default is1.-f file: (Optional) Specify a custom data file. If omitted, the program uses:- The path specified in the environment variable
$BULLSHIT_FILE. - The file
$XDG_CONFIG_HOME/bullshit.txtor~/.config/bullshit.txt. - The file
/usr/share/bullshit.txt.
- The path specified in the environment variable
-s: (Optional) Sort input records and print sorted file to stdout
./bullshit./bullshit 5./bullshit -f custom_bullshit.txtexport BULLSHIT_FILE=/path/to/bullshit.txt
./bullshitThis project is licensed under the Zlib License. See the LICENSE file for details.
This program is inspired by the bullshit command from 9front's.