Giter Site home page Giter Site logo

html5-resume's Introduction

html5-resume

基于HTML5 File API和node.js实现的断点续传——文件上传,以及秒传功能

主要使用 HTML5 File API 的 Blob 对象的slice方法对文件进行分块,然后进行上传操作 秒传功能,主要是前端通过 spark-md5.js 获取文件的MD5,然后发送给服务端,服务端进行判断MD5值是否存在

后端用node.js实现文件块的合并、重名、存储等操作,以及文件MD5值的存储和判断

本项目主要是体现下文件断点续传以及秒传功能的大概实现思路,代码还比较粗糙,后面将继续改进

$ npm install
$ npm run dev

浏览器输入:localhost:8080

html5-resume's People

Contributors

peterlhx avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

pppoooii

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.