Uploadsigner

Crystal shard to provide API for generating pre-signed URLs for file uploads to cloud storage. This shard was created to provide direct to cloud uploads using browser functionality to PlaceOS, but is designed to be generic and can be used with any library and/or application.

Currently supports Amazon S3 and Azure Storage (Blob)

Benefits of moving file uploads functionality near to end user are:

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      upload-signer:
        github: spider-gazelle/upload-signer
  2. Run shards install

Usage

require "upload-signer"

Development

crystal spec

Contributing

  1. Fork it (https://github.com/spider-gazelle/upload-signer/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