Skip to content

Using the Plugin Manager

Evan Tann edited this page May 19, 2016 · 4 revisions

Finding Plugins

Searching for Plugins

Go to itsabot.org/plugins to search for plugins. Try searching by what you want to achieve. For instance, if we want to add the ability for Abot to tell us the weather, search for "weather."

Downloading and Installing Plugins

Abot manages plugins for you automatically. To download and install the plugin we want, just add it to your plugins.json. In this case, we'll add a weather plugin we found on itsabot.org/plugins:

{
    "Dependencies": {
        "github.com/itsabot/plugin_weather": "*"
    }
}

Then run the following in the terminal:

$ abot plugin install
Fetching 1 plugin...
Installing plugin...
Success!

You can also run a shorter version: abot p install.

Now let's try testing out our change. With abot server running in one terminal, try the following:

$ abot console +YOURPHONE
> What's the weather in SF?
It's 58 and cloudy in SF right now.