All Projects → koishijs → Koishi

koishijs / Koishi

Licence: mit
一个跨平台机器人框架

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Koishi

Yve Bot
Smart rule-based bot. For Browser & Node.
Stars: ✭ 181 (-41.04%)
Mutual labels:  chatbot, bot-framework
Urban Bot
🤖 The universal chatbot library based on React. Write once, launch Telegram, Facebook, Slack, ... every messenger with chatbots
Stars: ✭ 223 (-27.36%)
Mutual labels:  chatbot, bot-framework
Miraiandroid
QQ机器人 /(实验性)在Android上运行Mirai-console,支持插件
Stars: ✭ 188 (-38.76%)
Mutual labels:  chatbot, qqbot
Mojo Webqq
【重要通知:WebQQ将在2019年1月1日停止服务,此项目目前已停止维护,感谢大家四年来的一路陪伴】使用Perl语言(不会没关系)编写的smartqq/webqq客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
Stars: ✭ 1,755 (+471.66%)
Mutual labels:  chatbot, qqbot
intelligo.js.org
The official website for Intelligo chatbot framework.
Stars: ✭ 18 (-94.14%)
Mutual labels:  chatbot, bot-framework
Telegram Bot Sdk
🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
Stars: ✭ 2,212 (+620.52%)
Mutual labels:  chatbot, bot-framework
Picqbotx
基于 CQHTTP 插件的 Java QQ 机器人类库
Stars: ✭ 218 (-28.99%)
Mutual labels:  chatbot, qqbot
Botfuel Dialog
Botfuel SDK to build highly conversational chatbots
Stars: ✭ 96 (-68.73%)
Mutual labels:  chatbot, bot-framework
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 (-88.6%)
Mutual labels:  chatbot, bot-framework
zhamao-framework
协程、高性能、灵活的聊天机器人 & Web 开发框架(炸毛框架)
Stars: ✭ 99 (-67.75%)
Mutual labels:  chatbot, qqbot
Rasa
💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
Stars: ✭ 13,219 (+4205.86%)
Mutual labels:  chatbot, bot-framework
botyo
Modular chatbot framework designed for group chat rooms on Facebook
Stars: ✭ 17 (-94.46%)
Mutual labels:  chatbot, bot-framework
Framework
Chatbot framework
Stars: ✭ 130 (-57.65%)
Mutual labels:  chatbot, bot-framework
Eddi
Scalable Open Source Chatbot Platform. Build multiple Chatbots with NLP, Behavior Rules, API Connector, Templating. Developed in Java, provided with Docker, orchestrated with Kubernetes or Openshift.
Stars: ✭ 171 (-44.3%)
Mutual labels:  chatbot, bot-framework
Fondbot
Chatbot framework
Stars: ✭ 102 (-66.78%)
Mutual labels:  chatbot, bot-framework
Rasa core
Rasa Core is now part of the Rasa repo: An open source machine learning framework to automate text-and voice-based conversations
Stars: ✭ 2,302 (+649.84%)
Mutual labels:  chatbot, bot-framework
Botframework Webchat
A highly-customizable web-based client for Azure Bot Services.
Stars: ✭ 1,198 (+290.23%)
Mutual labels:  chatbot, bot-framework
Botpress
🤖 Dev tools to reliably understand text and automate conversations. Built-in NLU. Connect & deploy on any messaging channel (Slack, MS Teams, website, Telegram, etc).
Stars: ✭ 9,486 (+2989.9%)
Mutual labels:  chatbot, bot-framework
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+832.9%)
Mutual labels:  chatbot, bot-framework
intelligo-generator
🛠️ Chatbot generator for Intelligo Framework.
Stars: ✭ 31 (-89.9%)
Mutual labels:  chatbot, bot-framework

Koishi 是一个在 Node.js 环境下运行的跨平台机器人框架,目前可支持 QQ开黑啦TelegramDiscord 等多个平台。

这个项目的名字和图标来源于东方 Project 中的角色古明地恋 (Komeiji Koishi)。

demo

快速上手

# 进入文件夹
cd my-bot

# 安装 Koishi
yarn add koishi

# 初始化配置文件
yarn koishi init

# 运行你的 Bot
yarn koishi start

现在可以对你的机器人说话了:

> echo hello world
< hello world

完整版文档:https://koishi.js.org/guide/starter.html

优秀特性

开箱即用的 CLI

Koishi 高度配置化的命令行工具可以让你无需写代码就搭建属于你的机器人。与此同时,CLI 还配备了丰富和人性化的提示,进一步提高调试体验。

功能强大的 API

经过了几个版本的迭代,Koishi 已经发展出了丰富的 API,功能覆盖机器人领域的方方面面。从上层负责交互的指令、会话、中间件,再到中层负责控制的应用、上下文、插件,最后到底层的机器人和适配器,每一个部分都经过了精心的编写,可以让你轻松实现任何需求。

丰富的生态系统

Koishi 在编写时,也同样编写了大量的官方插件作为补充。它们有些作为 Koishi 的基础功能,有些则为 Koishi 的使用提供了许多便利。更重要的是,这数十个插件都可以作为 Koishi 插件开发的极好示范。

多账户与跨平台支持

Koishi 原生地支持了多账户与跨平台,同时为这些机器人之间互通数据、共用服务器、保证数据安全提供了原生的解决方案,这有助于在保持高性能的同时,将风控和迁移造成的影响降低到最小。

应用案例

欢迎向下面的列表中添加自己的插件或机器人。

社区插件

社区项目

官方生态

平台支持

  • koishi-adapter-onebot: OneBot 协议支持,可用于 QQ
  • koishi-adapter-discord: Discord 平台支持
  • koishi-adapter-telegram: Telegram 平台支持
  • koishi-adapter-kaiheila: 开黑啦 平台支持

数据库支持

  • koishi-plugin-mongo: MongoDB 支持
  • koishi-plugin-mysql: MySQL 5.7 / MariaDB 10.5 支持

核心插件

koishi-plugin-common 是一个插件合集,包含了一些最常用功能:

  • 发送和广播消息
  • 管理用户和频道数据
  • 账号跨平台绑定
  • 消息跨频道转发
  • 输出聊天记录到控制台
  • 定制复读,处理申请,自定义回复……

koishi-plugin-eval 允许用户直接使用机器人执行脚本。它利用了 Node.js 的 vmworker_threads 模块,在保护执行安全的前提下能够获得较快的响应速度。同时,插件还提供了一些内置的 API 供用户调用,并允许用户编写自己的模块并永久保存,甚至可以动态定义新的指令。

koishi-plugin-teach 允许用户在运行时编写问答并由机器人触发。每个人都可以随时随地修改机器人的行为,大大提高了互动的灵活性。支持概率控制、称呼匹配、指令插值、权限管理、频道过滤、正则匹配、后继问答等多种功能,足以应对绝大部分使用场景。

其他官方插件

使用协议

Koishi 完全使用 MIT 协议开源,维护良好的开源生态从我做起 (*>ω<)φ

Copyright © 2019-present, Shigma

联系方式

QQ群

本群只交流程序开发,不欢迎伸手党,禁止谈论商业行为。

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].