•  » Extensions
  •  » Official / recommended Piwigo apps for accessing the gallery

#1 2025-12-08 20:35:19

Schneider-Fotografie
Extension maintainer
Berlin
2023-04-16
160

Official / recommended Piwigo apps for accessing the gallery

Hi everyone,

I’m the developer of the BYB | Bot Protection plugin for Piwigo and I’d like to make sure that official Piwigo apps and clients are correctly detected and not accidentally blocked as bots.

Piwigo NG (user agent e.g. Dart/3.9 (dart:io)) is already handled in the new version of BYB | Bot Protection and is no longer blocked or slowed down by the protection mechanisms (no-referrer / cookie check / flood protection).

My questions:
- Which official or Piwigo-recommended apps currently exist
- that connect directly to a self-hosted Piwigo gallery (not only piwigo.com),
- and, if known, what are their User-Agents or typical access paths (e.g. ws.php, specific upload              endpoints)?

The goal is to build a proper whitelist / special handling in BYB | Bot Protection so that uploads, syncs and logins from these official clients always work smoothly without weakening the bot protection itself.

Thanks a lot for any hints and examples!
Olaf - BYB | Block You Bots - Bot Protection


-Schneider-Photography- Gallery
----------------------------------
BYB | Block You Bots
„Stay human. I block the rest.“

Offline

 

#2 2025-12-08 21:02:09

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14094

Re: Official / recommended Piwigo apps for accessing the gallery

Recently implemented in [Github] Piwigo commit 545cad35 to get statistics about 3rd party apps connecting to Piwigo

Code:

  $apps_pattern = array(
    'Piwigo iOS' => '/^Piwigo\/\d+ CFNetwork/',
    'Piwigo NG' => '/^Dart\/[\d\.]+ \(dart:io\)$/',
    'Piwigo Android' => '/^Piwigo-Android/',
    'Lightroom' => '/Lightroom/',
    'Piwigo Remote Sync' => '/(PiwigoRemoteSync|Apache-HttpClient)/',
    'darktable' => '/darktable/',
    'Piwigo Client' => '/PiwigoClient/',
    'Aperture' => '/ApertureToPiwigoPlugIn/',
    'MacShare' => '/MacShareToPiwigo/',
    'WordPress' => '/WordPress/',
    'pLoader' => '/pLoader/',
  );

Offline

 

#3 2025-12-08 22:02:04

Schneider-Fotografie
Extension maintainer
Berlin
2023-04-16
160

Re: Official / recommended Piwigo apps for accessing the gallery

plg wrote:

Recently implemented in [Github] Piwigo commit 545cad35 to get statistics about 3rd party apps connecting to Piwigo

Code:

  $apps_pattern = array(
    'Piwigo iOS' => '/^Piwigo\/\d+ CFNetwork/',
    'Piwigo NG' => '/^Dart\/[\d\.]+ \(dart:io\)$/',
    'Piwigo Android' => '/^Piwigo-Android/',
    'Lightroom' => '/Lightroom/',
    'Piwigo Remote Sync' => '/(PiwigoRemoteSync|Apache-HttpClient)/',
    'darktable' => '/darktable/',
    'Piwigo Client' => '/PiwigoClient/',
    'Aperture' => '/ApertureToPiwigoPlugIn/',
    'MacShare' => '/MacShareToPiwigo/',
    'WordPress' => '/WordPress/',
    'pLoader' => '/pLoader/',
  );

Thanks for your help plg!

Olaf


-Schneider-Photography- Gallery
----------------------------------
BYB | Block You Bots
„Stay human. I block the rest.“

Offline

 
  •  » Extensions
  •  » Official / recommended Piwigo apps for accessing the gallery

Board footer

Powered by FluxBB