- 浏览: 3513884 次
- 性别:
- 来自: 大连
博客专栏
-
使用Titanium Mo...
浏览量:37478
-
Cordova 3.x入门...
浏览量:604304
-
常用Java开源Libra...
浏览量:678049
-
搭建 CentOS 6 服...
浏览量:87250
-
Spring Boot 入...
浏览量:399811
-
基于Spring Secu...
浏览量:69066
-
MQTT入门
浏览量:90468
文章分类
最新评论
-
afateg:
阿里云的图是怎么画出来的?用什么工具?
各云服务平台的架构图 -
cbn_1992:
博主,采用jdbctoken也就是数据库形式之后,反复点击获取 ...
Spring Security OAuth2 Provider 之 数据库存储 -
ipodao:
写的很是清楚了,我找到一份中文协议:https://mcxia ...
MQTT入门(6)- 主题Topics -
Cavani_cc:
还行
MQTT入门(6)- 主题Topics -
fexiong:
博主,能否提供完整源码用于学习?邮箱:2199611997@q ...
TensorFlow 之 构建人物识别系统
大家所熟知的智能聊天机器人,比如:微软小冰、Apple Siri、Google Now、IBM Watson等。微信自动回复、微信服务号里的客服Bot也都算是简单的实例。聊天机器人(Dialog System)主要实现方式有:基于人工模板(比如AIML)、基于搜索技术(比如ElasticSearch)、基于深度学习。从零实现这样的系统是很复杂的。
开源的ChatOps机器人:
1.Hubot:CoffeeScipt编写
2.Lita:Ruby编写
3.Errbot:Python编写
So, What is ChatOps? And How do I Get Started?
12+ Frameworks to Build ChatOps Bots
Hubot是由Github开发的开源聊天机器人,基于Node.js采用CoffeeScript编写。
Hubot https://hubot.github.com/
Hubot Scripts https://github.com/hubot-scripts
Hubot Control https://github.com/spajus/hubot-control
可以借助Hubot开发Chatbot来自动化的完成想要一切自动化任务,比如:
-运维自动化(编译部署代码、重启机器,监控服务器运行情况,自动修复Bug等)
-外部服务交互(管理Redmine、集成Jenkins、监视Zabbix等)
-定时获取天气预报
-随机订餐
-聊天机器人等等。
官方文档里有详细的使用说明,https://hubot.github.com/docs/,这里只做一个摘要。
Hubot Scripts里有大量的现成脚本可以用,也是自己编写脚本的最好sample。
(一)安装
运行Hubot需要以下软件支持:
(二)创建自己的bot
默认提供了campfire和shell的adapter,其他的需要通过npm下载hubot-<AdapterName>。
也可以通过参数直接生成:
项目结构:
(三)运行bot
-a 指定Adapter(默认是shell)
-d 关闭HTTP服务(默认是开启的)
-c deprecated 使用yeoman
采用默认的shell adapter
指定adapter
***所有的输入都会被记录在.hubot_history文件里。
(四)编写脚本
编写的自定义脚本要放在scripts中,可以是.coffee或.js文件。
scripts/hello.coffee
因为Hubot要解析脚本文件,提供help帮助,所以脚本文件开头的注释是规范的,
第一行必须是注释“# Description:”(其他的可以没有),否则会有警告:
Hubot同时也支持js,比如:
scripts/hello2.js
Respond vs Hear
Send vs Reply
Random
msg对象有一个random方法,可以从之后的数组对象中随机提取一个元素
hubot Scripts Explained
http://theprogrammingbutler.com/blog/archives/2011/10/28/hubot-scripts-explained/
(五)安装脚本
Hubot 有一大堆现成的脚本,可以集成各种服务。
将package-name添加到external-scripts.json
(六)hubot-script实例
定时脚本
scripts/cron.coffee
http请求
scripts/googleGEO.coffee
抓取数据(request, cheerio)
scripts/title.coffee
http应答(httpd)
scripts/version.coffee
访问http://localhost:8080/version。
默认端口是8080,可以修改环境变量:export PORT=8080
Hubot大量依赖环境变量来配置脚本,所以一般都做一个启动脚本:
脚本中的使用:
捕获所有未处理信息
scripts/catchAll.coffee
hubotスクリプトの書き方とサンプル集
http://blog.fumiz.me/2012/08/05/hubot-irc-bot-script/
编写 Hubot Scripts
http://scarletsky.github.io/2016/05/02/write-your-own-hubot-scripts/
(七)自定义Adapter
hubot默认提供两种adapter:shell、campfile
shell用于开发调试,campfile以外的Chat Service也都有开源的实现。
Adapter基本构成
新建文件 \node_modules\hubot\src\adapters\SampleAdapter.coffee
修改文件 \node_modules\hubot\src\robot.coffee
启动bot
* 所有的Adapter必须继承自Adapter
* Adapter中最重要的两个方法是send和run,其他方法比如emote、reply、topic、play等在特定场景下才需要。
* run方法是bot启动时执行
* send方法是回复信息时执行
* 父类 adapter.coffee 里有详细的方法说明 https://github.com/github/hubot/blob/master/src/adapter.coffee
* Adapter名必须是:src\adapters里的文件名 & robot.coffee的HUBOT_DEFAULT_ADAPTERS里定义的名 或者和 hubot-#{adapter} 一致
Chat服务的Adapter
具体可以参考: https://github.com/github/hubot/blob/master/src/adapters/campfire.coffee
扩展robot的方法:
\node_modules\hubot\src\adapters\incircle.coffee
\scripts\testbot.coffee
(八)微信adapter
https://github.com/KasperDeng/Hubot-WeChat
主要机制是hack网页版微信协议,先用手机登录微信帐号,然后模拟网页版微信登录,这样就可以接受微信消息了。
参考:
正在吃掉世界的Bot:它从哪里来,会到哪里去?
Hubot:来自GitHub的聊天机器人
GitHub社謹製! bot開発・実行フレームワーク「Hubot」
TDD Hubot scripts with gulp+mocha
在Skype中使用Hubot
http://qiita.com/bouzuya/items/c7d0ad80c357aab6b696
开源的ChatOps机器人:
1.Hubot:CoffeeScipt编写
2.Lita:Ruby编写
3.Errbot:Python编写
So, What is ChatOps? And How do I Get Started?
12+ Frameworks to Build ChatOps Bots
Hubot是由Github开发的开源聊天机器人,基于Node.js采用CoffeeScript编写。
Hubot https://hubot.github.com/
Hubot Scripts https://github.com/hubot-scripts
Hubot Control https://github.com/spajus/hubot-control
可以借助Hubot开发Chatbot来自动化的完成想要一切自动化任务,比如:
-运维自动化(编译部署代码、重启机器,监控服务器运行情况,自动修复Bug等)
-外部服务交互(管理Redmine、集成Jenkins、监视Zabbix等)
-定时获取天气预报
-随机订餐
-聊天机器人等等。
官方文档里有详细的使用说明,https://hubot.github.com/docs/,这里只做一个摘要。
Hubot Scripts里有大量的现成脚本可以用,也是自己编写脚本的最好sample。
(一)安装
运行Hubot需要以下软件支持:
- Node.js
- Redis 默认存贮数据
- CoffeeScript
- Yeoman
- generator-hubot 生成Hubot骨架工程
引用
C:\Users\rensanning>node -v
v0.12.8
C:\Users\rensanning>npm -v
2.14.9
C:\Users\rensanning>npm install -g yo generator-hubot
C:\Users\rensanning>npm list -g generator-hubot yo
v0.12.8
C:\Users\rensanning>npm -v
2.14.9
C:\Users\rensanning>npm install -g yo generator-hubot
C:\Users\rensanning>npm list -g generator-hubot yo
(二)创建自己的bot
引用
C:\Users\rensanning>cd d:/
D:\>mkdir hubotsample
D:\>cd hubotsample
D:\hubotsample>yo hubot
? Owner RenSanNing <rensanning@gmail.com>
? Bot name okbot
? Description A sample hubot
? Bot adapter campfire
D:\>mkdir hubotsample
D:\>cd hubotsample
D:\hubotsample>yo hubot
? Owner RenSanNing <rensanning@gmail.com>
? Bot name okbot
? Description A sample hubot
? Bot adapter campfire
默认提供了campfire和shell的adapter,其他的需要通过npm下载hubot-<AdapterName>。
也可以通过参数直接生成:
引用
yo hubot --owner=rensanning@gmail.com --name=foobot --description="Foo Bot" --adapter=shell
项目结构:
- bin/ 运行脚本
- node_modules 应用的包文件
- scripts 存放自定义脚本
- external-scripts.json 应用的外部脚本
- hubot-scripts.json *** 该文件已经无用,可以删除
- package.json 项目全局配置信息
(三)运行bot
引用
D:\hubotsample>bin\hubot -v
2.19.0
D:\hubotsample>bin\hubot -h
Usage hubot [options]
Available options:
-a, --adapter ADAPTER The Adapter to use
-c, --create PATH Create a deployable hubot
-d, --disable-httpd Disable the HTTP server
-h, --help Display the help information
-l, --alias ALIAS Enable replacing the robot's name with alias
-n, --name NAME The name of the robot in chat
-r, --require PATH Alternative scripts path
-t, --config-check Test hubot's config to make sure it won't fail at startup
-v, --version Displays the version of hubot installed
2.19.0
D:\hubotsample>bin\hubot -h
Usage hubot [options]
Available options:
-a, --adapter ADAPTER The Adapter to use
-c, --create PATH Create a deployable hubot
-d, --disable-httpd Disable the HTTP server
-h, --help Display the help information
-l, --alias ALIAS Enable replacing the robot's name with alias
-n, --name NAME The name of the robot in chat
-r, --require PATH Alternative scripts path
-t, --config-check Test hubot's config to make sure it won't fail at startup
-v, --version Displays the version of hubot installed
-a 指定Adapter(默认是shell)
-d 关闭HTTP服务(默认是开启的)
-c deprecated 使用yeoman
采用默认的shell adapter
引用
D:\hubotsample>bin\hubot
指定adapter
引用
D:\hubotsample>bin\hubot -a shell
引用
okbot> help
usage:
history
exit, \q - close shell and exit
help, \? - print this usage
clear, \c - clear the terminal screen
usage:
history
exit, \q - close shell and exit
help, \? - print this usage
clear, \c - clear the terminal screen
引用
okbot> okbot help
okbot> Shell: okbot adapter - Reply with the adapter
okbot animate me <query> - The same thing as `image me`, except adds a few parameters to try to return an animated GIF instead.
okbot echo <text> - Reply back with <text>
okbot help - Displays all of the help commands that Hubot knows about.
okbot help <query> - Displays all help commands that match <query>.
okbot image me <query> - The Original. Queries Google Images for <query> and returns a random top result.
okbot map me <query> - Returns a map view of the area returned by `query`.
okbot mustache me <url|query> - Adds a mustache to the specified URL or query result.
okbot ping - Reply with pong
okbot pug bomb N - get N pugs
okbot pug me - Receive a pug
okbot the rules - Make sure hubot still knows the rules.
okbot time - Reply with current time
okbot translate me <phrase> - Searches for a translation for the <phrase> and then prints that bad boy out.
okbot translate me from <source> into <target> <phrase> - Translates <phrase> from <source> into <target>. Both <source> and <target> are optional
ship it - Display a motivation squirrel
okbot ping
okbot> PONG
okbot echo 你好!
okbot> 你好!
okbot time
okbot> Server time is: Fri Sep 30 2016 11:05:24 GMT+0800 (中国 (标准时间))
okbot> Shell: okbot adapter - Reply with the adapter
okbot animate me <query> - The same thing as `image me`, except adds a few parameters to try to return an animated GIF instead.
okbot echo <text> - Reply back with <text>
okbot help - Displays all of the help commands that Hubot knows about.
okbot help <query> - Displays all help commands that match <query>.
okbot image me <query> - The Original. Queries Google Images for <query> and returns a random top result.
okbot map me <query> - Returns a map view of the area returned by `query`.
okbot mustache me <url|query> - Adds a mustache to the specified URL or query result.
okbot ping - Reply with pong
okbot pug bomb N - get N pugs
okbot pug me - Receive a pug
okbot the rules - Make sure hubot still knows the rules.
okbot time - Reply with current time
okbot translate me <phrase> - Searches for a translation for the <phrase> and then prints that bad boy out.
okbot translate me from <source> into <target> <phrase> - Translates <phrase> from <source> into <target>. Both <source> and <target> are optional
ship it - Display a motivation squirrel
okbot ping
okbot> PONG
okbot echo 你好!
okbot> 你好!
okbot time
okbot> Server time is: Fri Sep 30 2016 11:05:24 GMT+0800 (中国 (标准时间))
***所有的输入都会被记录在.hubot_history文件里。
(四)编写脚本
编写的自定义脚本要放在scripts中,可以是.coffee或.js文件。
scripts/hello.coffee
# Description: # This is a test. # # Commands: # okbot helo - Reply with world! module.exports = (robot) -> robot.respond /hello/i, (msg) -> msg.send "world!"
引用
okbot hello
okbot> world!
okbot> world!
因为Hubot要解析脚本文件,提供help帮助,所以脚本文件开头的注释是规范的,
第一行必须是注释“# Description:”(其他的可以没有),否则会有警告:
引用
hello.coffee is using deprecated documentation syntax
Hubot同时也支持js,比如:
scripts/hello2.js
// Description: // This is a test2. // Commands: // okbot helo - Reply with world! module.exports = function(robot) { robot.respond(/hi/i, function(msg){ msg.send("world2!"); }); }
引用
okbot hi
okbot> world2!
okbot> world2!
Respond vs Hear
- respond只监听直接发送给机器人的消息,需要指定机器人名称
- hear可以监听任何消息
引用
MYHUBOT xxx
myhubot xxx
@myhubot xxx
myhubot: xxx
myhubot xxx
@myhubot xxx
myhubot: xxx
Send vs Reply
- send会将消息发送给所有人
- reply会将消息回复给指定的人
Random
msg对象有一个random方法,可以从之后的数组对象中随机提取一个元素
引用
msg.send msg.random arrayObject
hubot Scripts Explained
http://theprogrammingbutler.com/blog/archives/2011/10/28/hubot-scripts-explained/
(五)安装脚本
Hubot 有一大堆现成的脚本,可以集成各种服务。
引用
D:\hubotsample>npm search hubot-scripts github
D:\hubotsample>npm install --save hubot-plusplus
hubot-plusplus@1.3.0 node_modules\hubot-plusplus
├── underscore@1.8.3
├── clark@0.0.6
└── coffee-script@1.6.3
D:\hubotsample>npm install --save hubot-plusplus
hubot-plusplus@1.3.0 node_modules\hubot-plusplus
├── underscore@1.8.3
├── clark@0.0.6
└── coffee-script@1.6.3
将package-name添加到external-scripts.json
引用
"hubot-plusplus"
引用
okbot> ruby++
okbot> ruby has 1 point
okbot> java--
okbot> java has -1 points
okbot> ruby has 1 point
okbot> java--
okbot> java has -1 points
(六)hubot-script实例
定时脚本
scripts/cron.coffee
cronJob = require('cron').CronJob module.exports = (robot) -> send = (room, msg) -> response = new robot.Response(robot, {user : {id : -1, name : room}, text : "none", done : false}, []) response.send msg new cronJob('0 * * * * *', () -> currentTime = new Date send '#your-channel-name', "current time is #{currentTime.getHours()}:#{currentTime.getMinutes()}." ).start()
引用
D:\hubotsample>npm install cron --save
D:\hubotsample>bin\hubot -a shell
D:\hubotsample>bin\hubot -a shell
http请求
scripts/googleGEO.coffee
module.exports = (robot) -> robot.hear /location (.*)/, (msg) -> request = robot.http("https://maps.googleapis.com/maps/api/geocode/json") .query(address: msg.match[1]) .get() request (err, res, body) -> json = JSON.parse body location = json['results'][0]['geometry']['location'] msg.send "#{location['lat']}, #{location['lng']}"
引用
okbot> location Beijing
okbot> 39.904211, 116.407395
okbot> 39.904211, 116.407395
抓取数据(request, cheerio)
scripts/title.coffee
request = require 'request' cheerio = require 'cheerio' module.exports = (robot) -> robot.respond /title (.*)/i, (msg) -> url = msg.match[1] options = url: url timeout: 2000 headers: {'user-agent': 'node title fetcher'} request options, (error, response, body) -> $ = cheerio.load body title = $('title').text().replace(/\n/g, '') msg.send(title)
引用
D:\hubotsample>npm install --save request
D:\hubotsample>npm install --save cheerio
D:\hubotsample>bin\hubot -a shell
okbot> okbot title http://github.com
okbot> How people build software · GitHub
okbot> okbot title http://www.google.com
okbot> Google
D:\hubotsample>npm install --save cheerio
D:\hubotsample>bin\hubot -a shell
okbot> okbot title http://github.com
okbot> How people build software · GitHub
okbot> okbot title http://www.google.com
okbot> Google
http应答(httpd)
scripts/version.coffee
module.exports = (robot) -> robot.router.get "/version", (req, res) -> res.end robot.version
访问http://localhost:8080/version。
默认端口是8080,可以修改环境变量:export PORT=8080
Hubot大量依赖环境变量来配置脚本,所以一般都做一个启动脚本:
引用
#!/bin/sh
export HUBOT_ENV_TEST_VAR=""
bin/hubot -a twitter -n testbot
export HUBOT_ENV_TEST_VAR=""
bin/hubot -a twitter -n testbot
引用
@echo off
SET HUBOT_ENV_TEST_VAR=""
bin\hubot.cmd -a twitter -n testbot
SET HUBOT_ENV_TEST_VAR=""
bin\hubot.cmd -a twitter -n testbot
脚本中的使用:
引用
TEST_VAR = process.env.HUBOT_ENV_TEST_VAR
捕获所有未处理信息
scripts/catchAll.coffee
module.exports = (robot) -> robot.catchAll (res) -> res.send "Nothing Found:#{res.message.text}"
hubotスクリプトの書き方とサンプル集
http://blog.fumiz.me/2012/08/05/hubot-irc-bot-script/
编写 Hubot Scripts
http://scarletsky.github.io/2016/05/02/write-your-own-hubot-scripts/
(七)自定义Adapter
hubot默认提供两种adapter:shell、campfile
shell用于开发调试,campfile以外的Chat Service也都有开源的实现。
Adapter基本构成
新建文件 \node_modules\hubot\src\adapters\SampleAdapter.coffee
class SampleAdapter extends Adapter send: (envelope, strings...) -> @robot.logger.info "Send" run: -> @robot.logger.info "Run" exports.use = (robot) -> new SampleAdapter robot
修改文件 \node_modules\hubot\src\robot.coffee
引用
HUBOT_DEFAULT_ADAPTERS = [
'campfire'
'SampleAdapter'
'shell'
]
'campfire'
'SampleAdapter'
'shell'
]
启动bot
引用
D:\hubotsample>bin\hubot -a SampleAdapter
* 所有的Adapter必须继承自Adapter
* Adapter中最重要的两个方法是send和run,其他方法比如emote、reply、topic、play等在特定场景下才需要。
* run方法是bot启动时执行
* send方法是回复信息时执行
* 父类 adapter.coffee 里有详细的方法说明 https://github.com/github/hubot/blob/master/src/adapter.coffee
* Adapter名必须是:src\adapters里的文件名 & robot.coffee的HUBOT_DEFAULT_ADAPTERS里定义的名 或者和 hubot-#{adapter} 一致
Chat服务的Adapter
{Adapter, TextMessage} = require 'hubot' {EventEmitter} = require 'events' class MyChatAdapter extends Adapter send: (envelope, strings...) -> @bot.send str for str in strings run: -> options = token: process.env.HUBOT_CHAT_TOKEN rooms: process.env.HUBOT_CHAT_ROOMS account: process.env.HUBOT_CHAT_ACCOUNT bot = new MyChatStreaming options, @robot bot.on 'message', (userId, userData, message) -> user = @robot.brain.userForId userId, userData @receive new TextMessage user, message bot.listen() exports.use = (robot) -> new MyChatAdapter robot class MyChatStreaming extends EventEmitter constructor: (options, @robot) -> @token = options.token @rooms = options.rooms.split(",") @account = options.account send: (message) -> # Send data to your chat service listen: -> # Get messge data from chat service # @emit 'message', user, message
具体可以参考: https://github.com/github/hubot/blob/master/src/adapters/campfire.coffee
扩展robot的方法:
\node_modules\hubot\src\adapters\incircle.coffee
class TestXXX extends Adapter constructor: (robot) -> super robot robot.hearXXX = (options, callback) -> robot.listeners.push new TextListener(robot, "@XXXmessage", options, callback)
\scripts\testbot.coffee
module.exports = (robot) -> robot.hearXXX (msg) -> msg.send "#{JSON.stringify msg}"
(八)微信adapter
https://github.com/KasperDeng/Hubot-WeChat
主要机制是hack网页版微信协议,先用手机登录微信帐号,然后模拟网页版微信登录,这样就可以接受微信消息了。
- npm install hubot-weixin --save
- 手机端登录微信
- 打开网页微信:web.weixin.qq.com
- 手机扫描登录
- 控制台查看如下信息 /node_modules/hubot-weixin/config.yaml cookie: Uin: Sid: Skey: DeviceID:
- bin\hubot.cmd -n bot -l / -a weixin
参考:
正在吃掉世界的Bot:它从哪里来,会到哪里去?
Hubot:来自GitHub的聊天机器人
GitHub社謹製! bot開発・実行フレームワーク「Hubot」
TDD Hubot scripts with gulp+mocha
在Skype中使用Hubot
http://qiita.com/bouzuya/items/c7d0ad80c357aab6b696
- Automation_and_Monitoring_with_Hubot_For_DevOps_and_Developers.rar (702.8 KB)
- 下载次数: 9
发表评论
-
关于代码风格
2017-08-02 10:28 1627良好的代码风格能提高代码可读性及可维护性,程序员都应该遵守基本 ... -
关于英文缩写
2017-04-14 10:21 1331和中文缩写一样,英文也存在各种各样的缩写,多以词组首字母缩写为 ... -
关于Bootstrap主题模板
2017-04-06 08:54 1391无论Bootstrap还是其他衍生的模板大部分都是以英文为内容 ... -
关于整理归纳
2017-03-14 10:25 1146整理归纳虽然是个人习惯,但善于整理归纳的人做事更有条理、更有效 ... -
关于远程操作
2017-03-10 13:47 1278(1)远程共享 1)SMB/CIFS(Windows) Wi ... -
关于保留字和敏感词
2017-02-27 14:56 1989保留字、敏感词过滤是网站系统必不可少的2个功能。 (1)保留 ... -
关于开发文档
2017-02-22 13:13 910(1)官方文档 开发语言、开源框架、开源软件都会为开发者提供了 ... -
Excel打开CSV文件乱码的问题
2016-11-08 10:47 5285系统管理功能中,很多 ... -
有趣的程序员面试
2016-08-03 09:21 2446关于面试有很多参考的资料,比如:有出版的书,有在线的视频,有讲 ... -
抓取 开发者头条 分享的所有文章
2016-07-29 14:57 1762使用 HttpClient 和 jsoup 抓取开发者头条中分 ... -
EC2(CentOS7) + ShadowSocks
2015-08-04 11:27 3041前提: 需要有一个 Amazon 的账号,并且完善账户信息与信 ... -
程序员如何不断提高自己?
2015-06-09 17:16 2991没有超人,关注该关注的即可! (一) 如果遇到问题,先Goo ... -
你所不知道的<html>, <head>, <body>
2014-10-10 15:48 1932(1)HTML并没有要求一 ... -
Apache Cordova 3.x入门 -- 目录结构
2014-02-13 15:10 7(1)目录一览: 引用myApp/ |-- config.xm ... -
Apache Cordova 3.x入门 -- 常用命令
2014-02-13 15:09 4(1)create <directory> [&l ... -
通过yum在CentOS 6中安装Asterisk 12
2014-01-21 12:47 1061、将OS更新到最新。 引用yum update -y ... -
二维码生成器
2013-12-05 14:02 1832(1)QR Code generator http://www ... -
碉堡了的简历,膜拜之!
2013-11-28 18:08 13734→2014/04/11 追加 没想到这篇旧文被推动CSDN极客 ... -
IE 404等错误定制页面
2013-11-25 15:37 1780在web.xml中配置自定义错误页面: <error-p ... -
Code Beautify
2013-10-30 11:13 83Code Beautify http://codebeauti ...
相关推荐
什么是Synology聊天机器人Synology Chat是Synology Chat中的聊天机器人功能,为聊天机器人开发人员提供了与用户进行交互的直接消息界面。什么是机器人Hubot是Github Inc.的Chatbot框架。这是什么这是一个Hubot适配器...
受此启发,我们希望为社区提供同样的简便性,使其能够开发能够实际处理自然语言并执行任务的聊天机器人,就像构建面向RegExp的机器人一样容易。 因此,我们找到了一个非常迷人的项目,可以从发起对您最喜欢的聊天...
用于 Keybase 聊天的 Hubot 适配器。 构建机器人 mkdir mybot cd mybot yo hubot # choose the "keybase" adapter # Set the desired environment variables ./bin/hubot -a keybase 配置 所有hubot-keybase配置都...
Hubot是一个构建聊天机器人的框架,其模仿了GitHub的同名Hubot的Campfire机器人。 他很酷。 他可以并且可以从事。 该存储库提供了一个由npm分发的库,您可以使用该库来构建自己的机器人。 有关与自己的机器人朋友...
它的灵感来自Github的人们开发的了不起的框架,并将其功能带给了想要使用Go实现聊天机器人的人们。入门Joe是一个打包为的软件库。 您可以通过以下方式获得它: go get github.com/go-joe/joe用法示例您可以在找到...
深入理解java虚拟机第二版源码对开发人员有用的 URL 。网 ...聊天机器人:有用的链接、文章、图书馆和平台 创建聊天机器人 构建对话机器人:从 0 到 60 市场上机器人框架的比较 使用 Microsoft 认知
内容通用适配器代码领先的基于 Meteor 的聊天平台的驱动程序使适配器开发和机器人开发变得容易的工具建筑学分为: 通用适配器(包含驱动程序) 聊天平台特定驱动程序保持分离干净,同时扩展 api/接口的多功能性。...
Hubot是一个构建聊天机器人的框架,其模仿了GitHub的同名Hubot的Campfire机器人。 他很酷。 他可以并且可以从事。 该存储库提供了一个由npm分发的库,您可以使用该库来构建自己的机器人。 有关与自己的机器人朋友...
Alfred是基于[Hubot] [hubot]框架构建的聊天机器人。 它最初是由[generator-hubot] [generator-hubot]生成的。 Alfred的这个实例用于个人家庭机器人,使用Slack作为聊天机器人适配器来监视Sonarr,CouchPotatoe和...
黄色的Yellow是基于框架构建的聊天机器人。 它最初是由,并被配置为部署在以使您尽快启动并运行。描述这个漫游器将允许我的任何同班同学(有访问权限的同学)请求当前周的家庭作业,并获得指向相应周的Google文档的...
MyBot MyBot是基于Hubot框架构建的聊天机器人,用于返回开发人员信息在本地运行MyBot 您可以通过运行以下命令测试您的Hubot,但是,除非已设置了它们依赖的,否则某些插件将无法正常运行。 您可以通过运行以下命令在...
Eve Hubot 谈奥兰多开发商 Slack Hubot 实例。 目前处于验证阶段。 如果您想在 Slack 聊天中内置一些功能,请随时分叉或提出问题! . 这是一个社区机器人,不是我的宠物;) 用法 如果 Eve 不在频道中,请/invite ...