gphoto2-web.cr alternatives and similar shards
Based on the "Misc" category.
Alternatively, view gphoto2-web.cr alternatives based on common mentions on social networks and blogs.
-
sentry
Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes -
burocracia.cr
๐ Zero-dependency Crystal shard to validate, generate and format Brazilian burocracias (CPF, CNPJ, CEP) -
wikicr
Wiki in crystal, using Markdown and Git, inspired by dokuwiki. Last features to build are pretty hard, if you have some time to help... :) -
defined
This shard provides facilities for checking whether a constant exists at compile time, and for a variety of different conditional compilation options. Code can be conditionally compiled based on the existence of a constant, version number constraints, or whether an environment variable is set truthy or not.
CodeRabbit: AI Code Reviews for Developers
Do you think we are missing an alternative of gphoto2-web.cr or a related project?
README
gphoto2-web.cr
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.
Installation
- After cloning the repo you need to call
shards install
in order to obtain needed dependencies - Next, execute
shards build
(possibly with--production
flag) to build the binary - You're ready to go! It's as easy as running
./bin/server
and checking the http://localhost:3000/cameras for list of detected cameras - Passing
SENTRY_DSN
env var while builing/running will provide you with error reporting
Usage
Available endpoints
/cameras
GET /cameras
POST /cameras/reload
/cameras/:id
GET /cameras/:id
GET /cameras/:id/capture[?delete=true]
GET /cameras/:id/preview
POST /cameras/:id/exit
/cameras/:id/config
GET /cameras/:id/config[?flat=true]
PATCH /cameras/:id/config
/cameras/:id/config/:widget
GET /cameras/:id/config/:widget
PATCH /cameras/:id/config/:widget
/cameras/:id/fs
GET /cameras/:id/fs
GET /cameras/:id/fs/*path
DELETE /cameras/:id/fs/*path
/cameras/:id/blob
GET /cameras/:id/blob/*filepath
DELETE /cameras/:id/blob/*filepath
/cameras/:id/zip
GET /cameras/:id/zip
GET /cameras/:id/zip/*path
Development
- Pass
DEBUG=1
inshards build
step to compile-in the debug support. Afterwards you can use it by passingDEBUG=1
env variable when running the server (DEBUG=1 ./bin/server
)
Contributing
- Fork it (https://github.com/Sija/gphoto2-web.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Sija Sijawusz Pur Rahnama - creator, maintainer
*Note that all licence references and agreements mentioned in the gphoto2-web.cr README section above
are relevant to that project's source code only.