An open API service indexing awesome lists of open source software.

https://github.com/AC-Lover/AC-Subcription

A good tool to mediate between the border guard and the user, for the subscription link
https://github.com/AC-Lover/AC-Subcription

marzban php php8 template templates

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          




screenshot


AC Subcription


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




Report Bug
.
Request Feature


![Contributors](https://img.shields.io/github/contributors/AC-Lover/AC-Subcription?color=dark-green) ![Forks](https://img.shields.io/github/forks/AC-Lover/AC-Subcription?style=social) ![Stargazers](https://img.shields.io/github/stars/AC-Lover/AC-Subcription?style=social) ![License](https://img.shields.io/github/license/AC-Lover/AC-Subcription)

## Table Of Contents

* [About the Project](#about-the-project)
* [Getting Started](#getting-started)
* [Prerequisites](#prerequisites)
* [Installation](#installation)
* [Customize and Modify Source Code](#customize-and-modify-source-code)
* [Roadmap](#roadmap)
* [Contributing](#contributing)
* [License](#license)
* [Authors](#authors)
* [Acknowledgements](#acknowledgements)

## 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](https://www.bestla.net/portal/aff.php?aff=263)

Domain

PHP 8.0+

### Installation

1. Download the latest version of the [releases](https://github.com/AC-Lover/AC-Subcription/releases/latest)
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](https://github.com/AC-Lover/AC-Subcription/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](https://github.com/AC-Lover/AC-Subcription/issues/new) 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](https://github.com/AC-Lover/AC-Subcription/blob/main/CODE_OF_CONDUCT.md) 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](https://github.com/AC-Lover/AC-Subcription/blob/master/LICENSE) for more information.

## Authors

* **AC Lover** - *Backend developer* - [AC Lover](https://github.com/AC-Lover) - *Build AC Subcription script*
* **Muhammad Ashouri** - *Front developer* - [Muhammad Ashouri](https://github.com/MuhammadAshouri) - *Build template*

## Acknowledgements

* [Gozargah](https://github.com/Gozargah/Marzban)
* [Muhammad Ashouri](https://github.com/MuhammadAshouri)


Donation


https://nowpayments.io/donation/ACLover