New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

picgo-plugin-obs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

picgo-plugin-obs

PicGo plugin for Huawei Cloud OBS

latest
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

picgo-plugin-huawei-obs

PicGo 的华为云 OBS (Object Storage Service) 上传插件。

特性

  • 支持华为云 OBS 对象存储上传
  • 支持自定义存储路径前缀
  • 支持自定义域名 (Custom Domain)

安装

在线安装

打开 PicGo 详细窗口 -> 插件设置 -> 搜索 obs -> 点击安装。

注意:如果尚未发布到 npm,请使用离线安装或开发者模式安装。

离线安装

  • clone 该项目到本地
  • 在项目根目录执行 npm install
  • 在 PicGo 插件设置中导入本地插件

配置

使用该插件前,请确保你已经拥有华为云 OBS 的账号,并创建了存储桶。

配置项描述必填示例
Access Key Id华为云访问密钥 ID (AK)A66ZNCE7...
Secret Access Key华为云访问密钥 Secret (SK)oy3porc...
Bucket存储桶名称my-blog-bucket
ServerOBS 服务器地址 (Endpoint)https://obs.cn-north-4.myhuaweicloud.com
Path Prefix存储路径前缀 (自动创建目录)img/
Custom Domain自定义域名 (用于生成访问链接)https://cdn.example.com

配置说明

  • Access Key Id / Secret Access Key: 在华为云控制台 "我的凭证" -> "访问密钥" 中获取。
  • Bucket: 你在 OBS 控制台创建的桶名称。
  • Server: 桶所在的区域域名。可以在桶的 "概览" 页面找到 "访问域名"。务必带上协议头 (如 https://)。
  • Path Prefix: 如果你想将图片存放在桶内的某个子文件夹下,可以在此配置。例如填写 blogs/,则图片上传后路径为 blogs/filename.png
  • Custom Domain: 如果你绑定了自定义域名或使用了 CDN,可以在此配置。配置后,PicGo 返回的 URL 将使用该域名替换默认的 OBS 域名。

License

ISC

Keywords

picgo

FAQs

Package last updated on 13 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts