pkm.engine.cleaner LFI · PKM PML media filter

Personal Media Library · ML routing

PML media filter

Configure classifier policy, secure your private vault path, and trace how assets move from ingest through filtering. This service exposes POST /classify for path-based scoring; workers and PML hooks connect separately.

Policy
—
Vault URI
—
Activity
—

Control console

Settings and activity are stored in your browser (localStorage). The classifier runs on the server at POST /classify.

Quick actions

Reference filenames locally; nothing is uploaded to the server.

Recent activity

    No events yet.

    Categories

    Vault passwords are not persisted in localStorage. Unlock applies to this tab session only.

    Vault view: connect PML API for thumbnails. Target: —

    Enter a session password (4+ characters) to unlock.

    GCS pipeline

    Scans your PML bucket prefix, classifies images, copies NSFW objects to the private quarantine bucket, then deletes them from PML so sync removes them locally. Live events stream over /ws/live. Quarantine listing and thumbnails require X-Quarantine-Password (set QUARANTINE_VIEW_PASSWORD on the server).

    Loading config…

    Live processing

      Connect to the app — events appear here as objects are scored.

      PML bucket

      Objects under the configured prefix (images show as thumbnails).

      No objects loaded.

      NSFW quarantine

      Password is kept in this tab only (not localStorage).

      Unlock and load to browse quarantined objects.

      New photos enter from whatever you connect to PML (phone sync, desktop watch, cloud ingest). This container scores images via POST /classify; safe files stay on the public path, flagged files move to your private vault.

      Sources
      PEC
      Mobile / camera roll Sync agent, AirDrop, or app upload
      PEC
      Desktop / watch folder Filesystem or NAS path
      PEC
      Cloud inbox S3, GCS, Google Photos API, rclone remote
      ingest
      Staging
      PEC
      PML ingest queue Dedupe, EXIF, thumbnails; then classifier
      score
      Classifier
      PEC
      pkm.engine.cleaner Thresholds from settings; logs to activity; GCS scan optional
      Outputs
      PEC
      Safe path Passed images stay in main PML and public mirrors / CDN.
      • Main library path
      • Shared galleries
      PEC
      Quarantine path NSFW copies to private GCS bucket; removed from PML for sync.
      • Encrypted vault URI
      • Review before delete or export

      LFIQ-Standard Base theme (Gallery / Alpha Engine). Classifier API: POST /classify with JSON {"file_path": "/Volumes/SatoPKM/..."} when the server can read that path (host or Docker volume).