npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@karinjs/adapter-qqbot

v1.2.9

Published

karin plugin template

Downloads

22

Readme

qaq

开发中...

如需使用:

pnpm add @karinjs/adapter-qqbot -w

config\plugin\@karinjs\adapter-qqbot创建config.yaml 输入以下内容,请自行配置账号。当前Markdown仅支持旧图文模板原生

# 全局默认配置 以下所有配置均可在账号配置中单独配置
default:
# 获取调用凭证的api
accessTokenApi: https://bots.qq.com/app/getAppAccessToken
# 沙盒api
sandBoxApi: https://sandbox.api.sgroup.qq.com
# 正式环境api
qqBotApi: https://api.sgroup.qq.com
# 机器人发送模式 0-直接发送 1-原生Markdown 3-旧图文模板Markdown 4-纯文模板Markdown 5-自定义处理
sendMode: 0
# 是否开启沙盒环境
sandBox: false
# 是否启用频道机器人 未适配
guild: false
# 频道机器人模式 0-公域机器人 1-私域机器人
guildMode: 0

# 机器人Markdown模板ID 只有在sendMode为3或4时有效
templateId: ""

# 机器人旧图文模板Markdown配置
oldTemplate:
  # 开头文字
  textStartKey: text_start
  # 图片描述
  imgDescKey: img_dec
  # 图片地址
  imgUrlKey: img_url
  # 结尾文字
  textEndKey: text_end

# 机器人纯文模板Markdown配置
textTemplate:
  - text_0
  - text_1
  - text_2
  - text_3
  - text_4
  - text_5
  - text_6
  - text_7
  - text_8
  - text_9

# 文本中的url转二维码白名单 配置后将不转换这些url为二维码
exclude: []
# 接受到消息后对文本进行表达式处理
regex: [
    {
      # 表达式
      reg: "^#",
      # 替换为
      rep: "",
    },
  ]

# 账号配置列表
accounts:
default:
  # 机器人ID 必须为字符串
  appId: "123456789"
  # 机器人密钥
  secret: "123456789"
  # 机器人发送模式 0-直接发送 1-原生Markdown 3-旧图文模板Markdown 4-纯文模板Markdown 5-自定义处理
  sendMode: 0
  # 文本中的url转二维码白名单 配置后将不转换这些url为二维码 优先级高于全局配置
  exclude: []
  # 接受到消息后对文本进行表达式处理 优先级高于全局配置
  regex: []