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

Harry Hedger d257f8ff52 Add tests and eslint 9 年之前
build d1672755e2 Add css skeletong, just for sandbox purposes. This does not decide #14 9 年之前
js 320c8a16ef Getting a sandbox going with the worst possible layout 9 年之前
scripts d257f8ff52 Add tests and eslint 9 年之前
scss 320c8a16ef Getting a sandbox going with the worst possible layout 9 年之前
src d257f8ff52 Add tests and eslint 9 年之前
test d257f8ff52 Add tests and eslint 9 年之前
.babelrc de7aa87eff Added build and watch scripts for js/css using browserify, babelify, node-sass, nodemon, watchify 9 年之前
.editorconfig d257f8ff52 Add tests and eslint 9 年之前
.eslintrc d257f8ff52 Add tests and eslint 9 年之前
.gitignore f84d4841ea Ignore npm-debug.log 9 年之前
.travis.yml 3ee781b8e9 It seem slack does not support templates yet :'( 9 年之前
.zuul.yml d257f8ff52 Add tests and eslint 9 年之前
LICENSE 320c8a16ef Getting a sandbox going with the worst possible layout 9 年之前
README.md de192e135e We no longer need a separate watch. Refs #13 9 年之前
package.json d257f8ff52 Add tests and eslint 9 年之前

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'
  • Small core, pluggable architecture for adding more file sources: (webcam / google drive / dropbox / etc)
  • Themable UI with a beautiful default. UI is opt-out if people want to use just tus for instance

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.