CLI for Piwigo #595

Closed
opened 2026-10-05 00:06:29 +02:00 by adam · 4 comments
Owner

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.

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. <!-- github-sync-id:219852801 -->
Author
Owner

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)

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) <!-- github-comment-id:292154958 -->
Author
Owner

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

Yes that looks indeed promising. I wasn't aware that this existed. I'll take a look at it. <!-- github-comment-id:292200617 -->
Author
Owner

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...

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... <!-- github-comment-id:5050881065 -->
adam closed this issue 2026-10-27 11:06:11 +01:00
Author
Owner

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

Guess what? The Piwigo CLI plugin shoud be fine for your needs : https://piwigo.org/ext/index.php?eid=1113 <!-- github-comment-id:6083669028 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#595