Go to file
Skylar "The Cobra" Widulski 8a958bcc19
fix: Fix bug introduced by fixing another bug (adding head to search())
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2023-06-10 13:01:13 -04:00
static/img Make logo less complicated 2023-01-20 22:52:44 -05:00
templates fix: Replace jank way of sorting/pagination/searching for all/featured/winners in projects pages with an even jankier way 2023-06-10 12:51:50 -04:00
LICENSE Init 2023-01-20 19:54:10 -05:00
README.md Init 2023-01-20 19:54:10 -05:00
instances.json Add ~vern instance, fix header wrapping 2023-01-20 22:47:52 -05:00
main.py fix: Fix bug introduced by fixing another bug (adding head to search()) 2023-06-10 13:01:13 -04:00

README.md

Destructables

Destructables is a privacy-respecting frontend to Instructables

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:8002 --wsgi-file main.py --callable app --processes 4 --threads 2
  3. Point your reverse proxy to http://localhost:8002

Development

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