Coder Social home page Coder Social logo

piwigo-actions's Introduction

piwigo-actions

Version 0.1

Execute actions on your Piwigo site from the command line.

Supported Actions

  • Login
    • piwigo.login.sh <piwigo-base-url> <username> <password> <cookie-file-path>
  • Logout
    • piwigo.logout.sh <piwigo-base-url> <cookie-file-path>
  • Synchronize - Performs Tools > Synchronize in the admin section of your Piwigo site. This requires having already uploaded files to the galleries directory on your piwigo server. See the How To Add Pictures ... by FTP documentation, or navigate to Photos > Add > FTP + Synchronization on your piwigo site for more documentation.
    • piwigo.sync.sh <piwigo-base-url> <cookie-file-path> [<site-id=1>] [<simulate=0>]

Paramter Notes

  • piwigo-base-url: the web address of your piwigo site with leading 'https://'.
  • site-id: the ID for your site. This will default to 1, which is typical for a single piwigo site on a server. You can find this by using the F12 tools in your browser to inspect a Synchornization request.
  • simulate: Set to 1 with synchronization action to only simulate the synchronization and not actually perform it. The default is to synchronize.

Future Actions

  • Generate missing checksums: These are generally missing after synchronization. Ideally piwigo would just do this on synchronization, but for now a script will need to handle this.

Dependencies

Related Projects

piwigo-actions's People

Contributors

rcmosher avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.