javad-rzvn / h_tgbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hidy Bot

English | فارسی
Telegram Group

Hidy Bot

Hidy Bot is a Telegram bot that allows you to manage your Hiddify panel directly from Telegram.

Features

  • Multi panel support
  • Sell config
  • Add users
  • Remove users
  • Edit user details
  • View users list
  • Search users (by name, configuration, UUID)
  • Show user information (name, traffic, date, etc.)
  • Display user configs and subscription links
  • Get a backup of your panel + Auto send
  • View server status (RAM, CPU, disk)
  • Multi language (English, Persian)
  • Client bot
  • and more...

Installation

To install the bot, run the following command:

sudo bash -c "$(curl -Lfo- https://raw.githubusercontent.com/B3H1Z/Hiddify-Telegram-Bot/main/install.sh)"

Make sure you have the following information ready:

  1. Admin Telegram Number ID : Get it from User info bot (Example: 123456789)
  2. Admin Telgram Bot Token : Get it from BotFather ( Example: 1234567890:ABCdEfGhIjKlMnOpQrStUvWxYz)
  3. Client Telegram Bot Token : Get it from BotFather ( Example: 1234567890:ABCdEfGhIjKlMnOpQrStUvWxYz)
  4. Hiddify Panel URL : The url of your Hiddify panel ( Example: https://panel.example.com/7frgemkvtE0/78854985-68dp-425c-989b-7ap0c6kr9bd4)
  5. Bot Language : Options are en and fa [default is fa]

Now you can use the bot in Telegram by sending the /start command.

Commands

  • Update bot

cd /opt/Hiddify-Telegram-Bot/ && curl -fsSL -o /opt/Hiddify-Telegram-Bot/update.sh https://raw.githubusercontent.com/B3H1Z/Hiddify-Telegram-Bot/main/update.sh && chmod +x /opt/Hiddify-Telegram-Bot/update.sh && bash /opt/Hiddify-Telegram-Bot/update.sh
  • Restart bot

cd /opt/Hiddify-Telegram-Bot/ && chmod +x restart.sh && ./restart.sh
  • Stop bot

pkill -9 -f hiddifyTelegramBot.py
  • Get bot logs

cat /opt/Hiddify-Telegram-Bot/Logs/hidyBot.log
  • Edit bot configs

cd /opt/Hiddify-Telegram-Bot/ && python3 config.py && chmod +x restart.sh && ./restart.sh
  • Reinstall bot

cd /opt/ && rm -rf /opt/Hiddify-Telegram-Bot/ && sudo bash -c "$(curl -Lfo- https://raw.githubusercontent.com/B3H1Z/Hiddify-Telegram-Bot/main/install.sh)"
  • Uninstall bot

cd /opt/Hiddify-Telegram-Bot/ && chmod +x uninstall.sh && ./uninstall.sh

Screenshots

Users Bot

Admin Bot

About


Languages

Language:Python 96.8%Language:Shell 3.2%