What’s The Project About?
Automation of Bulk PCs in University Laboratories using NLP and Slack API
GitHub Link: github.com/vedangwartikar/smart-lab-assistant
Automation of Bulk PCs using NLP and Slack API
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:
- Install latest version of Slack on a smartphone
- Install Python 3
- Genereate a Slack Legacy token for your Slack channel and username.
OR (incase of any dependency issues) you can just pull the docker image without explicitly doing all of the above installation steps
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
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 |
Feel free to contribute through a PR or report any issues here.