现代化的上传组件。 https://uppy.io/

Kevin van Zonneveld 49c7c7e085 Files can be objects. Container can be initialized at runtime %!s(int64=9) %!d(string=hai) anos
bin 689ecc18a3 changed test name %!s(int64=9) %!d(string=hai) anos
build 2478254510 Instagram plugin draft, core updated to pass itself to the plugin in .use() %!s(int64=9) %!d(string=hai) anos
src 667c01007e Lib restructured %!s(int64=9) %!d(string=hai) anos
test 689ecc18a3 changed test name %!s(int64=9) %!d(string=hai) anos
.babelrc a57389fdc8 Styles and babel config for the future %!s(int64=9) %!d(string=hai) anos
.editorconfig d257f8ff52 Add tests and eslint %!s(int64=9) %!d(string=hai) anos
.eslintrc a57389fdc8 Styles and babel config for the future %!s(int64=9) %!d(string=hai) anos
.gitignore f84d4841ea Ignore npm-debug.log %!s(int64=9) %!d(string=hai) anos
.travis.yml fedf870847 Refresh s3 credentials %!s(int64=9) %!d(string=hai) anos
.zuul.yml d257f8ff52 Add tests and eslint %!s(int64=9) %!d(string=hai) anos
ARCHITECTURE.md dad0da1611 Minor architecture changes %!s(int64=9) %!d(string=hai) anos
CONTRIBUTING.md eb8a772540 Added to example %!s(int64=9) %!d(string=hai) anos
LICENSE 320c8a16ef Getting a sandbox going with the worst possible layout %!s(int64=9) %!d(string=hai) anos
README.md c3a83ff870 Update README.md %!s(int64=9) %!d(string=hai) anos
bs-config.js df1648aad3 Refactored npm scripts. %!s(int64=9) %!d(string=hai) anos
classes.es6 49c7c7e085 Files can be objects. Container can be initialized at runtime %!s(int64=9) %!d(string=hai) anos
package.json df1648aad3 Refactored npm scripts. %!s(int64=9) %!d(string=hai) anos

README.md

transloadit-js-client

A work in progress - nothing to see here.

Design Goals

  • Support for IE10+??
  • Lightweight / easy on dependencies
  • tus.io enabled
  • ES6
  • Robust (retries / resumes for all the things), avoid showing 'weird errors'
  • Themable UI with a beautiful default
  • Compatible with React
  • Small core, modular plugin architecture for everything: (modal / dragdrop / themes/ webcam / google drive / dropbox / etc)
  • Offering sugared shortcuts for novice users

Check open issues for our Minimum Viable Product.

Local Development

First clone and install the project:

git clone git@github.com:transloadit/transloadit-js-client.git
cd transloadit-js-client
npm install

Now to get a sandbox environment set up, type:

npm run preview

This will npm run build the project into ./build, and then serve that directory using a simple static http server.