Skip to content

A good tool to mediate between the border guard and the user, for the subscription link

License

Notifications You must be signed in to change notification settings

AC-Lover/AC-Subcription

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


screenshot

AC Subcription

A good tool to mediate between the border guard and the user, for the subscription link

Report Bug . Request Feature

Contributors Forks Stargazers License

Table Of Contents

About The Project

The advantage of mediation is that if the Internet becomes an intranet subscription, the links will still work And if the IP of the VPN server is filtered or any other problem persists, you can access the subscription link Special thanks to Muhammad Ashouri for creating the subscription link template.

Note: This script works both on the web and in V2ray clients

Getting Started

Follow the instructions below to get started

Prerequisites

Web host from: www.bestla.net
Domain
PHP 8.0+

Installation

  1. Download the latest version of the releases
  2. Upload to your web host
  3. Unzip the zip file
  4. Edit the file index.php in the path /sub/index.php and replace the IP address and port of your border panel in BASE_URL line 9
    Note: If your panel does not use SSL, change https to http in BASE_URL line 9
    Note: If your panel port is 443 or 80, there is no need to enter the port
  5. Edit .env in path /opt/marzban/ and add XRAY_SUBSCRIPTION_URL_PREFIX="https://ir-doamin.com"
    Note: The .env file is hidden
    Note: Put your web host domain address instead of ir-domain.com
  6. Restart Marzban

Customize and Modify Source Code

  • You can change default settings from settings variable in index.php, here line 207
  • You can also change tutorial from appsJson variable in index.php, here line 48
    For tutorial video, you need to set direct link of video to tutorial of json
  • To change logo you can change src in line 236

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.
  • Please also read through the Code Of Conduct before posting your first idea as well.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Authors

  • AC Lover - Backend developer - AC Lover - Build AC Subcription script
  • Muhammad Ashouri - Front developer - Muhammad Ashouri - Build template

Acknowledgements

Donation

https://nowpayments.io/donation/ACLover