0.0.21 • Published 1 year ago

progress-up v0.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Progress.up HTML5 File Upload Progress indicator

Progess.up

What is this?

This is a HTML5 multiple files Upload plugin with progress bar indicator.

This uses the HTTP File API protocol to show continuous progress.

This is the very first attempt to create a clean no frills upload plugin in 100% Javascript. Now available for Angular, Vue and React.

Canonical home page

Demos will be added soon to the above page :point_up: .

Instructions

Plain js

	$ npm add progress-up

Angular 13+

	$ npm add progress-up/angular

Vue 3

	$ npm add progress-up/vue

React.js

	$ npm add progress-up/react

Detailed instructions

Screenshots gallery

This is before upload

Progess-up start upload

This is after uploading

Progess-up finish upload

Why should you care?

If you allow multiple large files upload then a progress indicator is a cool way to give user feedback.

Nowadays HTML5 File API based progress is the best way to achieve your goal.

This project was written ground up with latest technology as of Oct 22, 2022.

However the status of project is Beta.

Most testing is needed. If you volunteer please get in touch.

How to build and run as plain js

Instructions or frameworks coming soon

$ git clone https://github.com/girish1729/progress.up
$ cd progress.up/html5-upload
$ yarn install

# or

$ npm install

$ mkdir uploads

$ npm start

Go to http://localhost:2324

and try uploading files.

You may use manual upload.

Drag and drop into the shaded area is not implemented yet.

The uploaded files are present in html5-upload/uploads folder.

Backend

This backend is Node.js HTTP server express.js with multer middleware

This ensures that this code is platform agnostic. Most issues with file upload plugins extant today hover around not specifying backend correctly. Not making it easy to use. Not explaining what should be the input file name attribute etc.

We require a backend that accepts multipart/form-data as upload protocol.

Also the name of the <input type='file attribute should myFiles.

Frontend - the plugin itself

It is using the HTML5 File API.

This is a clean way to get progress indicator for file uploads.

Screencast of upload

Progess.up screencast

Next steps

Plugins for

are on the way.

  • Adding drag and drop and image preview.

  • Options for the plugin (theming, backend endpoint)

If you wish to collaborate or send pull requests please get in touch using my Github profile.

If you cannot write code, then buying me a coffee can work as well.

Contact

You can DM me on Twitter for help/suggestions.

You can follow me for updates.

Tweet this to followers

Buy me a coffee to accelerate development

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago