Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Ink-33/BiliAu2Card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BiliAu2Card

基于CQHTTPAPI,提取聊天中的au号,然后返回音频卡片。
注意:卡片分享功能需要酷Q Pro, Air版将以文字形式发送。

写在前面

本项目合已并入SMLKBOT,因此本仓库将存档仅供学习。

用法

conf.example.json重命名为cong.json

$mv ./conf.example.json ./cong.json

配置文件范本

{
    "CoolQ": [
        {
            "Api": {
                "HttpAPIAddr": "",
                "HttpAPIToken": "",
            }
        }
    ],
    "BiliAu2Card": [    
        {
            "ListeningPath": "/api/cqmsg",
            "ListeningPort": 65122
        }
    ]
}

参数说明:

HttpAPIAddr: 此处填写你的CQHTTPAPI的http请求地址
HttpAPIToken: 此处填写你的CQHTTPAPI的http请求Token

BiliAu2Card: 将此处填写到CQHTTPAPI的上报地址中

ListeningPath: BiliAu2Card监听PATH
ListeningPort: BiliAu2Card监听端口

修改完成后运行即可。

将来将要加入的功能

1: Add HMAC-SHA1 signature verification.

About

Give it Bilibili Audio number, and it sends share card to you.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages