1
0
mirror of https://gitlab.com/ceda_ei/pc-monitor-bot synced 2025-03-12 20:26:51 +01:00
2018-10-04 13:26:11 +05:30
2018-10-02 20:49:46 +05:30
2018-10-03 21:49:00 +05:30
2018-10-01 16:46:27 +00:00
2018-10-04 13:26:11 +05:30
2018-10-04 01:30:53 +05:30
2018-10-03 01:58:00 +05:30

PC-Monitor-Bot

A bot intended to check the state of your PC (screenshots and check if locked)

Setup

  • Install scrot, python3, pip3 using your package manager.
    • Arch Linux: sudo pacman -S scrot python python-pip
    • Debian: sudo apt install python3 python3-pip scrot
  • Install python-telegram-bot
    • System-wide installation: pip3 install python-telegram-bot
    • User installation: pip3 install --user python-telegram-bot
  • git clone https://gitlab.com/ceda_ei/pc-monitor-bot
  • cd pc-monitor-bot
  • Create a bot with BotFather
  • Copy the sample config file and edit it
    • cp sample.config.py config.py
    • Edit config.py using a text editor
  • python3 bot.py
  • Add python3 lock.py lock and python3 lock.py unlock around your lock script to send messages when screen is locked and unlocked.
Description
No description provided
Readme GPL-3.0 49 KiB
Languages
Python 97.3%
Shell 2.7%