Automated Download Queue for Enterprise to take the best use of Internet bandwidth
Bassa solves the problem of wasting internet bandwidth by queuing a download if it is larger than a given threshold value in high traffic and when the traffic is low, it completes the download of the files. After the files are downloaded, the users can get their files from the local servers which do not require external internet bandwidth.
- Provides an interface for users to add their downloads as links or torrent magnet links
- Provide users with an interface to view and download the files in the local server
- Provide a rating system for users to rate the files residing in local server
- Automatically start and stop downloading in given time frame
- Automatically clean the disks and make room for new downloads
- Notify the users when his/her download is completed
- Mark inappropriate downloads
- Provides admins with an interface to deal with inappropriate files
Note:
- Windows users can check the installation guide here.
- MacOS users can check the installation guide here.
First clone the Repository
git clone https://github.com/scorelab/Bassa.git
cd Bassa
Use python 3 instead of Python 2
$ ./setup.sh
$ cd components/core/
$ sudo python3 setup.py develop
Bassa has 4 main compoenents,
- Database
- Bassa API
- Bassa UI
- aria2
- Type below in a MySql terminal.
create database Bassa
- Type below in the root of project.
mysql -u root -p Bassa < Bassa.sql
- Open components/core/DBCon.py and setup database username and password.
$ cd components/core/
$ python3 Main.py
$ cd ui/
$ npm install
run gulp serve
In the first time you log in, the credentials would be as follows.
- username - rand
- password - pass
run aria2c --enable-rpc
Read more on installing aria2
here
- Make sure the python server is working and you have an open connection to the database.
- Open the python console in your terminal by running the command
python3
. - In the console that opens, import the test files, like so:
from tests.Bassa_endpoint_test import *
from tests.login_test import *
cd ui
npm test OR yarn test
Run the docker-compose
at the project directory to deploy the core API, UI and the DB.
$ docker-compose up
- After Setting up Bassa, Login/Register.
There are two types of users in Bassa
- The Admin
- The Normal Users
- A user can add a link through the webapp and Bassa stores it in the local server right away. This way multiple users can add various links, but the downloads won’t start right away.
- The organisation admin can start the downloads at a time of his/her liking.
- Then the users who had added links for certain files can download them from the local servers at a much higher speed.
- You can even watch a video tutorial for the same on Youtube
Please go through the developer guides in Bassa wiki
This project exists thanks to all the people who contribute.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]