Git Product home page Git Product logo

uppy's Introduction

Uppy

Uppy logo — a puppy superman

Build Status

Uppy is (going to be) a cool JavaScript file uploader that fetches files for you from local disk, Google Drive, Dropbox, Instagram, remote URLs, cameras and other exciting locations, and then uploads them to wherever you want. Uppy is being developed by the Transloadit team because we want file uploading experience to be better — both for users and developers.

Check out uppy.io for docs, API, examples and stats.

Features

  • Lightweight / easy on dependencies
  • Usable as a bundle straight from a CDN as well as a module to import
  • Resumable file uploads via the open tus standard
  • Uppy speaks multiple languages (i18n support)
  • Works great with file encoding and processing backends, such as Transloadit
  • Small core, modular plugin-based architecture.
  • Cute as a puppy 🐶, also accepts cat pictures

Demo

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

Usage

⚠️ Don’t use Uppy in production just yet, we’re working on it

It’s easy to start using Uppy, we recommend installing from npm with npm install uppy and then:

import * as Uppy from 'uppy'

const uppy = new Uppy.Core({wait: false})
const files = uppy
  .use(Uppy.plugins.DragDrop, {target: '#upload-target'})
  .use(Uppy.plugins.Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
  .run()

But if you like, you can also use a pre-built bundle, in that case Uppy will attach itself to the global window object:

<script src="uppy.min.js"></script>
<script>
var uppy = new Uppy.Core({locales: Uppy.locales.ru_RU, debug: true})
  uppy.use(Uppy.plugins.DragDrop, {target: '.UppyDragDrop'})
  uppy.use(Uppy.plugins.Tus10, {endpoint: 'http://master.tus.io:3020/files/'})
  uppy.run()
</script>

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.

Contributions are welcome

License

The MIT License.

uppy's People

Contributors

ajvanloon avatar arturi avatar gjungb avatar hedgerh avatar kvz avatar radarhere avatar zhuangya avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.