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

koishi-plugin-p5-advance-letter-generator

v1.1.3

Published

模拟生成《女神异闻录5》中的 p5 预告信和 p5 UI,感受佐仓双叶的魅力和 p5 的风格。

Downloads

271

Readme

koishi-plugin-p5-advance-letter-generator

npm

🎈 介绍

基于 Koishi 框架,用于生成 p5 预告信p5 UI 图片。🔥

p5 预告信是指《女神异闻录5》中的一种信件,由佐仓双叶用特殊的字体和颜色写成,用来告知主角和同伴们下一次的目标和计划。💌

p5 UI 是指《女神异闻录5》中的一种用户界面,由鲜艳的红色和白色组成,具有强烈的视觉冲击力和动感。🎨

📦 安装

npm install koishi-plugin-p5-advance-letter-generator

或者,你可以直接前往 Koishi 插件市场添加该插件。👍

🎮 使用

  • 启动 puppeteer 服务插件。🖼️
  • 建议为指令添加合适的别名。📸

⚙️ 配置项

  • imageType:图片类型,默认为 png。🖼️

📝 命令

该插件提供了两个命令,分别是:

  • p5advanceLetter:查看 p5 预告信生成帮助。📚
  • p5advanceLetter.generateAdvanceLetter [text:text]:生成 p5 预告信。💌
  • p5advanceLetter.generateUI [text:text]:生成 p5 UI。🎨

其中,[text:text] 参数是必须的,表示要生成的文本内容。你可以用 / 来换行。🔤

你还可以使用以下选项来调整生成的图片:

  • -w [canvasWidth:number]:画布宽度,默认为 1770 像素。🔢
  • --height [canvasHeight:number]:画布高度,默认为 1300 像素。🔢

例如,你可以输入以下命令:

p5advanceLetter.generateAdvanceLetter -w 1920 --height 1080 尊敬的金城润矢先生:/扭曲事实沉溺于金钱利益之人 ,/您的种种恶行,我等已全然知晓/那个扭曲的欲望/就由我等来收下!/心之怪盗团-Joker敬上

来生成一张宽为 1920 像素,高为 1080 像素的 p5 预告信图片,示例如下:

p5预告信示例

p5 UI 图片,示例如下:

p5UI示例

🙏 致谢

🐱 QQ 群

  • 956758505

✨ License

MIT License © 2024

希望您喜欢这款插件! 💫

如有任何问题或建议,欢迎联系我哈~ 🎈