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 🙏

© 2025 – Pkg Stats / Ryan Hefner

picgo-plugin-dogecloud

v3.4.0

Published

picgo upload plugin for dogecloud

Readme

picgo-plugin-dogecloud

PicGo 多吉云(dogecloud)上传插件。支持 PicGo GUI 。

多吉云(dogecloud)云存储使用的是腾讯云COS或阿里云OSS作为存储空间的底层服务,支持AWS S3 SDK上传。~~由于并非自家开发的底层存储服务,所以相较于通用的AWS S3 SDK上传,要多传输一个临时sessionToken~~。而现有的picgo-plugin-s3无法直接使用,因此拿来小小改了一下,感谢前任开发者wayjam

关于此插件的详细说明可见《PicGo插件:上传到多吉云存储》

特别鸣谢

特别感谢开发者@mingxuan对本插件的杰出贡献,从而大大简化了使用本插件的流程。

特别感谢开发者@dwxh对插件适配新版picgo-core的巨大帮助。

使用说明

使用本插件的必需条件是,你首先应当创建一个标准存储空间,因为只有标准存储才支持 SDK 操作

1.在密钥管理页面获取AccessKeySecretKey

2.在云存储中选择对应的空间列表,点击右侧SDK参数,记录s3Bucket

填入配置

| Key | 说明 | 例子 | | ----------------- | ----------------------------- | ---------------------------------- | | AccessKey | 用户AccessKey | 1v80b5xxxxx9sc9b0 | | SecretKey | 用户SecretKey | 6adcaf272xxxxxxxx52f26ddsad244cb | | bucketName | s3bucket | s-gz-2384-xxxxxxx | | urlPrefix | 存储空间绑定的CDN域名 | https://img.example.com | | uploadPath | 上传路径 | {year}/{month}/{fullName} | | urlSuffix | 自定义后缀 | /shuiyin | | ~~forceRefreshToken~~ | ~~是否强制刷新Token~~ | ~~每天可调用八千次,建议打开~~ |

填写图示

上传路径为空则默认以原始文件名上传到根目录,如指定目录则必需添加 payload:

| payload | 描述 | | ------------ | ---------------------- | | {year} | 当前日期 - 年 | | {month} | 当前日期 - 月 | | {day} | 当前日期 - 日 | | {fullName} | 完整文件名(含扩展名) | | {fileName} | 文件名(不含扩展名) | | {extName} | 扩展名(不含.) | | {md5} | 图片 MD5 计算值 | | {sha1} | 图片 SHA1 计算值 | | {sha256} | 图片 SHA256 计算值 |

示例

GUI端配置参考上方“配置”,忽略此项。

    "dogecloud": {
      "AccessKey": "xxxxxxx",
      "SecretKey": "xxxxxxxxxxxx",
      "bucketName": "s-gz-2384-xxxxxxx",
      "uploadPath": "{year}/{md5}.{extName}",
      "urlPrefix": "https://img.example.com/"
    }

如果 PicGo 像以上配置,执行上传:picgo upload sample.png,则最终得到图片地址为:https://img.example.com/2022/4aa4f41e38817e5fd38ac870f40dbc70.jpg

TODO:

12/04/2025 已解决此前所有遗留的问题,更新了 aws-sdk 的版本。

发布

With the following command, a versioned commit which modifies the version of package.json would be genereated and pushed to the origin. Github Action will automatically compile this pacakage and publish it to NPM.

npm run patch
npm run minor
npm run major

开源许可

Released under the MIT License.