Skip to content

mtanzi/Alfred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred

Slack bot that leverage the power of Api.ai to understand the message sent and process it accordingly

The bot supported at the moment are:

Installation

If available in Hex, the package can be installed as:

  1. Add alfred to your list of dependencies in mix.exs: elixir def deps do [{:alfred, "~> 0.0.1"}] end

  2. Ensure alfred is started before your application: elixir def application do [applications: [:alfred]] end

You need to add the following environment variables in order to setup Alfred

  • Slack token

    export SLACK_BOT_TOKEN=**token**
  • Api.Ai credentials

    export API_AI_TOKEN=**token**
    export API_AI_KEY=**key**

Bot variables:

  • Particle.io

    export PARTICLE_TOKEN=**token**
    export PARTICLE_DEVICE_ID=**devise_id**
  • TFL api

    export TFL_APP_ID=**app_id**
    export TFL_APP_KEY=**app_key**

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages