Giter Site home page Giter Site logo

qq-github-bot's Introduction

QQ-GitHub-Bot

Python Version NoneBot Version CQHTTP Version

GitHub Bot for QQ

简介

在 QQ 内 订阅, 查看, 处理 GitHub Issue and Pull Request 。

配置

配置项参考 .env 文件,部分选项为可选。

在项目目录下创建 .env.prod 文件以覆盖默认 .env 配置,配置项留空将会从环境变量寻找。

独立部署

独立部署 QQ-GitHub-Bot 前,需要先行部署 go-cqhttp 或其他 OneBot V11 协议实现 并配置连接。

配置连接的方法参考 nonebot2 文档: 配置协议端

  1. 下载 docker-compose.yml 以及 .env 配置文件至任意空目录,修改 .env 中的如下配置项:

    HOST=0.0.0.0
    PORT=8080
    SUPERUSERS=["机器人管理号"]
    
    # Sentry DSN 网址,如果不使用可以留空
    SENTRY_DSN=
    
    # Github OAuth App 配置,留空将功能受限
    GITHUB_CLIENT_ID=
    GITHUB_CLIENT_SECRET=
    GITHUB_SELF_HOST=

    docker-compose.yml 中的配置视情况修改,如无必要请勿修改!

  2. 启动

    安装 docker-compose 并在目录下执行 docker-compose up -d 即可。

qq-github-bot's People

Contributors

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