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

https://github.com/returnfi/hiddify-manager-bot

Hiddify Manager Bot
https://github.com/returnfi/hiddify-manager-bot

Last synced: about 1 year ago
JSON representation

Hiddify Manager Bot

Awesome Lists containing this project

README

          

# About Hiddify Manager Bot

Hello , and welcome to the [Hiddify Manager](https://github.com/hiddify/Hiddify-Manager) Bot GitHub page. I'm currently developing a bot for managing the Hiddify panel, and I'd be delighted if you could assist me in testing and refining the bot through trial and error. Additionally, if you have any ideas, I'd love to hear them. Thank you!

> [!IMPORTANT]
> This bot currently only works with API version 1.0 and this bot is for testing purposes.

# How to Automatic Installation ?
To use the bot , you will need the following information:
1. **Chat ID:** You need to obtain this from the [@chatIDrobot](https://t.me/chatIDrobot).
2. **Admin uuid:** Enter your admin uuid.
3. **Admin url:** Enter your panel url.
4. **Admin sublink:** Enter your panel sublink.
5. **Bot Token:** You need to obtain this from the [@botfather](https://t.me/BotFather).

### install command :
```
bash -c "$(curl -L https://raw.githubusercontent.com/H-Return/Hiddify-Manager-Bot/main/install.sh)"
```

How to Manuel Installation ?

1. Update and upgrade system packages:


apt update && apt upgrade -y

2. Install Python 3 and pip:


apt install python3 && apt install python3-pip

3. Clone the bot repository:


apt install git -y

git clone https://github.com/Hiddify-Return/Hiddify-Manager-Bot.git

4. Navigate to the cloned directory:


cd Hiddify-Manager-Bot

5. Install required Python packages:


pip install -r requirements.txt

Configuration:

1. Open or create .env with an editor like nano:


nano .env

2. Add the following lines according to your configuration:




ALLOWED_USER_IDS=11111111
ADMIN_UUID=Admin-UUID
ADMIN_URLAPI=https://Admin-URL
SUBLINK_URL=https://subscription_URL
TELEGRAM_TOKEN=BOT-TOKEN

Replace the placeholders with your actual values.

Running the Bot:

1. Run the bot temporarily:


python3 main.py