All Projects → Rhilip → RidPT

Rhilip / RidPT

Licence: Apache-2.0 license
A Private Tracker System

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to RidPT

haitou
Private Torrent Forum/Tracker in Portuguese BR (On Development now)
Stars: ✭ 16 (-84.31%)
Mutual labels:  bittorrent-tracker, private-tracker
nexusphp
A private tracker application base on NexusPHP
Stars: ✭ 209 (+104.9%)
Mutual labels:  private-tracker, nexusphp
php-tdengine
大数据引擎 TDengine 的 PHP 客户端扩展,支持 Swoole!
Stars: ✭ 62 (-39.22%)
Mutual labels:  swoole
leevel
🚀The Leevel Framework To Rebuild QueryPHP.
Stars: ✭ 35 (-65.69%)
Mutual labels:  swoole
http
Support Swoole Implement PSR7
Stars: ✭ 28 (-72.55%)
Mutual labels:  swoole
create-siler-app
🧱 Set up a modern Siler app by running one command.
Stars: ✭ 15 (-85.29%)
Mutual labels:  swoole
docs
Lawoole documentation
Stars: ✭ 12 (-88.24%)
Mutual labels:  swoole
yii2-s
🚀speed up yii2 tcp server、 restful by swoole
Stars: ✭ 34 (-66.67%)
Mutual labels:  swoole
gotask
⚡️ A lightning speed replacement for Swoole TaskWorker in Go
Stars: ✭ 164 (+60.78%)
Mutual labels:  swoole
http-emitter
📡 Emitting psr-7 responses.
Stars: ✭ 31 (-69.61%)
Mutual labels:  swoole
static-php-cli
Build single static PHP binary in linux, build with PHP project together, with Swoole and other popular extensions included.
Stars: ✭ 129 (+26.47%)
Mutual labels:  swoole
orange
基于beanstalkd实现多进程处理消息队列的框架
Stars: ✭ 19 (-81.37%)
Mutual labels:  swoole
swoole api framework
swoole
Stars: ✭ 28 (-72.55%)
Mutual labels:  swoole
NexusPHP safe
NexusPHP 一个开源的PT程序 该分支修复了部分已知的安全漏洞 This Project NexusPHP is an open-sourced private tracker script written in PHP. This branch Fixed a number of known security vulnerabilities
Stars: ✭ 24 (-76.47%)
Mutual labels:  nexusphp
pybtracker
UDP BitTorrent tracker written in Python 3.5 using co-routines and asyncio.
Stars: ✭ 46 (-54.9%)
Mutual labels:  bittorrent-tracker
MineAdmin
🎉🌈🔥MineAdmin是基于Hyperf框架 和 Vue3+Vite3 开发的前后端分离权限管理系统,自适应多终端。特色:crud生成 + json配置化开发一把梭
Stars: ✭ 142 (+39.22%)
Mutual labels:  swoole
TT Jobs
基于 Swoole 定时管理系统
Stars: ✭ 22 (-78.43%)
Mutual labels:  swoole
wlsh-framework
名词解释:wlsh( 为了生活---每个字的第一个拼音 )酷毙的码农为了生活自由,基于composer整合yaf框架与swoole等扩展,开发的php协程组件;低耦合,使用非常少的语法糖,尽量使用原有扩展中的语法。
Stars: ✭ 18 (-82.35%)
Mutual labels:  swoole
swoole
Swoole Api references
Stars: ✭ 14 (-86.27%)
Mutual labels:  swoole
app
Buggregator is a beautiful, lightweight debug server build on Laravel that helps you catch your smpt, sentry, var-dump, monolog, ray outputs. It runs without installation on multiple platforms.
Stars: ✭ 259 (+153.92%)
Mutual labels:  swoole


Another Private Torrent framework Project. On Heavily Development now !!!

Codacy Badge GitHub Releases used-Swoole-blue GitHub license FOSSA Status Telegram Group


Demo Site

Demo Url: https://ridpt.top/

Test Account Information:

  • Username : Admin
  • Password : 123456

Installation Guide

  1. We test our RidPT project on this environment :

  2. After you prepare those base environment well

    • run below command to clone this repo or you can download from our release.
      git clone https://github.com/Rhilip/RidPT.git /home/wwwroot/your.domain.com
      cd /home/wwwroot/your.domain.com/
    • Use composer install to install PHP dependency.
    • Use bower install to install our front-end dependency (like js,css,font)
    • If you don't run RidPT apps in root user, you should give enough permission to apps/{storage,var}.
  3. Import Database Structure from our migration/ridpt.sql, and disable Mysql strict mode NO_ZERO_IN_DATE and NO_ZERO_DATE.

    mysql -u root -p < migration/ridpt.sql
  4. Then set your RidPT Project config (about APP, DATABASE, Redis, Mailer) in .env (Or better .env.local). The other config about site your can edit in Admin Panel.

    cp .env.example .env
    vi .env
  5. Run Test by php bin/console server start -u , And Congratulation If you see those output without error throwout.

    root@Ubuntu-iso-DND:/data/wwwroot/ridpt.top# php bin/console server:start
    
       ____            __  ____    ______                                                                                   
      /\  _`\   __    /\ \/\  _`\ /\__  _\                                                                                  
      \ \ \L\ \/\_\   \_\ \ \ \L\ \/_/\ \/                                                                                  
       \ \ ,  /\/\ \  /'_` \ \ ,__/  \ \ \                                                                                  
        \ \ \\ \\ \ \/\ \L\ \ \ \/    \ \ \                                                                                 
         \ \_\ \_\ \_\ \___,_\ \_\     \ \_\                                                                                
          \/_/\/ /\/_/\/__,_ /\/_/      \/_/                                                                                
    
     ------------------------ ------------------------------------------------ 
      Environment              Value                                           
     ------------------------ ------------------------------------------------ 
      System      Name         Linux                                           
      Framework   Version      v0.1.7-alpha                                    
      PHP         Version      7.4.1                                           
      Swoole      Version      4.4.14                                          
      Listen      Addr         127.0.0.1                                       
      Listen      Port         9501                                            
      Reactor     Num          1                                               
      Worker      Num          5                                               
      Hot         Update       disabled                                        
      Coroutine   Mode         disabled                                        
      Config      File         /data/wwwroot/ridpt.top/config/application.php  
     ------------------------ ------------------------------------------------ 
  6. Then you can safely add Nginx reserve proxy config like migration/nginx.conf. And Notice : If your service is behind the CDN like Cloudflare, You MUST follow How do I restore original visitor IP with Nginx? So that tracker can correctly record the peer's ip address.

  7. Use the default php bin/console server:start -d to let RidPT RUN in the background. Or you can use other daemon work like:

Basie Environment Setting in .env

Notice: Any change in file .env require the restart of Application to Make it effective

Section APP

Document: None

Key Type Note
APP_ENV ENUM('local','staging') Not use now.
APP_DEBUG Bool Turn on or off the debug model,Turn if off after success deploy !
APP_SECRET_KEY String The key used to encrypt and decrypt some data.(Change it before deploy and don't Change it after Deploy)
APP_SECRET_IV String A non-NULL Initialization Vector.(Change it before deploy and don't Change it after Deploy)

Section Database

Document: PHP: PDO::__construct - Manual

Key Type Note
DATABASE_DSN DSN The Data Source Name, or DSN, contains the information required to connect to the database.
DATABASE_USERNAME String The user name for the DSN string.
DATABASE_PASSWORD String The password for the DSN string.

Section Redis

Document: phpredis/phpredis

Key Type Note
REDIS_HOST String A host, or the path to a unix domain socket.
REDIS_PORT Int Dy default 6379.
REDIS_DATABASE Int dbindex, the database number to switch to.
REDIS_PASSWORD String The password for the Redis server.

Section Mailer

Document: the PHPMailer wiki

Key Type Note
MAILER_DEBUG Int SMTP class debug output mode.
MAILER_HOST String SMTP hosts.
MAILER_PORT Int The default SMTP server port.
MAILER_ENCRYPTION Enum('','tls','ssl') What kind of encryption to use on the SMTP connection.
MAILER_USERNAME String SMTP username.
MAILER_PASSWORD String SMTP password.
MAILER_FROM String The from address of this email.
MAILER_FROMNAME String The from name of this email.

Dynamic Config

Notice: Most Dynamic config note you can found in our config setting Page

// TODO

Development Help

Some rule or Docs May help you when you rebuild this project, Or you can join our chat group on Telegram -- @ridpt

FrontEnd

Library Docs
Zui: an HTML5 front UI framework http://zui.sexy/ ( Chinese Version )
FortAwesome: The iconic SVG, font, and CSS toolkit https://fontawesome.com/icons?d=gallery
flag-css: CSS for SVG country flags respecting the original ratio. https://kfpun.com/flag-css/
zxcvbn: Low-Budget Password Strength Estimation https://lowe.github.io/tryzxcvbn/
bootstrap-validator: A user-friendly HTML5 form validation jQuery plugin for Bootstrap 3 http://1000hz.github.io/bootstrap-validator
jQuery.Textarea.Autoresize: Smart resizing for textareas using jQuery https://github.com/AndrewDryga/jQuery.Textarea.Autoresize

Backend Library

Library Used As Docs
MixPHP v1 Framework https://www.kancloud.cn/onanying/mixphp1/379324 ( Chinese Version )
vlucas/phpdotenv phpdotenv https://github.com/vlucas/phpdotenv
adhocore/cli Console Application https://github.com/adhocore/php-cli
siriusphp/validation Validator http://www.sirius.ro/php/sirius/validation/
league/plates Template system http://platesphp.com/
firebase/php-jwt JWT https://github.com/firebase/php-jwt, https://jwt.io/

Sponsor

MeiHeZi For Demo Site Host Server

License

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].