Skip to content

polashraj/UNIT3D

 
 

Repository files navigation

UNIT3D Logo

A Special Thanks To All Our Contributors


Discord chat

Table of Contents

  1. Introduction
  2. Some Features
  3. Requirements
  4. Installation
  5. Packages
  6. Security
  7. Contributing
  8. License
  9. Screenshots
  10. Homestead
  11. Patreon

Introduction

For the last year, I have been developing a Nex-Gen Torrent Tracker Script called "UNIT3D." This is a PHP script based off the lovely Laravel Framework -- currently Laravel Framework 5.6.3, MySQL Strict Mode Compliant and PHP 7.1 Ready. The code is well-designed and follows the PSR-2 coding style. It uses a MVC Architecture to ensure clarity between logic and presentation. As a hashing algorithm Bcrypt or Argon2 is used, to ensure a safe and proper way to store the passwords for the users. A lightweight Blade Templating Engine. Caching System Supporting: "apc,” "array,” "database,” "file," "memcached," and "redis" methods. Eloquent and much more!

Some Features

UNIT3D currently offers the following features:

  • Internal Forums System
  • Staff Dashboard
  • Faceted Ajax Torrent Search System
  • BON Store
  • Torrent Request Section with BON Bounties
  • Freeleech System
  • Double Upload System
  • Featured Torrents System
  • Polls System
  • Extra-Stats
  • PM System
  • Multilingual Support
  • TwoStep Auth System
  • DB + Files Backup Manager
  • and MUCH MORE!

Requirements

  • A Web server (NGINX is recommended)
  • PHP 7.2+ is required
  • Dependencies for PHP,
    • php-curl -> This is specifically needed for the various APIs we have running.
    • php-zip -> This is required for the Backup Manager.
  • Crontab access
  • A Redis server
  • MySQL 5.7
  • A decent dedicated server. Dont try running this on some crappy server!
Processor: Intel  Xeon E3-1245v2 -
Cores/Threads: 4c/8t
Frequency: 3.4GHz /3.8GHz
RAM: 32GB DDR3 1333 MHz
Disks: SoftRaid  2x240 GB   SSD
Bandwidth: 250 Mbps
Traffic: Unlimited
Is Under $50 A Month

Installation

  1. First grab the source-code and upload it to your web server. (If you have Git on your web server installed then clone it directly on your web server.)
  2. Open a terminal and SSH into your server.
  3. cd to the sites root directory
  4. run chmod +x composer-setup.sh && ./composer-setup.sh && php composer install
  5. Edit your .env file with your APP, DB, REDIS and MAIL info.
  6. Run php artisan key:generate to generate your cipher key.
  7. Edit config/api-keys.php, config/app.php and config/other.php (These house some basic settings. Be sure to visit the config manager from staff dashboard after up and running.)
  8. Run php artisan migrate --seed (Migrates All Tables And Foreign Keys)
  9. Add * * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1 to crontab
  10. Suggest that you run php artisan route:cache. (Keep in mind you will have to re-run it anytime changes are made to the routes/web.php but it is beneficial with page load times).
  11. Go to your sites URL.
  12. Login with the username UNIT3D and the password UNIT3D. (Or whatever you set in the .env if changed from defaults.) (This is the default owner account.)
  13. Enjoy using UNIT3D.

Packages

Here are some packages that are built for UNIT3D.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

License

UNIT3D is open-sourced software licensed under the GNU General Public License v3.0.

As per license do not remove the license from sourcecode or from footer in /resources/views/partials/footer.blade.php


Screenshots

User Profile (Galactic Theme) User Profile Page User Profile (Light Theme) User Profile Page BON Store (Dark Theme) BON Store Page Upload Page (Blur Theme) Upload Page

Homestead

Install and Setup Homestead

Example Homestead.yaml

folders:
    - map: ~/projects
      to: /home/vagrant/projects

sites:
    ...
    - map: unit3d.site
      to: /home/vagrant/projects/www/unit3d/public

databases:
    - homestead
    - unit3d

Example /etc/hosts

127.0.0.1       localhost
127.0.1.1       3rdtech-gnome

...
192.168.10.10   unit3d.site

  1. run cd ~/Homestead && vagrant up --provision
  2. run vagrant ssh
  3. cd to the unit3d project root directory
  4. copy .env.example to .env
  5. run php artisan key:generate
  6. run composer install
  7. run npm install
  8. run php artisan migrate:refresh --seed
  9. visit unit3d.site
  10. Login u: UNIT3D p: UNIT3D

Support me on patreon

You can support me on patreon if you are enjoying UNIT3D, this really keeps me up for fixing problems and adding new features. Also helps pay for the demo server + domain. Plus some beer to keep me sane.

About

🚀 The Nex-Gen Private Torrent Tracker

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 63.7%
  • HTML 28.1%
  • JavaScript 6.8%
  • CSS 1.4%