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

picgo-plugin-rclone

v1.1.15

Published

支持40多种后端,支持备份

Downloads

53

Readme

插件简介

rclone 插件是一款基于PicGO调用rclone应用实现上传和备份的插件,支持rclone下各种存储后端的上传备份图床。同时rclone可以通过命令行实现图床的全量迁移。 目前测试支持 <<<<<<< HEAD

  • 去中心化存储Storj(免费150GB)。(经过计算,Storj在存储小文件时并不划算,15KB的小文件1万个会每月交0.6元,远高于其他存储,说明Storj仅适用于打包的大文件的备份存储,如视频,压缩包等等。)
  • Local(本地备份)
  • 自建存储后端(WEBDAV,HTTP,Seafile)
  • 分布式存储后端(SeaweedFS,Minio)
  • COS,OSS,S3兼容性存储,B2等等 =======
  • 去中心化存储:Storj(免费150GB)。
  • Local:(本地备份)
  • 自建备份后端(WEBDAV,HTTP,Seafile)
  • 分布式存储后端(Minio , SeaweedFS)
  • B2,COS,OSS,S3兼容性存储,等等 关于图床功能: 图床功能需要对应的云存储后端支持网页链接的直接调用,或者和CDN联动能够直接用https等链接方式直接访问到。

621d56fc280a60461ec68cfe1e98581f01119ec2

功能简介

上传

在remote 选项中配置相关信息,默认会将图片上传到指定位置。 上传功能区(必填)

备份

插件设定了三个备份后端槽,可以同时备份到三个存储后端,只要填写 远端存储名 信息就可以。支持备份到本地,详见:

  • 有三个后端槽,最多支持三处备份,需要rclone配置好远端存储名,测试好并且正常连接。

可以构建图床后端的快速迁移,

如网站被D时,切换后端,或者cloudflare使用。

图床

图床功能只是拼接了域名前缀和路径地址,可能需要与CDN联动。填写域名前缀,后面和桶名和文件上传路径进行拼接。

  • 如果想确保图床后端更新,不用更新文件URL的话,需要配置CDN域名指向合适的后端。

配置方法

前置准备

下载rclone

需要下载rclone,安装并且在默认路径下可用。

配置rclone

需要配置rclone的远程源,并确认配置正确: 在系统命令行下输入:

rclone version

有相关rclone输出信息认为安装成功。

配置项解释

远端存储名

对应rclone下remoteName,是使用rclone config后自己命名的remoteName,例如这里有三个存储后端,remoteName 分别是 blog.fengidea.com,local,storj。 所以在remoteName/远程源名 处填写storj

backup

存在三个备份槽,默认不填入,填入后需要确认在rclone config下名称与之一致。 需要填写remoteName、远程源名。

LocalPostion

这里填写需要注意:

  1. 位置建议应该填写绝对路径
  2. 对应路径需要有用户权限,如Linux需要能在对应位置创建文件夹。
  3. 参见: /home/mxuan/ D:\mxuan\

rclone config配置

这里给出了几个配置rclone的config项的示例。

网上查找rclone的配置教程,测试成功后再使用插件。。