Skip to content

Add a PixlStash Remote plugin#864

Open
lindkvis wants to merge 2 commits into
ostris:mainfrom
Pikselkroken:pixlstash-plugin
Open

Add a PixlStash Remote plugin#864
lindkvis wants to merge 2 commits into
ostris:mainfrom
Pikselkroken:pixlstash-plugin

Conversation

@lindkvis

@lindkvis lindkvis commented Jun 5, 2026

Copy link
Copy Markdown

It should be possible for someone to add any other image source plugin.

lindkvis added 2 commits June 5, 2026 17:49
Introduce a plugin system that lets datasets be browsed and imported from
external services directly in the UI.

- toolkit/dataset_sources/: base class, registry, and a CLI bridge that the
  Next.js API routes call to list plugins, browse items, fetch thumbnails,
  and build import job configs. Plugins live in extensions/ and self-register
  from their __init__.py, so they are only loaded on demand.
- ui: a RemoteSourceBrowseModal plus /api/datasets/remote/* routes for
  listing plugins, browsing, thumbnails, and importing, with the settings
  page driven by each plugin's settings_schema.

The framework is plugin-agnostic; no plugin is bundled here.
A reference plugin for the remote dataset source framework that browses and
imports training images from a PixlStash server.

- Browse characters and picture sets, import selected groups as a dataset.
- Captions are built from each picture's natural-language description and WD14
  tags, read per-picture from GET /pictures/{id}/metadata (the listing
  endpoints only return scalar grid fields).
- Supports SSL and configurable API paths.

Also un-ignores extensions/pixlstash in .gitignore so the plugin is tracked.
@lindkvis lindkvis changed the title Pixlstash plugin Add a PixlStash Remove plugin Jun 5, 2026
@lindkvis lindkvis changed the title Add a PixlStash Remove plugin Add a PixlStash Remote plugin Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant