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-alist

v1.3.0

Published

使用alist作为中转并实现对各个网盘的图床应用

Downloads

57

Readme

picgo-plugin-alist

plugin for picgo

通过alist实现对oneDrive、阿里云盘、天翼云盘、GoogleDrive、夸克网盘、迅雷云盘等的文件上传,并通过alist实现直链获取(alist可以处理动态直链问题),最终达成对上述各网盘的图床实现。

支持alist v2v3版本。

alist简介

alist是一个支持多存储的文件列表程序,使用 GinSolidjs。使用alist可以利用OneDrive等网盘快速搭建一个下载站。

参数

| key | 是否必填 | description | example | | ----------- | -------- | ------------------------------------------------------------------------------ | ------------------------- | | alist版本 | √ | 2或者3 | 3 | | alist地址 | √ | 你的alist地址 | https://alist.example.com | | 上传路径 | √ | 上传的相对路径(alist内的路径,根据路径上传到对应网盘) | assets | | 管理员token | √ | 管理员token(参考alist文档) | balabala | | 访问路径 | × | 公开的访问路径(资源最终链接,默认同上传路径) | public |

说明

高版本签名

高版本alist加入了“签名”特性,并默认开启“签名所有”。改选项打开后,会向所有文件的直接链接添加签名(无论是否有密码)。 如果遇到代码401错误,请在alist设置中关闭“签名所有”(Alist管理-设置-全局-签名所有)。

  • 目前尝试仿照alist源码进行签名,但签名并不一致(失败~)。

安装

  • 在线安装 打开 PicGo 详细窗口,选择插件设置,搜索alist安装。

  • 离线安装 克隆该项目,复制项目到 以下目录:

    • Windows: %APPDATA%\picgo\
    • Linux: $XDG_CONFIG_HOME/picgo/ or ~/.config/picgo/
    • macOS: ~/Library/Application\ Support/picgo/

    切换到新目录执行 npm install ./picgo-plugin-alist,然后重启应用即可。