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

Harry Hedger df30cbe1fb Add factory function to create new core. 9 vuotta sitten
bin d07360a207 Rename to uppy 9 vuotta sitten
build e3e1799683 Refactoring build system 9 vuotta sitten
examples e3e1799683 Refactoring build system 9 vuotta sitten
lib df30cbe1fb Add factory function to create new core. 9 vuotta sitten
src df30cbe1fb Add factory function to create new core. 9 vuotta sitten
test d07360a207 Rename to uppy 9 vuotta sitten
website 8d4e80645a :D 9 vuotta sitten
.babelrc a57389fdc8 Styles and babel config for the future 9 vuotta sitten
.editorconfig d257f8ff52 Add tests and eslint 9 vuotta sitten
.eslintrc a57389fdc8 Styles and babel config for the future 9 vuotta sitten
.gitignore df30cbe1fb Add factory function to create new core. 9 vuotta sitten
.travis.yml d07360a207 Rename to uppy 9 vuotta sitten
.zuul.yml d257f8ff52 Add tests and eslint 9 vuotta sitten
ARCHITECTURE.md d07360a207 Rename to uppy 9 vuotta sitten
CONTRIBUTING.md eb8a772540 Added to example 9 vuotta sitten
LICENSE 320c8a16ef Getting a sandbox going with the worst possible layout 9 vuotta sitten
Makefile a39f0c4f8b Document how to work on the site 9 vuotta sitten
README.md 85329315e4 Add Vue.js license 9 vuotta sitten
Transloadit.js e3e1799683 Refactoring build system 9 vuotta sitten
bs-config.js 2c8930c706 Playground fixes 9 vuotta sitten
build.js e3e1799683 Refactoring build system 9 vuotta sitten
classes.es6 49c7c7e085 Files can be objects. Container can be initialized at runtime 9 vuotta sitten
package.json e3e1799683 Refactoring build system 9 vuotta sitten
plugins.js e3e1799683 Refactoring build system 9 vuotta sitten

README.md

uppy

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.

Uppy Development

First clone and install the project:

git clone git@github.com:transloadit/uppy.git
cd uppy
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.

Website Development

We keep the uppyjs.io website in ./website for now so it's very easy to keep docs & code in sync as we're still iterating at high velocity.

This site is built with hexo. And deployed onto GitHub pages (gh-pages branch is of the uppy repo is overrwitten at every deploy. Site content is written in Markdown format located in ./website/src. Pull requests welcome!

The website is currently a clone of Yuxi Evan You's Vue.js website (view license) - just so we can hit the ground rolling in terms of setting up Haxo etc. Obviously as soon as possible, we should start rolling out our own layout & content.

For local previews on localhost:4000 type:

make website-preview

To deploy your work type

make website-deploy

FAQ

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/uppy/master/index.html), so we can all play with the current state of the project & examples per branch, without installing everything locally.