gphoto2-web CI License

REST web API for the libgphoto2 library. You can use it to take pictures, previews (handy for implementing poor man's liveview feature), control/obtain various camera settings, and access connected camera's filesystem - all via JSON-based requests.

Goals

Non-Goals

Features

🐻 Necessities

🦊 Creature Comforts

[^1]: Works only with supported cameras [^2]: JPEG, WEBP, AVIF, PNG

Setup

[!TIP] Passing SENTRY_DSN env var while building/running will provide you with error reporting

Usage

Available endpoints

/cameras

/cameras/:id

/cameras/:id/config

/cameras/:id/config/:widget

/cameras/:id/fs

/cameras/:id/blob

/cameras/:id/zip

Development

[!TIP] You can use a smartphone for basic development and testing.

Contributing

  1. Fork it (https://github.com/Sija/gphoto2-web/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors