/bionic_phoenix

Bionic Phoenix is a Telegram bot assistant with various skills. Including a terminal mode that remotely connects to server, a skill that checks/manages processes status on server, and more.

Primary LanguagePython

Bionic Phoenix


Bionic Phoenix is a Telegram bot assistant with various skills. Including a terminal mode that remotely connects to server, a skill that checks/manages processes status on server, and more.

term screenshot tele screenshot

Requirements


Setup


  • Recommend to use virtual environment. Run:
    virtualenv -p python3 [envname]
    
    Activate with:
    source [envname]/bin/activate
    
    
  • Rename sample_conf.json to conf.json, and fill all the required info
  • To install. Run:
    ./install.sh
    
  • To setup D-Bus. Run:
    dbus-launch
    
    The output should look like:
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-WnoEdNDMmB,guid=[GUID]
    DBUS_SESSION_BUS_PID=[PID]
    
    Then run:
    export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-WnoEdNDMmB,guid=[GUID]
    export DBUS_SESSION_BUS_PID=[PID]
    
  • To run telegram bot. Run:
    ./activate.sh