No description
Find a file
2017-09-14 12:01:19 -04:00
assets .. 2017-07-21 16:10:39 +02:00
bin website: Use minified bundle for disc 2017-09-11 11:02:19 +02:00
examples add closeModalOnClickOutside in example 2017-08-31 14:10:56 +03:00
src add aria-hidden to all icons for accessibility, remove console.log 2017-09-14 12:01:19 -04:00
test Add jest tests 2017-09-08 17:18:58 +01:00
website docs for openModal, closeModal, isModalOpen 2017-09-11 14:10:01 -04:00
.babelrc build: Use babel-preset-es2015 with options. 2017-04-05 11:42:36 +02:00
.browsersync.js Decide on single-noun terminology 2016-02-17 11:09:08 +01:00
.editorconfig Add tests and eslint 2015-11-17 12:26:49 -05:00
.eslintignore inline file-type module, as opposed to using the NPM version 2017-06-14 16:59:56 -04:00
.eslintrc Add jest tests 2017-09-08 17:18:58 +01:00
.gitignore Add jest tests 2017-09-08 17:18:58 +01:00
.travis.yml Bump node version to 6.11.3 for Travis builds 2017-09-08 11:49:33 -04:00
ARCHITECTURE.md Update ARCHITECTURE.md 2016-10-29 15:33:38 -04:00
CHANGELOG.md changelog 2017-09-11 14:24:29 -04:00
CONTRIBUTING.md CONTRIBUTING.MD: fixed guide link 2015-12-20 23:16:06 -05:00
env.example.sh Marrying travis & sauce (#88) 2016-05-07 10:56:30 +02:00
LICENSE Getting a sandbox going with the worst possible layout 2015-11-17 15:11:00 +01:00
Makefile fix npm install command 2016-12-07 08:15:30 +01:00
package-lock.json deps: Update tus-js-client 2017-09-11 14:21:00 +02:00
package.json Merge pull request #334 from goto-bus-stop/chore/update-tus 2017-09-11 15:49:51 +02:00
README.md readme: Fix references to Multipart plugin + add S3 doc url 2017-08-28 15:44:05 +02:00
SERVER-PLAN.md Update SERVER-PLAN.md 2016-04-18 17:04:52 +02:00
UPPY-CALL.md Agenda 2016-06-13 16:51:17 +02:00
uppy-screenshot.jpg update screenshot again 2016-11-25 17:36:41 -06:00

Uppy

Uppy logo — a superman puppy in a pink suit

Build Status

Uppy is a sleek, modular file uploader that integrates seemlessly with any framework. It fetches files from local disk, Google Drive, Dropbox, Instagram, remote URLs, cameras and other exciting locations, and then uploads them to the final destination. Its fast, easy to use and let's you worry about more important problems than building a file uploader. Try it live.

Uppy is developed by the Transloadit team.

Check out docs and examples on uppy.io.

Uppy UI Demo: modal dialog with a few selected files and an upload button

Features

  • Lightweight, modular plugin-based architecture, easy on dependencies
  • Use from a CDN or as a module to import
  • Resumable file uploads via the open tus standard
  • Supports picking files from: Webcam, Dropbox, Google Drive, Instagram, bypassing the users device where possible, syncing between servers directly via uppy-server
  • A sleek user interface
  • Speaks multiple languages (i18n) 🌍
  • Built with accessibility in mind
  • Free for the world, forever (as in beer 🍺, pizza 🍕, and liberty 🗽)
  • Works great with file encoding and processing backends, such as Transloadit, works great without (just roll your own Apache/Nginx/Node/etc backend)
  • Cute as a puppy, also accepts cat pictures 🐶

Installation

$ npm install uppy

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

Add CSS uppy.min.css, either to <head> of your HTML page or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.

If you like, you can also use a pre-built bundle, for example from unpkg CDN. In that case Uppy will attach itself to the global window.Uppy object.

⚠️ The bundle currently consists of most Uppy plugins, so this method is not recommended for production, as your users will have to download all plugins, even if you are using just a few.

1. Add a script to the bottom of <body>:

<script src="https://unpkg.com/uppy/dist/uppy.min.js"></script>

2. Add CSS to <head>:

<link href="https://unpkg.com/uppy/dist/uppy.min.css" rel="stylesheet">

3. Initialize:

<script>
  var uppy = Uppy.Core()
  uppy.use(Uppy.DragDrop, {target: '.UppyDragDrop'})
  uppy.use(Uppy.Tus10, {endpoint: '//master.tus.io/files/'})
  uppy.run()
</script>

Documentation

  • Uppy — full list of options, methods and events.
  • Plugins — list of Uppy plugins and their options.
  • Server — setting up and running an Uppy Server instance, which adds support for Instagram, Dropbox, Google Drive and other remote sources.
  • Architecture & Making a Plugin — how to write a plugin for Uppy [documentation in progress].

Browser Support

Sauce Test Status

Note: we aim to support IE10+ and recent versions of Safari, Edge, Chrome, Firefox and Opera. IE6 on the chart above means we recommend setting Uppy to target a <form> element, so when Uppy has not yet loaded or is not supported, upload still works. Even on the refrigerator browser. Or, yes, IE6.

FAQ

React support?

Yep. Uppy-React component is in the works, in the meantime you can just use it as any other lib with React, see here.

Can I use it with Rails/Node/Go/PHP?

Yes, whatever you want on the backend will work with XHRUpload plugin, since it just does a POST or PUT request. If you want resumability, use one of tus implementations 👌🏼

Do I need to install special service/server for it?

No, as mentioned previously, XHRUpload plugin is old-school and just works with everything. However, you need uppy-server if youd like your users to be able to pick files from Google Drive or Dropbox (more services coming). And you can add tus if you want resumability.

Does Uppy support S3 uploads?

Yes, since 0.18, there is an S3 plugin. Check out the docs for more information.

Contributions are welcome

License

The MIT License.