ai-toolkit icon indicating copy to clipboard operation
ai-toolkit copied to clipboard

Add support for remote dataset source plugins

Open lindkvis opened this issue 5 months ago • 0 comments

Introduce a plugin system that lets remote 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. There is a second PR coming that offers a PixlStash plugin (https://pixlstash.dev) but it should be possible to create other plugins (i.e. Immich).

lindkvis avatar Jun 05 '26 19:06 lindkvis