| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A simple shitpost generator that pastes a random frame from Frinkiac to that "guys only want one thing" tweet.
See it in action here.
Do I really need to explain? It's a shitpost generator.
$ make
$ echo "extern const char * const TOP_IMAGE_BASE64 = \"`base64 -w 0 < NEW_IMAGE`\";" > top_image_base64.cpp
where NEW_IMAGE is the path to your new image in any format supported by ImageMagick.
Then recompile.
The frontend is a simple php script that executes make_image and puts the base64-encoded image data directly into the html.
I have the server laid out so that the http root is at a public/ directory, but scripts are below the public directory. The frontend just contains symlinks to the scripts. So for example:
public/ public/shitpostgen/index.php -> ../../shitpostgen/index.php shitpostgen/ shitpostgen/index.php shitpostgen/make_image shitpostgen/...<etc>...
| Back | FazBrowse Home | New Git URL |