All Projects → songtianyi → go-aida

songtianyi / go-aida

Licence: other
[DEPRECATED] wechat robot based on wechat-go(wechat web api)

Programming Languages

HTML
75241 projects
go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to go-aida

Chat-Bot
Chatbot – is a computer program that simulates a natural human conversation. Users communicate with a chatbot via the chat interface or by voice, like how they would talk to a real person.
Stars: ✭ 26 (-63.38%)
Mutual labels:  robot, chatbot
Robot
知识图谱问答机器人,聊天机器人,基于知识图谱、语义理解等的对话机器人。
Stars: ✭ 530 (+646.48%)
Mutual labels:  robot, chatbot
zhamao-framework
协程、高性能、灵活的聊天机器人 & Web 开发框架(炸毛框架)
Stars: ✭ 99 (+39.44%)
Mutual labels:  robot, chatbot
Hutoma-Conversational-AI-Platform
Hu:toma AI is an open source stack designed to help you create compelling conversational interfaces with little effort and above industry accuracy
Stars: ✭ 35 (-50.7%)
Mutual labels:  chatbot
Pokedex
Pokedex is a robust Discord bot that mimics the iconic Pokedex from the Pokemon games and show. It's loaded with features to help players of all skill levels to learn and better enjoy Pokemon! The goal of Pokedex is to provide users with as much data about the Pokemon games as they desire conveniently and with minimal effort.
Stars: ✭ 18 (-74.65%)
Mutual labels:  chatbot
How-To-Build-A-Chatbot
Learn to build a facebook chatbot using Python and Flask
Stars: ✭ 15 (-78.87%)
Mutual labels:  chatbot
Xpersona
XPersona: Evaluating Multilingual Personalized Chatbot
Stars: ✭ 54 (-23.94%)
Mutual labels:  chatbot
facebook-messenger
Go (GoLang) package for Facebook Messenger API and Chat bot
Stars: ✭ 62 (-12.68%)
Mutual labels:  chatbot
instachatbot
Simple framework for building Instagram chat bots with menu driven interface
Stars: ✭ 17 (-76.06%)
Mutual labels:  chatbot
Line-us-Programming
Some very simple examples to get you started with the Line-us API
Stars: ✭ 98 (+38.03%)
Mutual labels:  robot
Citrine
Kawaii Chatbot Plugin for BotBone
Stars: ✭ 17 (-76.06%)
Mutual labels:  chatbot
conde simulator
Autonomous Driving Simulator for the Portuguese Robotics Open
Stars: ✭ 31 (-56.34%)
Mutual labels:  robot
jovo-starter-web-chatwidget
Fully customizable open source chat widget that can be added to any website.
Stars: ✭ 20 (-71.83%)
Mutual labels:  chatbot
slack-robot
Simple robot for your slack integration
Stars: ✭ 29 (-59.15%)
Mutual labels:  robot
LenoxBot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 218 (+207.04%)
Mutual labels:  chatbot
osschat
Apache Open Source Software Chat BOT
Stars: ✭ 115 (+61.97%)
Mutual labels:  chatbot
tf2-transformer-chatbot
Transformer Chatbot in TensorFlow 2 with TPU support.
Stars: ✭ 94 (+32.39%)
Mutual labels:  chatbot
AutoCar
Repo for DJI RoboMaster2018, Which is detect the armor of robomaster robot.
Stars: ✭ 24 (-66.2%)
Mutual labels:  robot
TD3-BipedalWalkerHardcore-v2
Solve BipedalWalkerHardcore-v2 with TD3
Stars: ✭ 41 (-42.25%)
Mutual labels:  robot
SLAM Qt
My small SLAM simulator to study "SLAM for dummies"
Stars: ✭ 47 (-33.8%)
Mutual labels:  robot

DEPRECATED

不再更新,将被重构并集成到 wechat-go

go-aida

go-aida是wechat-go的示例项目,包含Restful API和web页面两部分.

区别

  • go-aida是拥有扫码页面的功能性机器人
  • wechat-go实现了微信的API, 并提供了易用的消息框架, 但并不是可运行程序
  • 只需少量代码即可基于wechat-go创建一个属于自己的个性化机器人,对于更复杂的需求(扫码页面等)可以使用go-aida
  • wechat-go专注在API的稳定性/框架的易用性/通用插件这三方面
  • go-aida专注在机器人的个性化定制上

获取代码

mkdir -p $GOPATH/src/golang.org/x
cd $GOPATH/src/golang.org/x
git clone https://github.com/golang/net.git

cd $GOPATH/src/github.com/songtianyi/
git clone https://github.com/songtianyi/go-aida

cd go-aida/restful
go get ./...
go build .

运行api server

./restful

运行web页面

cd ../web
npm install
node index.js

Restful API文档

domain http://your.domain:8080

/create

/create 创建一个机器人实例
HEADER
PARAMS

Request

GET /create

Response

200 OK
8c30a4e9-e949-4d10-b6d6-ef7b60e3af88

/status

/status 获取登录状态
HEADER
PARAMS
uuid 该session的uuid

Request

GET /status?uuid=8c30a4e9-e949-4d10-b6d6-ef7b60e3af88

Response

200 OK
{
	"status": "CREATED",
	"qrcode": "../public/qrcode/wd_vvLuDWQ==.jpg",
	"plugins": {
		"laosj": true,
		"gifer": false
	},
	"startTime": 1496749513,
}
status 意义
CREATED 等待用户扫码,此时已拿到二维码
SERVING 扫码登录成功

/enable

/enable 开启某个插件
HEADER
PARAMS
uuid 该session的uuid
name 插件名 eg. gifer

Request

PUT /enable?uuid=8c30a4e9-e949-4d10-b6d6-ef7b60e3af88&name=gifer

Response

200 OK

/disable

/disable 关闭某个插件
HEADER
PARAMS
uuid 该session的uuid
name 插件名 eg. gifer

Request

PUT /disable?uuid=8c30a4e9-e949-4d10-b6d6-ef7b60e3af88&name=gifer

Response

200 OK
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].