Skip to content

Joyist2021/NexusPHP-1PTBA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NexusPHP

license web github

codecov

**⚠️⚠️A modern HTTP web server index for Apache httpd, lighttpd, and nginx.

Important

  • Do not install any files from the src folder, they need to be preprocessed to work correctly!
  • Find a preprocessed package and detailed install instructions on the project page.
  • For bug reports and feature requests please use issues.

Build

ABOUT NexusPHP This Project NexusPHP is an open-sourced private tracker script written in PHP. It forks from the TBSource project and some other open-sourced projects. Please read the LICENSE file before using this project. Read the INSTALL file for information about how to use it. Read the RELEASENOTE file about this release. Visit http://www.nexusphp.com for more information about this project.

forked from cdwolfling/NexusPHP

add config/allconfig.php to ignorelist, you can get it back from https://github.com/cdwolfling/NexusPHP/commit/0f3742a86c8afae4c2a7f9ccd1549c877120a606

TODO List

  • Enhance progress bar
    • Add progress bar
    • Show seed or leech detail in progress bar
  • Enhance offer area
    • Add lock option for offer
    • Add small description to offer detail
    • Add rules description to offer head
  • Add big torrent promotion option
  • Add notice area in head
  • Move sign in to top
  • Auto hide empty donate string

主要文件目录结构:

├── NexusPHP-1PTBA
    ├── attachments    # 上传截图
    ├── bitbucket      # 上传用户头像
    ├── config
        └── allconfig.php         # 配置
    ├── include
        ├── functions.php     # 全局函数
        └── cleanup.php       # 清理脚本
    ├── lang          # 语言
    ├── subs          # 字幕文件
    ├── torrents      # 种子储存目录
    ├── docleanup.php     # 清理
    ├── forums.php      # 论坛
    ├── invite.php      # 邀请
    ├── shoutbox.php    # 消息框
    ├── usercp.php      # 用户控制面板
    ├── upload.php      # 发布
    ......

支持我

觉得本项目对你有帮助?你可以通过以下方式表达你的感受:

感谢

Thanks

Build Manual

1.Change permission of config

chmod -R 777 config torrents bitbucket attachments douban/cache subs

2.Create Database

Please use Mysql/MariaDB and DISABLE NO_ZERO_DATE, NO_ZERO_IN_DATE AND STRICT_TRANS_TABLES in sql_mode!
1、登录mysql
本地:mysql -u pt -p123456, 回车后输入密码; 也可以p后不加空格,直接加密码。回车就登录了
远程:mysql -hxx.xx.xx.xx -u -pxxx
2、查看数据库:show databases;
3、连接数据库:use pt;

source _db/dbstructure.sql
source _db/hdbiger_routines001.sql

退出: quit;

3.Install required package

启用php函数putenv()、proc_open;
安装php组件memcache;

4.Edit allconfig.php

Copy config/example.allconfig.php to config/allconfig.php,
Edit BASIC array, which contains mysql configure.

5.Something you need edit

Please edit the argument domain(.tjupt.org) to your domain name or just delete it in function logincookie(), set_langfolder_cookie() and logoutcookie() (You can find them in include/functions.php), otherwise you will not be able to log in.
In vim, you can use this command:

vim include/functions.php
:%s/, "\/", ".tjupt.org"/, "\/"/g

And there're some edits in tracker(announce.php) for TJUPT's network environment. You should edit it too.

6.Login

Username: NexusPHP
Password: nexusphp

MIT

License

The MIT License (MIT)

Copyright (c) 2020 (1PTBA)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

BitTorrent private tracker scripts written in PHP.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PHP 86.8%
  • JavaScript 7.7%
  • HTML 2.8%
  • CSS 2.7%