Giter Club home page Giter Club logo

zzz-retired__mycroft-slackbot's Introduction

mycroft-slackbot

Non-Dockerised version

  • Go to https://api.slack.com/bot-users and set up a new bot user for your slack
  • Make a note of the auth token/key. You will need this in the next step
  • Add the token/key into the application.yml file in src/main/resources
  • Give your bot an appropriate name and channel to hang out in. The bot name in config should match the name you gave it in 1.
  • Add the URL in the form of 192.168.0.177 (for example) to the application.yml file as the mycrofturi
  • Go back to the root of the project (where the pom.xml file is) and compile the jar with: mvn clean install package
  • Execute the Jar (it is a fat jar with embedded Tomcat) with java -jar target/mycroft-slackbot-0.0.1-SNAPSHOT.jar
  • Maybe execute in a tmux/screen session, or else make it a service
  • Go to your slack channel and send an @ message to your new bot, asking it any of the Mycroft things. (Make sure you have paired your device as per the Mycroft-core instructions)

Docker Setup

  • Do steps 1, 2, 3, 4 above
  • Go to the root of the project and execute mvn clean install package docker:build
  • Run the docker image with docker run -itd -p 9119:9119 mycroftai/slackbot
  • Go to your slack channel and send an @ message to your new bot, asking it any of the Mycroft things. (Make sure you have paired your device as per the Mycroft-core instructions)

zzz-retired__mycroft-slackbot's People

Contributors

paulscott56 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.