import type { PlimiPlugin } from "../../core/plugins/plugin-types";
import { runExifScrubber } from "./run";

export const exifScrubberPlugin: PlimiPlugin = {
  manifest: {
    id: "exif-scrubber",
    name: "EXIF Scrubber",
    description: "Instantly strip all GPS coordinates, camera logs, and timestamps from your photos locally.",
    category: "privacy",
    version: "1.0.0",
    tags: ["privacy", "metadata", "exif", "gps", "strip", "clear", "photo"],
    input: {
      type: "files",
      accept: ["image/jpeg", "image/png", "image/webp"],
      multiple: true,
    },
    output: { type: "files" },
    offlineReady: true,
  },

  capabilities: {
    cancelable: true,
    worker: false,
  },

  run: runExifScrubber,
};
