Skylar "The Cobra" Widulski
4105c9df46
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc> |
||
---|---|---|
guile-libxml2@1c3ff42fa4 | ||
static | ||
unfunny | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md | ||
instances.json | ||
unfunny.scm |
README.md
UNfunny
UNfunny is a privacy-respecting frontend to iFunny
iFunny? more like UNfunny!!!!
Currently only the images are supported because afaik thats the only reason anyone goes to ifunny.com. If you think I'm wrong, open an issue.
Support
Join our Matrix room for support and other things related to UNfunny
Instances
See instances.json
Run your own instance
Dependencies
This program is written in Guile Scheme.
You will need need guile
, guile-gnutls
, guile-lib
, imagemagick
(for removing the watermark), and guile-libxml2
.
guile-libxml2
is submodule in this repository libxml2
, libgumbo
, and gumbo-libxml
installed.
Running
- Clone the repository using
git clone --recurse-submodules http://git.vern.cc/cobra/UNfunny
cd
intoguile-libxml2
- Follow the build instructions there
cd
back to the main repo- Run
guile -L . -L guile-libxml2 unfunny.scm
- Connect to http://localhost:8004 (or point your reverse proxy to it)
- Profit
Environment
PATCHES_URL
- Link to any patches that were applied. Necessary if there are any. Do not set if there aren't.
The following are optional.
PORT
- What port to run on (default 8004
).
WAND_PATH
- Path to libMagickWand-6.Q16.so
(default similar to below).
LIBXML2_LOCATION
(Used by guile-libxml2) - Path to libxml2.so
(default libxml2
, which checks LD_LIBRARY_PATH
).
GUMBO_LIBXML_LOCATION
(Used by guile-libxml2) - Path to libgumbo_xml.so
(default ./gumbo-libxml/.libs/libgumbo_xml.so
, can be edited to libgumbo_xml
, which does the same thing as libxml2
in LIBXML2_LOCATION
)
Notes
When using a service manager (e.g. systemd), make sure the stop signal is set to SIGINT, or 2. This will prevent EADDRINUSE.