Skip to content

vedangwartikar/smart-lab-assistant

Repository files navigation

Automation of Bulk PCs using NLP and Slack API

this slowpoke moves

Features

Python automation scripts that can be initiated by providing natural language commands in a Slack channel which will execute on remote PCs:

  • Shutdown/Restart
  • Generate a Process Log file
  • Send files to/from smartphone and PCs
  • Install python packages
  • Send routine alerts

Usage

Installation

You will need to:

$ git clone https://github.com/vedangwartikar/slack-automation.git
$ cd slack-automation

OR (incase of any dependency issues) you can just pull the docker image without explicitly doing all of the above installation steps

$ docker pull rutuja912/modified_server

Once the installation is complete

  • Enter the Slack Legacy token in main.py

The code is multi-platform and is tested on both Windows and Unix/Linux machines.

How to Run

#install python dependencies from requirement.txt
$ python main.py

Once the code gets running on the PC, commands can be issued on the Slack channel in natural language. These commands will be interpreted on the server PC which will initiate the respective automation scripts.

Functionalities

Slack channel commands Description
Help To display commands and their usage
Shutdown To shutdown a PC
Restart To Restart a PC
Install python library XYZ Installs any python library using pip command
Generate Process log Sends a process log file of the PC onto the Slack channel
Send file XYZ Send any specific file
Send alert To provide routine alerts to PC

About

Virtual lab assistant powered by Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages