All Projects → duan602728596 → Qqtools

duan602728596 / Qqtools

Licence: agpl-3.0
QQ群工具,提供桃叭监听,48系成员直播监听,48系成员信息监听,微博监听,群成员自动欢迎等功能。

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Qqtools

Signal-Desktop-installer
Deprecated, please use official standalone Signal Desktop
Stars: ✭ 15 (-85.85%)
Mutual labels:  nwjs
Popcorn Desktop
Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player ( Windows / Mac / Linux ) A Butter-Project Fork
Stars: ✭ 6,470 (+6003.77%)
Mutual labels:  nwjs
Nw Vue Cli Example
NW.js, Vue-CLI 4, Vue-DevTools
Stars: ✭ 63 (-40.57%)
Mutual labels:  nwjs
GSP
Central repository for GSPLauncher and GSPGames
Stars: ✭ 14 (-86.79%)
Mutual labels:  nwjs
Qilin App
Fully hackable text editor developed for exact sciences with built-in KaTeX and AsciiMath support. Extensible via plugins and themes. Exportable as HTML, PDF and GFM.
Stars: ✭ 336 (+216.98%)
Mutual labels:  nwjs
Electron Log
Just a simple logging module for your Electron application
Stars: ✭ 765 (+621.7%)
Mutual labels:  nwjs
nwjs-boilerplate
nw.js (node-webkit) boilerplate
Stars: ✭ 26 (-75.47%)
Mutual labels:  nwjs
Nw.js Armv7 Binaries
NW.js ARMv7 binaries. Instructions for running and building the executable.
Stars: ✭ 92 (-13.21%)
Mutual labels:  nwjs
Nwjs Ffmpeg Prebuilt
FFmpeg prebuilt binaries for NW.js / Chromium
Stars: ✭ 465 (+338.68%)
Mutual labels:  nwjs
Tiddlydesktop
A custom desktop browser for TiddlyWiki 5 and TiddlyWiki Classic, based on nw.js
Stars: ✭ 1,075 (+914.15%)
Mutual labels:  nwjs
Vue Nw Seed
A seed project with vue and nwjs
Stars: ✭ 275 (+159.43%)
Mutual labels:  nwjs
Evaluation
Neutralinojs vs Electron vs Nw.js
Stars: ✭ 301 (+183.96%)
Mutual labels:  nwjs
Duckietv
A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration
Stars: ✭ 942 (+788.68%)
Mutual labels:  nwjs
nwjs-shell-builder
NW.js (node-webkit) shell script builder and packager scripts
Stars: ✭ 79 (-25.47%)
Mutual labels:  nwjs
Greenworks
a node.js plugin to integrate nw.js/electron games with steamworks
Stars: ✭ 1,186 (+1018.87%)
Mutual labels:  nwjs
html5-screensaver-node-webkit
Screensaver made with HTML5, CSS, Javascript and NodeJS driven by node-webkit
Stars: ✭ 30 (-71.7%)
Mutual labels:  nwjs
Iohook
Node.js global keyboard and mouse listener.
Stars: ✭ 714 (+573.58%)
Mutual labels:  nwjs
Nw Ninja
A minimalistic NW.js starter project for ninjas
Stars: ✭ 101 (-4.72%)
Mutual labels:  nwjs
Nwjs rpi
[NW.js port for Raspberry Pi] binary compiled for the ARMv6 used in Raspberry Pi (compatible with RPi 2 and RPi 3)
Stars: ✭ 91 (-14.15%)
Mutual labels:  nwjs
Nwjs Edge Example1
An example using Edge in NW.js directly from the DOM
Stars: ✭ 38 (-64.15%)
Mutual labels:  nwjs

qqtools-mirai

基于mirai和mirai-api-http使用的机器人客户端

配置说明

端口号和authKey的配置

参考https://github.com/project-mirai/mirai-api-http

口袋监听配置

在公演网站( 比如https://live.48.cn/Index/invideo/club/2/id/3730 ),登陆口袋48账号,在开发者工具内找到do_ajax_setcookie地址,返回的结果内包含account。

pocketroom 命令输出口袋房间当前的xox。

微博配置

微博地址( 比如https://weibo.com/u/5891500145 ),后面的数字即为uid。

b站直播配置

直播间地址( 比如https://live.bilibili.com/11588230 ),后面的数字即为直播间id。

桃叭集资配置

taoba桃叭jizijz集资 命令输出集资链接。
排行榜phb 命令输出排行榜信息。
桃叭集资配置的模板除了支持占位符,还支持{{ var }}渲染。var表示注入的变量。
模板的功能参考nunjucks

  • 集资命令模板变量

    • title: 标题
    • taobaid: 桃叭id
  • 集资结果模板:

    • nickname: 集资人的昵称
    • title: 标题
    • money: 集资金额
    • taobaid: 桃叭id
    • donation: 当前集资进度
    • amount: 集资总进度
    • amountdifference: 相差金额
    • juser: 参与集资的人数
    • expire: 项目截止时间
    • timedifference: 距离项目截止的时间
    • otherTaobaDetails: 其他集资信息(配置了多个ID时为数组类型,否则为undefined)
      • title: 标题
      • donation: 已集资金额
      • amount: 集资总金额
    • rankIndex: 当开启结果包含排行榜配置时,集资结果模板内可以输出当前集资人的排名(索引从0开始)
    • taobaRankList: 当开启结果包含排行榜配置时,集资结果模板内可以输出排行榜的信息(数组类型)
      • nick: 集资人的昵称
      • money: 集资金额

其他集资信息的配置使用小写逗号,分隔。其他集资信息在模版上可以这样显示:

段艺璇:{{ otherTaobaDetails[0].donation }}
谢蕾蕾:{{ otherTaobaDetails[1].donation }}
张怀瑾:{{ otherTaobaDetails[2].donation }}
  • 当开启结果包含排行榜配置时,集资结果模板内可以输出当前集资人的排名和排行榜信息,排行榜使用如下的方式渲染:
...集资信息
------ 排行榜 ------
{% for item in taobaRankList -%}
{% if loop.index !== 1 -%}{{ '\n' }}{%- endif %}{{ loop.index }}、{{ item.nick }}:{{ item.money }}
{%- endfor %}
------ 排行榜 ------
...集资信息

loop.index代表了当前索引(从1开始)。
也可以只渲染前几名,比如前6名可以这样展示(使用js的Array.prototype.slice方法截取数组):

...集资信息
------ 排行榜 ------
{% for item in taobaRankList.slice(0, 5) -%}
{% if loop.index !== 1 -%}{{ '\n' }}{%- endif %}{{ loop.index }}、{{ item.nick }}:{{ item.money }}
{%- endfor %}
------ 排行榜 ------
...集资信息

定时消息配置

执行时间的配置查看文档https://github.com/kelektiv/node-cron#cron-ranges

群欢迎、定时消息、自定义命令的发送模板配置

群欢迎和自定义命令配置支持在文字中写入占位符来支持某种功能

占位符:

  • <%= qqtools:Image, 图片地址 %>:图片占位
  • <%= qqtools:At %>:At单个成员,如果填写QQ号则At指定成员,<%= qqtools:At, 123456 %>
  • <%= qqtools:AtAll %>:At全体成员

如果我想配置群欢迎信息,可以这样配置。会自动获取成员的QQ号填入模板中:

<%= qqtools:At %>欢迎加入xxx应援会。

输出软件信息

log命令可以输出软件信息。

如何编译

  1. 编译@qqtools3/main、@qqtools3/qqtools项目
  2. 运行scripts文件夹内的脚本打包软件

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