Skip to content

Update picgo extension - #25314

Merged
raycastbot merged 5 commits into
raycast:mainfrom
RUBisco0211:ext/picgo
Feb 11, 2026
Merged

raycastbot merged 5 commits into
raycast:mainfrom
RUBisco0211:ext/picgo

Conversation

@RUBisco0211

@RUBisco0211 RUBisco0211 commented Feb 10, 2026 •

Copy link
Copy Markdown
Contributor

Description

  • The config you selected in command Uploader Images now will only be remember in Raycast LocalStorage once you use this config to conduct an upload.
  • Add command Manage Uploader Configs to view, edit, duplicate and delete your configurations of uploaders or create a new one within Raycast.
  • Add command Search Plugins to view and download existing PicGo plugins via NPM.
  • Add command Manage Plugins to view, update and uninstall local plugins.
  • Add preferences for upload proxy, NPM proxy, NPM path and NPM Mirror.

Screencast

Uploader Config Management

picgo-3

Config Editing

picgo-4

PicGo Plugin Search

picgo-6

PicGo Plugin Management

picgo-5

Checklist

- Merge branch \'contributions/merge-1770744049959\'
- Pull contributions
- Merge pull request raycast#2 from RUBisco0211/feat/plugin-management
- update docs
- feature: add plugin search and management commands; add extra preferences; refactor
- update picgo to use latest feature
- feature: add plugin search functionality; refactor ctx
- feature: add npm package search type definition
- feature: add uploader config management functionality
- refactor: use proper name for picgo context getter func
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: picgo Issues related to the picgo extension platform: macOS platform: Windows OP is author The OP of the PR is the author of the extension labels Feb 10, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@RUBisco0211
RUBisco0211 marked this pull request as ready for review February 11, 2026 01:59
@greptile-apps

greptile-apps Bot commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Greptile Overview

Greptile Summary

This PR significantly expands the PicGo extension by adding plugin management and uploader configuration features directly within Raycast.

Major Changes:

  • Added 3 new commands: Manage Uploader Configs, Search Plugins, and Manage Plugins
  • Added 5 new preferences for proxy configuration (upload proxy, NPM proxy, NPM path, NPM mirror)
  • Refactored uploader config storage to use Raycast LocalStorage instead of modifying PicGo's config file directly
  • Integrated NPM registry API for plugin search and installation through PicGo's plugin handler

Technical Implementation:

  • Plugin installation uses PicGo's built-in pluginHandler APIs rather than executing shell commands directly, which is secure
  • NPM search filters out potentially malicious packages (those containing picgo.net or PicGo官方 in descriptions)
  • Config management is handled through PicGo's uploaderConfig APIs with proper validation
  • Error handling improved with customizable ErrorView component
  • Form validation added for required config fields

Code Quality:

  • Clean separation of concerns with reusable components (ConfigEditForm, ErrorView)
  • Proper TypeScript typing with extended PicGo interfaces
  • Good use of React hooks (useMemo, useEffect, useState) for state management
  • CHANGELOG follows required format with {PR_MERGE_DATE} placeholder

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The implementation is well-architected with proper error handling, security considerations (using PicGo's APIs instead of shell execution), and follows Raycast extension best practices. All new features are properly tested according to the PR checklist. The code quality is high with good TypeScript typing and React patterns.
  • No files require special attention

Important Files Changed

Filename Overview
extensions/picgo/package.json Added 3 new commands (plugin-search, plugin-management, uploader-management) and 5 new preferences for proxy/NPM configuration. Dependencies updated appropriately.
extensions/picgo/src/util/context.ts Refactored to use function exports instead of static list, added plugin management hooks, and properly integrates new preferences for npm/proxy configuration.
extensions/picgo/src/upload-images.tsx Improved error handling with ErrorView component, renamed syncConfig to setActiveConfig for clarity, moved timeout logic to context.
extensions/picgo/src/uploader-management.tsx New command for managing uploader configs with create, edit, duplicate, and delete functionality. Clean implementation with proper state management.
extensions/picgo/src/plugin-management.tsx New command for managing installed plugins with update/uninstall actions. Properly uses PicGo's plugin handler APIs without executing arbitrary commands.
extensions/picgo/src/plugin-search.tsx New command for searching NPM plugins with filters to prevent malicious packages. Uses official NPM registry API safely.
extensions/picgo/src/components/ConfigEditForm.tsx New reusable form component for editing uploader configs with proper validation and dynamic field generation based on uploader type.

@0xdhrv 0xdhrv self-assigned this Feb 11, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 358a966 into raycast:main Feb 11, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

csymons pushed a commit to csymons/raycast-extensions that referenced this pull request Feb 16, 2026