TorNas is web application for storing informations about movies, tv shows and torrents from transmission server.
I created this application for personal need but then my friends asked me to share it so I made it open source.
This application is ready to use except some modules e.g. user management, episodes management. see todo
You can see screenshots of application in screenshots folder.
- ubuntu >= 16.04
- composer
- npm / yarn
- php >= 7.0
- mysql or any database supported by laravel
- apache / nginx or any modern webserver
- python
- python-libtorrent (libtorrent-rasterbar version 0.16 or later) on ubuntu:
sudo apt-get install python-libtorrent -y
- transmission server
git clone https://github.com/mihaliak/TorNas.git /var/www
composer install
yarn
ornpm install
gulp
- update
.env
file, set at leastAPP_URL
DB_*
TRANSMISSION_*
- you may want to change admin account login/password you can do it in
database/seeds/CreateAdminAccount.php
or later in command line, see below - migrate and seed database, in directory /var/www run
php artisan migrate --seed
- You will have to update some files in
vendor
folder till my pull request will be accepted (not sure if it will be because project is inactive for long time) see pull request here and which file to edit here If you wont edit this file you wont be able to remove all torrents at once, everything else will works
Application supports multiple users and accounts but there is not any user management yet so you have to change default admin password, also you can create new users.
Replace YOUR_NEW_PASSWORD_HERE with your password.
- In /var/www run
php artisan tinker
then type following commands: $admin = \TorNas\Modules\User\User::first();
$admin->password = bcrypt('YOUR_NEW_PASSWORD_HERE');
$admin->save();
Replace USER_NAME with user name and NEW_USER_PASSWORD with user password.
- In /var/www run
php artisan tinker
then type following commands: \TorNas\Modules\User\User::create(['login' => 'USER_NAME', 'password' => bcrypt('NEW_USER_PASSWORD')]);
Replace USER_NAME with user name.
- In /var/www run
php artisan tinker
then type following commands: \TorNas\Modules\User\User::where('login', 'USER_NAME')->delete();
- User management
- Episode management
- Use medialibrary package to hold torrent files and not store them in File model
- Translations
- Refactoring
- Tests
Thank you for considering contributing to the TorNas! Just create pull request and I will check it out, if it will be reasonable pull request I will definitely accept it!
All code is licensed under the GPL version 3