Skip to content
This repository has been archived by the owner. It is now read-only.
[UNMAINTAINED] Web app for manage your seedbox
Branch: master
Clone or download
Latest commit b14800d Mar 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
conf refactor(): make seedbox running in a uri Mar 25, 2017
locale
source refactor(): make seedbox running in a uri Mar 25, 2017
src v3.0.1 Mar 29, 2017
themes v3.0.1 Mar 29, 2017
view
.editorconfig chore(): add option for reboot irssi (client irc) May 18, 2016
.gitignore fix(): better implementation of translate Mar 23, 2017
.styleci.yml
LICENSE license, readme and .gitignore added May 27, 2015
README.md
composer.json chore(): download file up Mar 26, 2017
index.php fix(): update configuration Mar 26, 2017
version.json

README.md

Description of seedbox-manager

StyleCI

seedbox-manager is web app for manage your seedbox.

  • reboot rtorrent session
  • custom links in navbar.
  • statistic server (load average, uptime)
  • download file config of filezilla and transdroid
  • admin area
  • logout for http basic authentication

Installation

note : root privilege is required

cd /var/www
git clone https://github.com/Magicalex/seedbox-manager.git
cd seedbox-manager
composer install
chown -R www-data: /var/www/seedbox-manager
cd source
chmod +x install.sh && ./install.sh

Configuration

example : web server nginx

server {
    listen 80 default_server;
    server_name _;

    charset utf-8;
    index index.php;

    access_log /var/log/nginx/seedbox-manager-access.log combined;
    error_log /var/log/nginx/seedbox-manager-error.log error;

    auth_basic "seedbox-manager";
    auth_basic_user_file "/etc/nginx/passwd/password";

    root /var/www;

    location / {
        try_files /seedbox-manager/$uri /seedbox-manager/index.php$is_args$args;
    }

    location ^~ /assets {
        alias /var/www/seedbox-manager/assets;
    }

    location ~ \.php$ {
        fastcgi_index index.php;
        include /etc/nginx/fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }
}

In a uri like http://domain.tld/seedbox-manager

server {
    listen 80 default_server;
    server_name _;

    charset utf-8;
    index index.html index.php;

    auth_basic "seedbox";
    auth_basic_user_file "/etc/nginx/passwd/password";

    root /var/www;

    location /seedbox-manager {
        try_files /seedbox-manager/$uri /seedbox-manager/index.php$is_args$args;
    }

    location ~ \.php$ {
        fastcgi_index index.php;
        include /etc/nginx/fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }
}

First connection

Connect you to the interface with your rutorrent id. This will automatically generate configuration files for the current user. ./seedbox-manager/conf/users/{utilisateur}/config.ini

To obtain the admin rights :

vi /var/www/seedbox-manager/conf/users/{utilisateur}/config.ini

and replace admin = no by admin = yes

developement

echo "127.0.0.1 sbm.dev" >> /etc/hosts
php -S sbm.dev:8080
You can’t perform that action at this time.