Piwigo icon indicating copy to clipboard operation
Piwigo copied to clipboard

CLI for Piwigo

Open hukoeth opened this issue 9 years ago • 4 comments

It would be great if piwigo offered a script that can be used in a cronjob (i.e. CLI for Piwigo). This would e.g. be helpful for the e-mail notifications about new updates. I use Piwigo for my family only so the site is not visited very frequently.

Another use case could be to automatically sync albums and do some other administrative tasks.

hukoeth avatar Apr 06 '17 10:04 hukoeth

A bit like tools/piwigo_remote.pl ? (which is more designed to be a testing tool for Piwigo API, but it's a good start)

plegall avatar Apr 06 '17 12:04 plegall

Yes that looks indeed promising. I wasn't aware that this existed. I'll take a look at it.

hukoeth avatar Apr 06 '17 14:04 hukoeth

I was wrong when I compared it to piwigo_remote.pl. The CLI should not rely on Piwigo API (thus on remote HTTP requests). That's the whole point of the CLI: do not depend on HTTP. I agree, more and more, that Piwigo should have a CLI tool: install, update, plugin install, synchronization...

plegall avatar Jul 22 '26 20:07 plegall

Guess what? The Piwigo CLI plugin shoud be fine for your needs : https://piwigo.org/ext/index.php?eid=1113

plegall avatar Oct 09 '26 15:10 plegall