Git Product home page Git Product logo

tornas's Introduction

TorNas

TorNas is web application for storing informations about movies, tv shows and torrents from transmission server.

Logo

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.

Requirements

  • 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

Installation

  1. git clone https://github.com/mihaliak/TorNas.git /var/www
  2. composer install
  3. yarn or npm install
  4. gulp
  5. update .env file, set at least APP_URL DB_* TRANSMISSION_*
  6. 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
  7. migrate and seed database, in directory /var/www run php artisan migrate --seed
  8. 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

Users and passwords

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.

Changing admin password

Replace YOUR_NEW_PASSWORD_HERE with your password.

  1. In /var/www run php artisan tinker then type following commands:
  2. $admin = \TorNas\Modules\User\User::first();
  3. $admin->password = bcrypt('YOUR_NEW_PASSWORD_HERE');
  4. $admin->save();

Creating new user

Replace USER_NAME with user name and NEW_USER_PASSWORD with user password.

  1. In /var/www run php artisan tinker then type following commands:
  2. \TorNas\Modules\User\User::create(['login' => 'USER_NAME', 'password' => bcrypt('NEW_USER_PASSWORD')]);

Removing user

Replace USER_NAME with user name.

  1. In /var/www run php artisan tinker then type following commands:
  2. \TorNas\Modules\User\User::where('login', 'USER_NAME')->delete();

Todo

  • User management
  • Episode management
  • Use medialibrary package to hold torrent files and not store them in File model
  • Translations
  • Refactoring
  • Tests

Contributing

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!

License

All code is licensed under the GPL version 3

tornas's People

Contributors

mihaliak avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

tornas's Issues

Cannot Login

Hello,

I have installed this app with success. However when I try to login even after using tinker I get the swal whoops invalid user or pass. and in inspector see following error.

http://XXX/api/login Failed to load resource: the server responded with a status of 404 (Not Found)

any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.