Git Product home page Git Product logo

lab-assistant's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.