2023-01-12 02:05:27 +00:00
|
|
|
# Suds
|
|
|
|
Suds is a privacy-respecting frontend to Snopes.com
|
|
|
|
|
|
|
|
# Instances
|
|
|
|
See instances.json
|
|
|
|
|
2023-07-19 02:34:45 +00:00
|
|
|
# Support
|
|
|
|
Join our [Matrix room](https://mto.vern.cc/#/#cobra-frontends:vern.cc) for support and other things related to Suds
|
|
|
|
|
2023-01-12 02:05:27 +00:00
|
|
|
# Run your own instance
|
2023-01-12 02:19:48 +00:00
|
|
|
## Dependencies
|
|
|
|
This program depends on `bs4`, `requests`, and `flask`. Install them by running `pip3 install bs4 requests flask`.
|
2023-01-13 20:33:07 +00:00
|
|
|
|
|
|
|
For the production environment, you also need the uWSGI Python3 plugin. On Debian, it can be installed via `apt install uwsgi-plugin-python3`
|
2023-01-12 02:18:28 +00:00
|
|
|
## 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
|