Socket
Socket
Sign inDemoInstall

koishi-plugin-word-cloud

Package Overview
Dependencies
1
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    koishi-plugin-word-cloud

A word-cloud plugin for Koishi. Skia-Canvas needed.


Version published
Weekly downloads
111
increased by12.12%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

koishi-plugin-word-cloud

npm

Koishi 的词云插件,使用 Jieba

  • help cloud
指令:cloud
查询本群词云
cloud -t 1w 以机器人记录的一周词数为界限生成词云
cloud -t 10m --full 以10分钟内的记录词数生成词云并用 puppeteer 渲染。
可用的选项有:
    -t, --term <term>  检索时间,从现在往前追溯,支持 数字+`d | D | w | M | y | h | m | s | ms`
    -f, --fast  -f 表示用 canvas 渲染,--full 表示用 puppeteer 渲染。
    --full
    --guild <guild>  指定特定 guild 来生成词云。
  • help wordclear
指令:wordclear
清除本群的记录词数
wordclear 清除今日词云。

Credits

[GitHub - daidr/node-wordcloud: Tag cloud presentation for NodeJS (Based on wordcloud2.js)] --- 复制 Canvas 实现

[GitHub - holanlan/b2wordcloud: js wordcloud 词云图, 基于wordcloud2.js, 增强若干特性,如渐变色,阴影,图片形状,tooltip] --- HTML 实现

Keywords

FAQs

Last updated on 04 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc