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

@quanhuzeyu/koishi-plugin-memes

v1.5.1

Published

纯ts实现的memes生成,无需部署额外的后端服务

Downloads

1,130

Readme

@quanhuzeyu/koishi-plugin-memes

npm npm downloads

安装指南 🛠️

浏览器搜索安装FFMPEG并设置好环境变量即可享用

用法

使用 petpet 不带参数用法就是生成一张摸自己头的meme

使用 petpet + @任意群成员 生成一张摸该成员头像的meme

使用petpet + 图片 生成摸该图片的meme

已经实现

v1.5.0 新增 clownflip 翻转小丑 指令

v1.4.6 更新模板图源

v1.4.3 修复一个合成错误 小丑 表情应当裁切输入图像为圆形

v1.4.0 增加 小丑 指令合成小丑,指令结构优化,使用子命令将表情合成指令集中到memes主指令下

v1.3.10 getQuoteArgs函数现在使用imgCollector而不是argCollector来处理引用内容,即引用消息不再查找其中@的信息,只查找图片

v1.3.9 重构代码结构,使用新的参数查找器,现支持quote来传递参数合成图像

v1.3.8 修复提取图片是乱序的问题,修正咖波吸图片合成参数

v1.3.6 添加 咖波吸 精神涣散 指令,memelib修复了一些bug

v1.2.7 所有指令均实现GIF的合成,并修复了koishi中不安全的问题,减少包体积

v1.1.2 实现hammer指令,支持GIF参数传入

v1.0.13 hug 指令支持GIF参数传入,重构底层实现了自定义参数获取器,以便实现多种类参数的获取并合成

v1.0.12 添加指令hug但暂未实现GIF参数合成

v1.0.11 版本更新后已经实现GIF参数的合成,并提升了合成效率,4s->1s

v1.0.0 目前还未支持gif参数的合成,正在开发敬请期待,该库的最终目标是移植nonebot的meme插件库

这是我的第一个ts项目,如果有bug或者更好的代码结构优化请帮助我,十分感谢