{"_id":"@dgck81lnn/koishi-plugin-derpi","_rev":"6-30c2286163da7c93bd1126207179c438","name":"@dgck81lnn/koishi-plugin-derpi","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.1":{"name":"@dgck81lnn/koishi-plugin-derpi","version":"0.0.1","keywords":["chatbot","koishi","plugin"],"license":"MIT","_id":"@dgck81lnn/koishi-plugin-derpi@0.0.1","maintainers":[{"name":"dgck81lnn","email":"triluolnn@163.com"}],"dist":{"shasum":"e386aed1b6bc4a59d4b3314c0b4ddffa8d89eb60","tarball":"https://registry.npmjs.org/@dgck81lnn/koishi-plugin-derpi/-/koishi-plugin-derpi-0.0.1.tgz","fileCount":12,"integrity":"sha512-fMO2STd5VdzpyuJFYmZ1qx5hEBa3u/YK2rtNsCWXHrx/GU5/1LJdQO6ul3fe++05LvER1zHaBViY31hReM+75A==","signatures":[{"sig":"MEUCIQDTmjMQziq4zeFHf6iEP+lDYU91Mvu6l3psiNDY7l+h5gIgUrX9W4wbI4aa5KKWM1oU4m+KhMpiYXN4l+R5iQ1to/A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20274},"main":"lib/index.js","gitHead":"10389761882bfe0b1d98529f2f3ee5c4a3590fda","scripts":{},"typings":"lib/index.d.ts","_npmUser":{"name":"dgck81lnn","email":"triluolnn@163.com"},"deprecated":"Use v0.0.2","_npmVersion":"10.1.0","description":"[![npm](https://img.shields.io/npm/v/@dgck81lnn/koishi-plugin-lnnbot-derpi?style=flat-square)](https://www.npmjs.com/package/@dgck81lnn/koishi-plugin-lnnbot-derpi)","directories":{},"_nodeVersion":"20.5.0","dependencies":{"axios":"^1.6.2"},"_hasShrinkwrap":false,"peerDependencies":{"koishi":"^4.16.1"},"_npmOperationalInternal":{"tmp":"tmp/koishi-plugin-derpi_0.0.1_1704685384506_0.7099861076154137","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@dgck81lnn/koishi-plugin-derpi","version":"0.0.2","keywords":["chatbot","koishi","derpibooru"],"license":"MIT","_id":"@dgck81lnn/koishi-plugin-derpi@0.0.2","maintainers":[{"name":"dgck81lnn","email":"triluolnn@163.com"}],"homepage":"https://github.com/DGCK81LNN/koishi-plugin-derpi","bugs":{"url":"https://github.com/DGCK81LNN/koishi-plugin-derpi/issues"},"dist":{"shasum":"fa58304d74185566907cd6c81338de272a0f6a73","tarball":"https://registry.npmjs.org/@dgck81lnn/koishi-plugin-derpi/-/koishi-plugin-derpi-0.0.2.tgz","fileCount":12,"integrity":"sha512-JzXX9/ghFtuldWqh6LUxv7EPAcy0qLmFHZUSfLOwpsstjf/rOI8WZOdaF54rkl4XoB/gUqAoCp82ddcXd+fCiA==","signatures":[{"sig":"MEQCIEPsc9Yx7MAFPfjgMoXtRY/JiVqQoAY3ggj4hGMxYWBVAiAwPyj6epv4/SmSWUq5sfhgG7xGUMZIvGMca1y817OVLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20660},"main":"lib/index.js","koishi":{"locales":["zh"],"description":{"en":"Get random images from Derpibooru","zh":"随机 Derpibooru 图片"}},"gitHead":"53ff52a424933b77ff5427ab82c4db55f0875ebf","scripts":{},"typings":"lib/index.d.ts","_npmUser":{"name":"dgck81lnn","email":"triluolnn@163.com"},"repository":{"url":"git+https://github.com/DGCK81LNN/koishi-plugin-derpi.git","type":"git"},"_npmVersion":"10.1.0","description":"Random Derpibooru images for koishi","directories":{},"_nodeVersion":"20.5.0","dependencies":{"axios":"^1.6.2"},"_hasShrinkwrap":false,"peerDependencies":{"koishi":"^4.16.1"},"_npmOperationalInternal":{"tmp":"tmp/koishi-plugin-derpi_0.0.2_1704686555663_0.6036965370706227","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@dgck81lnn/koishi-plugin-derpi","version":"0.1.0","keywords":["chatbot","koishi","derpibooru"],"license":"MIT","_id":"@dgck81lnn/koishi-plugin-derpi@0.1.0","maintainers":[{"name":"dgck81lnn","email":"triluolnn@163.com"}],"homepage":"https://github.com/DGCK81LNN/koishi-plugin-derpi","bugs":{"url":"https://github.com/DGCK81LNN/koishi-plugin-derpi/issues"},"dist":{"shasum":"b1da9813a45ab40cff0682dbec19125de734e246","tarball":"https://registry.npmjs.org/@dgck81lnn/koishi-plugin-derpi/-/koishi-plugin-derpi-0.1.0.tgz","fileCount":13,"integrity":"sha512-WXLiHgVkoy4Acuweyu5pcSmT9jAncJTIVZVlxWDMo/biRG1l35p+s/fZQKBC0huAinmcWRop7z4bJcDzKIU/gg==","signatures":[{"sig":"MEUCIQDcDTZOYBxbtMOvU+r8saOzvr+q5xxUGHen//df9mFPwQIgAPmoSZPN9IFNKakTgBjpofFo9ULZqcD8Xj3Ik7P16zw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23494},"main":"lib/index.js","koishi":{"locales":["zh"],"description":{"en":"Get random images from Derpibooru","zh":"随机 Derpibooru 图片"}},"gitHead":"843fe701d8e2f7037f0b1ae47c74012920b51f88","typings":"lib/index.d.ts","_npmUser":{"name":"dgck81lnn","email":"triluolnn@163.com"},"repository":{"url":"git+https://github.com/DGCK81LNN/koishi-plugin-derpi.git","type":"git"},"_npmVersion":"10.1.0","description":"Random Derpibooru images for koishi","directories":{},"_nodeVersion":"20.5.0","dependencies":{"axios":"^1.6.2"},"_hasShrinkwrap":false,"peerDependencies":{"koishi":"^4.16.1"},"_npmOperationalInternal":{"tmp":"tmp/koishi-plugin-derpi_0.1.0_1704807163467_0.4746522307851013","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@dgck81lnn/koishi-plugin-derpi","version":"0.1.1","keywords":["chatbot","koishi","derpibooru"],"license":"MIT","_id":"@dgck81lnn/koishi-plugin-derpi@0.1.1","maintainers":[{"name":"dgck81lnn","email":"triluolnn@163.com"}],"homepage":"https://github.com/DGCK81LNN/koishi-plugin-derpi","bugs":{"url":"https://github.com/DGCK81LNN/koishi-plugin-derpi/issues"},"dist":{"shasum":"07828b1430a5019399c392c72c8debfdcc354e67","tarball":"https://registry.npmjs.org/@dgck81lnn/koishi-plugin-derpi/-/koishi-plugin-derpi-0.1.1.tgz","fileCount":13,"integrity":"sha512-jNV1LUuOPyzbUZlVhqSD4Cd7mKVmc+HS41N02lehINSqTUgTb/ELthcFlu4jDl0eOyxWy6SUxVweBG7WI1cB4A==","signatures":[{"sig":"MEQCIEaEEWabEovgaW3d1nvoE9LpT4TMjzA5ivnFLyCZ0x7/AiATpU3sKi9Ujb2bAKXeNksQFV6IXH5/cXuFfxhm/FiRGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23332},"main":"lib/index.js","koishi":{"locales":["zh"],"description":{"en":"Get random images from Derpibooru","zh":"随机 Derpibooru 图片"}},"gitHead":"e4d0a9f67a4778a2a136ec1f60e9bef0d85c4957","typings":"lib/index.d.ts","_npmUser":{"name":"dgck81lnn","email":"triluolnn@163.com"},"repository":{"url":"git+https://github.com/DGCK81LNN/koishi-plugin-derpi.git","type":"git"},"_npmVersion":"10.1.0","description":"Random Derpibooru images for koishi","directories":{},"_nodeVersion":"20.5.0","dependencies":{"axios":"^1.6.2"},"_hasShrinkwrap":false,"peerDependencies":{"koishi":"^4.16.1"},"_npmOperationalInternal":{"tmp":"tmp/koishi-plugin-derpi_0.1.1_1705835818370_0.46023547262702413","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@dgck81lnn/koishi-plugin-derpi","version":"0.1.2","keywords":["chatbot","koishi","derpibooru"],"license":"MIT","_id":"@dgck81lnn/koishi-plugin-derpi@0.1.2","homepage":"https://github.com/DGCK81LNN/koishi-plugin-derpi","dist":{"shasum":"bcab389d1cb9a9214bcc193de413cd82d0b3f230","tarball":"https://registry.npmjs.org/@dgck81lnn/koishi-plugin-derpi/-/koishi-plugin-derpi-0.1.2.tgz","fileCount":13,"integrity":"sha512-jtRlxk4WuBJK48KkyyyFXxKazspoM8gp/A7VCqRgqP4h6LcoNOrEPILw1dTmEKj/huut0iugKj8Wio5IvyNfBQ==","signatures":[{"sig":"MEUCIDXsRJ/HDck6GAqt9by4F1+9FTzCsSQ8h4kMLcKhQLkcAiEAigIubZ9wuX/eham8qT3AOmdwQb1mOlEJ8fGMp9Ol6XI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22776},"main":"lib/index.js","koishi":{"locales":["zh"],"description":{"en":"Get random images from Derpibooru","zh":"随机 Derpibooru 图片"}},"gitHead":"cff06506fcb7908cc9a763b45be1b88ac364e47e","typings":"lib/index.d.ts","_npmUser":{"name":"dgck81lnn","email":"triluolnn@163.com"},"repository":{"url":"git+https://github.com/DGCK81LNN/koishi-plugin-derpi.git","type":"git"},"description":"Random Derpibooru images for koishi","directories":{},"dependencies":{"axios":"^1.6.2"},"_hasShrinkwrap":false,"peerDependencies":{"koishi":"^4.16.1"},"_npmOperationalInternal":{"tmp":"tmp/koishi-plugin-derpi_0.1.2_1719854638088_0.29804303595634374","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@dgck81lnn/koishi-plugin-derpi","description":"Random Derpibooru images for koishi","version":"0.1.3","main":"lib/index.js","typings":"lib/index.d.ts","license":"MIT","homepage":"https://github.com/DGCK81LNN/koishi-plugin-derpi","repository":{"type":"git","url":"git+https://github.com/DGCK81LNN/koishi-plugin-derpi.git"},"keywords":["chatbot","koishi","derpibooru"],"koishi":{"description":{"en":"Get random images from Derpibooru","zh":"随机 Derpibooru 图片"},"locales":["zh"]},"peerDependencies":{"koishi":"^4.16.1"},"_id":"@dgck81lnn/koishi-plugin-derpi@0.1.3","gitHead":"7bf7af00b65c62be5b9fc9745db0554642bce13c","bugs":{"url":"https://github.com/DGCK81LNN/koishi-plugin-derpi/issues"},"_nodeVersion":"20.15.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-DxIXiTivbCmm0VIk1X66cUclh9fLS05omKUP/P9LquHtVnyft+qIk0qN/0nQXx6dpAg/1zePGqjETs4bq9dEJw==","shasum":"3b35e6ec7fa41df30995b009a0407182d7678a46","tarball":"https://registry.npmjs.org/@dgck81lnn/koishi-plugin-derpi/-/koishi-plugin-derpi-0.1.3.tgz","fileCount":14,"unpackedSize":23791,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2U+sdsblK7BAhc3Bn4TavkfLLHc/Fy9fR1X+hGtTTYAiEA9FZ2z+hdjjbst4MvaCFM6JVrdEUyiWh0AV+8/y6j8ag="}]},"_npmUser":{"name":"dgck81lnn","email":"triluolnn@163.com"},"directories":{},"maintainers":[{"name":"dgck81lnn","email":"triluolnn@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-derpi_0.1.3_1726491392461_0.9957471086317813"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-08T03:43:04.385Z","modified":"2024-09-16T12:56:32.832Z","0.0.1":"2024-01-08T03:43:04.679Z","0.0.2":"2024-01-08T04:02:35.818Z","0.1.0":"2024-01-09T13:32:43.643Z","0.1.1":"2024-01-21T11:16:58.530Z","0.1.2":"2024-07-01T17:23:58.242Z","0.1.3":"2024-09-16T12:56:32.660Z"},"license":"MIT","homepage":"https://github.com/DGCK81LNN/koishi-plugin-derpi","keywords":["chatbot","koishi","derpibooru"],"repository":{"type":"git","url":"git+https://github.com/DGCK81LNN/koishi-plugin-derpi.git"},"description":"Random Derpibooru images for koishi","maintainers":[{"name":"dgck81lnn","email":"triluolnn@163.com"}],"readme":"# @dgck81lnn/koishi-plugin-derpi\n\n[![npm](https://img.shields.io/npm/v/@dgck81lnn/koishi-plugin-derpi?style=flat-square)](https://www.npmjs.com/package/@dgck81lnn/koishi-plugin-derpi)\n\n随机 Derpibooru 图片\n\n## 用法\n\n### `derpi`\n\n```\n指令：derpi <id>\n获取呆站图片\n```\n\n例：`derpi 1335306`\n\n### `derpi.random`\n\n```\n指令：derpi random [query]\n随机获取呆站图片\n输入 derpi.random，后加一个 Derpibooru 搜索串，用于筛选图片。若搜索串中有空格，需给整个搜索串加引号。\n省略搜索串或输入“再来一张”（或“再来”）可重复最近一次请求。\n也可以直接使用以下快捷方式来调用预设的搜索串和选项：\n    随机小马图\n    随机暮暮/紫悦/TS图\n    随机萍琪/碧琪/PP图\n    随机阿杰/嘉儿/AJ图\n    随机柔柔/小蝶/FS图\n    随机云宝/戴茜/黛茜/黛西/RD图\n    随机瑞瑞/珍奇/RY图\n```\n\n例：`derpi.random \"pony, sunset shimmer\"`\n\n该指令有几个隐藏选项：\n\n  * `--r34 <level>`  指定最高允许的 R34 分级：`--r34 1` 或 `-s` 表示 `suggestive`，`--r34 2` 或 `-q` 表示 `questionable`，`--r34 3` 或 `-e` 表示 `explicit`\n\n  * `--dark <level>`  指定最高允许的黑暗内容分级：`--dark 1` 或 `-S` 表示 `semi-grimdark`，`--dark 2` 或 `-g` 表示 `grimdark`\n\n  * `--grotesq`, `-G`  若指定，则允许血腥或恶心（`grotesque`）的图片\n\n不指定上述任何选项的情况下，默认只显示 `safe` 分级的图片。\n\n## 主要配置项\n\n  * `booruUrl`：图站网址。默认为 [Derpibooru](https://derpibooru.org) `https://derpibooru.org`。若机器人网络无法访问 Derpibooru，可将此项设为其另一域名 `https://trixiebooru.org`。也可以设置为其他基于 [Philomena](https://github.com/philomena-dev/philomena) 的图站，如 [Ponybooru](https://ponybooru.org) `https://ponybooru.org`、[Furbooru](https://furbooru.org) `https://furbooru.org`、[Ponerpics](https://ponerpics.org) `https://ponerpics.org`、[Manebooru](https://manebooru.art) `https://manebooru.art`。\n\n  * `filterId`：获取随机图片时使用的过滤器编号。默认为 [191275](https://derpibooru.org/filters/191275)。被该过滤器隐藏的图片不会出现在随机图结果中。若使用 Derpibooru 以外的图站，需要到相应图站上创建或选择合适的过滤器，然后将此项设置成过滤器详情页的网址中“`/filters/`”后的数字。设置为 -1 时使用图站的默认过滤器。\n\n  * `restrictions`：随机图片必须满足的搜索词。会自动添加到所有搜索词中。默认为 `wilson_score.gte:0.93`（威尔逊得分不低于 0.93）。\n\n  * `randomShortcuts`：定义随机图片的预设搜索词快捷方式。默认为“随机**小马**图” = `derpi.random pony`、“随机**暮暮**/**紫悦**/**TS**图” = `derpi.random ts,pony,solo` 等 7 个。\n\n关于其余配置项，请到 Koishi 控制台安装并应用本插件后查看。\n","readmeFilename":"readme.md","bugs":{"url":"https://github.com/DGCK81LNN/koishi-plugin-derpi/issues"}}