Coder Social home page Coder Social logo

leozaki / qqbothub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yiyungent/knifehub

0.0 0.0 0.0 2.46 MB

QQ 机器人 | 基于 Konata.Core | 一键免费部署

License: GNU General Public License v3.0

C# 4.53% CSS 48.30% HTML 0.42% JavaScript 46.51% Dockerfile 0.11% Shell 0.14%

qqbothub's Introduction

QQBotHub

QQ 机器人 | 基于 Konata.Core | 一键免费部署

repo size LICENSE QQ Group hits

Introduce

QQ 机器人 | 基于 Konata.Core | 一键免费部署

  • Web 可视化 无需再在 Console 上操作
  • 插件化架构 轻松使用插件扩展

注意 : 本项目仅供学习使用, 所有第三方插件与本项目无关

功能

  • 在线登录
  • 其它大部分功能由 插件提供

Quick Start

部署

方式1: 使用 Railway 免费 一键部署

点击下方按钮 一键部署

Deploy on Railway

Railway 环境变量
环境变量名称 必填 备注
PLUGINCORE_ADMIN_USERNAME PluginCore Admin 用户名
PLUGINCORE_ADMIN_PASSWORD PluginCore Admin 密码
BOT_QQ 机器人 QQ
BOT_PASSWORD 机器人 QQ 密码

注意:

  • Railway 修改环境变量 会 触发 重新 Deploy
  • Railway 重新 Deploy 后会删除数据, 你安装的所有插件及数据都将清空。

方式2: 使用 Docker

docker run -d -p 5004:80 -e ASPNETCORE_URLS="http://*:80" --name qqbothub yiyungent/qqbothub
docker exec -it qqbothub bash

# 或者使用 docker cp , 从宿主机复制进容器, 或者 run 时就用挂载
apt-get update
apt-get install vim
vi /app/settings.json

进入容器, 修改 /app/settings.json,
若没有此文件, 则 使用 settings.json 此示例, 修改为你的机器人 QQ 和密码

现在访问: http://localhost:5004/PluginCore/Admin

QQ 登录

部署完成后

一定要先登录 PluginCore Admin

  1. 访问: https://your-domain/PluginCore/Admin 进入 PluginCore Admin
  2. 访问: https://your-domain/login 进行 QQ机器人 登录

若为 短信验证 , 则直接输入收到的验证码, 点击 提交验证 即可

若为 滑动验证 , 则 点击前往验证, 浏览器在 滑动验证 页面 F12, 再选择 Network, 通过滑动验证后, 复制 ticket 如下 (不要包括双引号), 将 ticket 粘贴到输入框, 点击 提交验证 即可

login_slide.png

注意验证不要等待太久, 否则尝试刷新登录页面 以重新登录及获取新验证

插件管理

访问: https://your-domain/PluginCore/Admin 进入 PluginCore Admin

插件:
下载插件包,

插件包下载见 Release , 直接插件上传 下载的 QQHelloWorldPlugin-net6.0.zip 即可

然后直接 上传 -> 安装 -> 文档 -> 设置 -> 启用 -> 文档 即可

Screenshots

相关项目

Donate

QQBotHub is an GPL-3.0 licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.

We accept donations through these channels:

Author

QQBotHub © yiyun, Released under the GPL-3.0 License.
Authored and maintained by yiyun with help from contributors (list).

GitHub @yiyungent Gitee @yiyungent

qqbothub's People

Contributors

yiyungent avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.