Skip to content

robinhuts/myxl-cli

 
 

Repository files navigation

MyXL CLI Client

How to get API Key

Chat telegram bot @fykxt_bot with message /viewkey. Copy the API key.

How to run with TERMUX

  1. Update & Upgrade Termux
apt update && apt full-upgrade
  1. Install Git
pkg install git
  1. Install Python
pkg install python
  1. Clone this repo
git clone https://github.com/angga0x/myxl-cli
  1. Open the folder
cd myxl-cli
  1. Install dependencies
pip install -r requirements.txt
  1. Run the script
python main.py
  1. Input your API key when prompted

How to run the Telegram Bot

  1. Create a .env file: Create a file named .env in the root of the project and add the following content:

    TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN
    REDIS_HOST=your_redis_host
    REDIS_PORT=your_redis_port
    REDIS_PASSWORD=your_redis_password
    

    Replace the placeholder values with your actual Telegram Bot Token and Redis credentials.

  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Run the bot:

    python telegram_bot.py
    
  4. Start a chat: Open Telegram and start a chat with your bot.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%