An open source alternative front-end to Instructables.
Find a file
2023-06-02 15:38:48 +00:00
static/img change logo to favicon 2023-06-01 17:27:58 -04:00
templates Shouldn't use internal URLs here, eh? 2023-06-02 15:38:48 +00:00
.gitignore Replaced selenium with playwright 2023-06-02 14:02:40 +00:00
LICENSE first commit 2023-06-01 17:25:13 -04:00
main.py Replaced selenium with playwright 2023-06-02 14:02:40 +00:00
README.md Replaced selenium with playwright 2023-06-02 14:02:40 +00:00
requirements.txt Replaced selenium with playwright 2023-06-02 14:02:40 +00:00

Indestructables

An open source alternative front-end to Instructables. This is a fork of snowcatridge10's Indestructables to use Playwright instead of Selenium.

snowcatridge10's Matrix Room

Instances

None, yet!

Run your own instance

Dependencies

First, create a virtual environment with python3 -m venv venv and activate it with source venv/bin/activate. Then, install the dependencies with:

pip3 install -r requirements.txt.

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

Furthermore, you need to install the Chromium binary used by Playwright. You can do this by running playwright install chromium.

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