返回目录

picgo-core

维护状态: 活跃

picgo/picgo-core

强大的图片上传引擎,同时支持 CLI 与 API。

前往 GitHub项目主页
$ npm install picgo -g

984

星标

101

Fork

TypeScript

语言

MIT

许可证

2018-09-17

创建于

2026-08-27

最近推送

MIT 许可的图片上传引擎(CLI + Node API),带插件系统;独立生态工具——README 未记载与 DeepSeek Harness 的直接集成,可作为 shell 命令在任何工作流中调用。

DSH 适配

生态相关

自动推断

安全审计

未审计

最后核验

2026-08-21

许可证

MIT

01它能帮你完成什么?

  • Upload images from a local path or clipboard to an image host and get hosted URLs back

    Images uploaded to the configured uploader (SM.MS(S.EE) by default), returning hosted image URLs for Markdown documents and READMEs

    Developers and technical writers who maintain docs, READMEs and markdown notes and need fast, scriptable image hosting

  • Automate image uploading inside scripts, build pipelines and Node.js projects

    Programmatic uploads via the PicGo Node API (CommonJS and ES Module), plus CLI options for config path, proxy, debug and silent mode

    Tooling engineers wiring image upload into pipelines, editors or agent-driven workflows

  • Serve image uploading as a local server for editors and other tools

    A standalone local PicGo server (`picgo server -p 36677 -h 127.0.0.1`) that tools like Typora can call natively

    Users of Typora and other local tools that integrate with a PicGo server endpoint

02如何接入 DeepSeek Harness?

前置条件

  • Node.js >= 20.19.0 or >= 22.12.0 (older PicGo versions <= v1.5.x only need Node.js >= 16)

安装步骤

  1. 01

    Global install: `npm install picgo -g` or `yarn global add picgo`

    $ npm install picgo -g

  2. 02

    Local install (project dev dependency): `npm install picgo -D` or `yarn add picgo -D`

    $ npm install picgo -D

验证接入成功

作者未说明

03DSH 适配与能力边界

DSH 适配生态相关

Standalone image-uploading CLI/API with no documented DeepSeek Harness integration; usable from any agent shell workflow as a regular npm command

  • CLI & clipboard upload

    image file path or clipboard content (`picgo upload [input...]`)image uploaded to the configured host; clipboard captures are converted to png

    uploads images over the network to the configured remote image host
  • Node.js API

    `const { PicGo } = require('picgo')` (CommonJS) or ES Module importprogrammatic uploads via `picgo.upload([...])` from any Node project

    uploads images over the network to the configured remote image host
  • Standalone server mode

    `picgo server -p 36677 -h 127.0.0.1`local PicGo server that editors like Typora can call natively

    opens a local network port
  • Plugin system

    plugins from the Awesome-PicGo ecosystemextended uploaders/transformers managed via `picgo install/uninstall/update`

    installs third-party plugin packages and modifies PicGo module configuration

04适合谁?何时不该用?

适合

  • Developers and technical writers who maintain docs, READMEs and markdown notes and need fast, scriptable image hosting
  • Tooling engineers wiring image upload into pipelines, editors or agent-driven workflows
  • Users of Typora and other local tools that integrate with a PicGo server endpoint

不适合

  • Requires Node.js >= 20.19.0 or >= 22.12.0 because of ES Module stability requirements; older Node versions cannot run current PicGo releases.
  • Uploads are sent over the network to the configured image host — SM.MS(S.EE) by default — so image data leaves the local machine for a third-party service.

05兼容性、维护与安全提示

  • Requires Node.js >= 20.19.0 or >= 22.12.0 because of ES Module stability requirements; older Node versions cannot run current PicGo releases.
  • Uploads are sent over the network to the configured image host — SM.MS(S.EE) by default — so image data leaves the local machine for a third-party service.
  • The README documents no DeepSeek Harness integration; PicGo is a standalone ecosystem tool, so any usage alongside DSH is limited to plain shell or Node API invocation.
2018-09-172026-08-17v3.0.1

MIT · actively maintained (latest release v3.0.1, 2026-07-12)

06常见问题

PicGo-Core 如何与 DeepSeek Harness 配合使用?

README 未记载任何 DeepSeek Harness 集成。PicGo 是独立的 npm CLI 和 Node.js 库,在代理工作流中可以像普通 shell 命令一样调用(例如 `picgo upload /xxx/xx.jpg`),无需 DSH 插件或 MCP 配置。

安装前需要什么前置条件?

Node.js >= 20.19.0 或 >= 22.12.0(PicGo <= v1.5.x 旧版本只需 Node.js >= 16)。可用 `npm install picgo -g` 全局安装,或用 `npm install picgo -D` 作为项目开发依赖。

上传的图片去了哪里?

图片会通过网络上传到当前配置的图床,默认图床是 SM.MS(S.EE)。上传器配置通过 `picgo set uploader <type>` 管理,用 `picgo use uploader` 切换。

PicGo 支持插件吗?

支持——插件通过 `picgo install / uninstall / update` 管理,社区插件可以在 Awesome-PicGo 仓库中找到。

可以作为本地服务供编辑器调用吗?

可以——`picgo server -p 36677 -h 127.0.0.1` 让 PicGo 以独立本地服务器运行,Typora 原生支持 PicGo-Core。

08数据与来源

  • 自动推断github.comd95b0cd4cba2…

    A tool for image uploading. Both CLI & api supports. It also supports plugin system, please check [Awesome-PicGo](https:…

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。