This project has two parts: Frontend & Backend
The frontend is just REACTJS
The backend consitsts of two parts
The project's main purpose is to download torrent files (locally) and view download progress. The directory in which the downloads will be downloaded can be changed from "Backend - Python(FASTAPI) & Aria2/python files/conf.json"
To run this thing properly, you need to do 3 things
- create a
conf.json
file just likeconf.json.example
- run server.py in backend
- run start_rpc_server.cmd in backend (simply, start aria2 xmlrpc)
npm start
the frontend (react)
You need to make some changes in both frontend and backend.
- Frontend - React\src\helpers\helper.js - line7
- Just change the baseURL to the new backend URL
- Backend - Python(FASTAPI) & Aria2\python files\conf.json
based on a cookie called Token, the backend decides whether you're authorized or not. Valid tokens can be changed from server.py file. feel free to implement your own thing.