Skip to content

gasolin/webby-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webby bot template

Webbybot is the next generation message/chat bot framework written in ES6 and plain javascript. Fully compatible with Hubot's middleware and plugins.

Clone the code, set webby bot with commands

$ git clone https://github.com/gasolin/webby-template.git demo
$ cd demo
$ npm install
$ ./bin/webby

You can run your bot with new webbybot core ./bin/webby or test plugins with hubot core ./bin/hubot.

You can find and install extra skills from npm

Enable a skill in external-scripts.json.

You can add the environment variables in .env file or defined in system PATH.

Workable adapters

We've successfully run webbybot with Telegram, Facebook messenger, Skype adapters. You are able to try with other adapters via instruction.

Telegram

Support via hubot-telegram

npm install hubot-telegram

Edit src/telegram.coffee and replace hubot to webbybot.

Add related parameters in .env:

TELEGRAM_TOKEN=
HUBOT_ADAPTER="telegram"

Run bot with telegram adapter

./bin/webby -a telegram

Facebook Messenger

Support via hubot-messenger

npm install hubot-messenger

Edit src/messenger.coffee and replace hubot to webbybot.

Add related parameters in .env:

HUBOT_FB_USERNAME=
HUBOT_FB_PASSWORD=
HUBOT_ADAPTER="messenger"

Run bot with messenger adapter

./bin/webby -a messenger

Skype

Support via hubot-skyweb

npm install hubot-skyweb

Edit src/skyweb.coffee and replace hubot to webbybot.

Add related parameters in .env:

HUBOT_SKYPE_USERNAME=
HUBOT_SKYPE_PASSWORD=
HUBOT_ADAPTER="skyweb"

Run bot with skype adapter

./bin/webby -a skyweb

About

A template for make a working webby bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published