SoftwareManager-Server is a part of the backend for SoftwareManager. This is a lightweight API that serves the purpose of being able to search Rutracker without having to login yourself, simplifying usage for SoftwareManager.
API Docs can be found at https://michijackson.xyz/api
-
Go to rutracker.org and log in to your account.
-
Open your browser's Developer Tools (usually by pressing
F12orCtrl+Shift+I). -
Navigate to the Storage or Application tab, then find Cookies for rutracker.org.
-
Locate the cookie named
bb_sessionand copy its value. -
Create a file named
.envin the project root directory. -
Add the following line to your
.envfile, replacing{cookie}with your copied value:bb_session={cookie} -
Save the
.envfile.
Your session cookie is now set up for use with the Server.
On our VPS, we use Gunicorn to run our Flask server, with Nginx as a reverse proxy. If you want to run the server just for yourself, this isn't needed. You can simply run it directly with Flask:
python3 server.pyNote
The server runs on Port 8080 by default. You can change that by modifying the "Port" variable in the server.py file