Skip to content
Rails ActiveStorage DirectUploads engine for Uppy
JavaScript
Branch: master
Clone or download
Latest commit b3bd455 Oct 22, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
types Initial commit. Sep 28, 2018
LICENSE
README.md
package.json Tweaks before publishing package. Oct 9, 2018

README.md

uppy-activestorage-upload

Uppy logo: a superman puppy in a pink suit

The ActiveStorage Upload plugin handles Ruby on Rails ActiveStorage direct uploads with Uppy.

Example

const Uppy = require('@uppy/core')
const ActiveStorageUpload = require('uppy-activestorage-upload')

const uppy = Uppy()
uppy.use(ActiveStorageUpload, {
  directUploadUrl: ... // Rails' active storage direct upload path obtained i.e. via `Rails.app.routes.url_helpers.rails_direct_uploads_path`
})

Installation

$ npm install uppy-activestorage-upload --save

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

License

The MIT License.

You can’t perform that action at this time.