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

Kevin van Zonneveld da07ff5954 renamed ./examples/playground/static/css/transloadit-js-client.css to ./examples/playground/static/css/uppy.css 9 years ago
bin 2f0ddbcd38 Structure is directly under core now 9 years ago
build 7a60440d4b First swing at bundles & individual builds 9 years ago
examples da07ff5954 renamed ./examples/playground/static/css/transloadit-js-client.css to ./examples/playground/static/css/uppy.css 9 years ago
src 8c5988a55b Drag & Drop plugin: stage 1 9 years ago
test 689ecc18a3 changed test name 9 years ago
website 28c3016a4a Get a static website going. I stole this from the wonderful Vue.js. We'll obviously have to change everything to make it Uppy :dog: - but this allows us to kickstart 9 years ago
.babelrc a57389fdc8 Styles and babel config for the future 9 years ago
.editorconfig d257f8ff52 Add tests and eslint 9 years ago
.eslintrc a57389fdc8 Styles and babel config for the future 9 years ago
.gitignore 2c8930c706 Playground fixes 9 years ago
.travis.yml 6ee50f3f00 Install the artifacts into the example projects after every build 9 years ago
.zuul.yml d257f8ff52 Add tests and eslint 9 years ago
ARCHITECTURE.md 2cd713db73 Link to classes 9 years ago
CONTRIBUTING.md eb8a772540 Added to example 9 years ago
LICENSE 320c8a16ef Getting a sandbox going with the worst possible layout 9 years ago
Makefile 28c3016a4a Get a static website going. I stole this from the wonderful Vue.js. We'll obviously have to change everything to make it Uppy :dog: - but this allows us to kickstart 9 years ago
README.md 35ef253a2a Update README.md 9 years ago
bs-config.js 2c8930c706 Playground fixes 9 years ago
classes.es6 49c7c7e085 Files can be objects. Container can be initialized at runtime 9 years ago
package.json 7a60440d4b First swing at bundles & individual builds 9 years ago

README.md

transloadit-js-client

A work in progress - nothing to see here.

Design Goals

  • Support for IE10+?? (decide what our entry level IE is, it's okay to have a cut-off if that results in a more focused higher quality codebase. older browsers will need to opt for our jquery-sdk)
  • 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 (Native)
  • Should work great on mobile
  • Small core, modular plugin architecture for everything: (modal / dragdrop / themes/ webcam / google drive / dropbox / etc)
  • Offering sugared shortcuts for novice users (presets)

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.

What does Travis do?

Travis should:

  • check out code
  • build project
  • run unit tests
  • run acceptance tests
  • copy/install the built project into any examples/*/
  • deploy the examples to our hackathon S3 bucket in a folder named by branch (http://hackathon.transloadit.com/transloadit-js-client/master/index.html), so we can all play with the current state of the project & examples per branch, without installing everything locally.