Go to file
Skylar "The Cobra" Widulski ada49e8739
Add info about Python plugin for uWSGI
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-01-13 15:33:07 -05:00
static Init 2023-01-11 21:05:27 -05:00
templates Fix error where some fact check pages would fail to load 2023-01-13 00:58:28 -05:00
LICENSE Init 2023-01-11 21:05:27 -05:00
README.md Add info about Python plugin for uWSGI 2023-01-13 15:33:07 -05:00
instances.json Add instances.json, add running instructions, clean up imports 2023-01-11 21:18:28 -05:00
main.py Fix error where some fact check pages would fail to load 2023-01-13 00:58:28 -05:00

README.md

Suds

Suds is a privacy-respecting frontend to Snopes.com

Instances

See instances.json

Run your own instance

Dependencies

This program depends on bs4, requests, and flask. Install them by running pip3 install bs4 requests flask.

For the production environment, you also need the uWSGI Python3 plugin. On Debian, it can be installed via apt install uwsgi-plugin-python3

Production

  1. Clone the repository
  2. Run uwsgi --plugin python3 --http-socket 0.0.0.0:8001 --wsgi-file main.py --callable app --processes 4 --threads 2
  3. Point your reverse proxy to http://localhost:8001

Development

  1. Clone the repository
  2. Run python3 main.py
  3. Connect to http://localhost:8001