• Stars
    star
    14,568
  • Rank 1,923 (Top 0.04 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated 30 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐ŸŒŠ A flexible and fun JavaScript file upload library

FilePond

A JavaScript library that can upload anything you throw at it, optimizes images for faster uploads, and offers a great, accessible, silky smooth user experience.

License: MIT npm version npm minzipped size

FilePond adapters are available for React, Vue, Angular, Svelte, and jQuery


FilePond

Buy me a Coffee / Use FilePond with Pintura / Dev updates on Twitter


Core Features

  • Accepts directories, files, blobs, local URLs, remote URLs and Data URIs.
  • Drop files, select on filesystem, copy and paste files, or add files using the API.
  • Async uploads with AJAX, supports chunk uploads, can encode files as base64 data and send along form post.
  • Accessible, tested with AT software like VoiceOver and JAWS, navigable by Keyboard.
  • Image optimization, automatic image resizing, cropping, filtering, and fixes EXIF orientation.
  • Responsive, automatically scales to available space, is functional on both mobile and desktop devices.

Learn more about FilePond


Also need Image Editing?

Pintura the modern JavaScript Image Editor is what you're looking for. Pintura supports setting crop aspect ratios, resizing, rotating, cropping, and flipping images. Above all, it integrates beautifully with FilePond.

Learn more about Pintura


FilePond Plugins

Adapters

Backend

Quick Start

Install using npm:

npm install filepond

Then import in your project:

import * as FilePond from 'filepond';

// Create a multi file upload component
const pond = FilePond.create({
    multiple: true,
    name: 'filepond'
});

// Add it to the DOM
document.body.appendChild(pond.element);

Or get it from a CDN:

<!DOCTYPE html>
<html>
<head>
  <title>FilePond from CDN</title>

  <!-- Filepond stylesheet -->
  <link href="https://unpkg.com/filepond/dist/filepond.css" rel="stylesheet">

</head>
<body>

  <!-- We'll transform this input into a pond -->
  <input type="file" class="filepond">

  <!-- Load FilePond library -->
  <script src="https://unpkg.com/filepond/dist/filepond.js"></script>

  <!-- Turn all file input elements into ponds -->
  <script>
  FilePond.parse(document.body);
  </script>

</body>
</html>

Getting started with FilePond

Internationalization

The locale folder contains different language files, PR's are welcome, you can use locale files like this:

import pt_BR from 'filepond/locale/pt-br.js';

FilePond.setOptions(pt_BR);

Contributing

At the moment test coverage is not great, it's around 65%. To accept pull requests the tests need to be better, any help to improve them is very much appreciated.

Tests are based on Jest and can be run with npm run test

To build the library run npm run build

Publications

Browser Compatibility

FilePond is compatible with a wide range of desktop and mobile browsers, the oldest explicitly supported browser is IE11, for best cross browser support add FilePond Polyfill and Babel polyfill to your project.

FilePond uses BrowserStack for compatibility testing.

BrowserStack

License

Please don't remove or change the disclaimers in the source files

MIT License

Copyright (c) 2020 PQINA | Rik Schennink

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

vue-filepond

๐Ÿ”Œ A handy FilePond adapter component for Vue
JavaScript
1,875
star
2

react-filepond

๐Ÿ”Œ A handy FilePond adapter component for React
JavaScript
1,757
star
3

flip

โณ The online version of the classic flip clock
JavaScript
834
star
4

svelte-filepond

๐Ÿ”Œ A handy FilePond adapter component for Svelte
JavaScript
233
star
5

jquery-filepond

๐Ÿ”Œ A handy FilePond wrapper for jQuery
JavaScript
219
star
6

ngx-filepond

๐Ÿ”Œ A handy FilePond adapter component for Angular
TypeScript
192
star
7

tick

โฑ A counter component to render different countdown styles with
JavaScript
80
star
8

filepond-boilerplate-php

๐Ÿ”ฅ A FilePond PHP project starter kit
HTML
64
star
9

angular-filepond

๐Ÿ”Œ A handy FilePond adapter component for Angular
TypeScript
58
star
10

filepond-server-php

A PHP server that handles FilePond uploads
PHP
48
star
11

filepond-plugin-image-preview

๐Ÿ–ผ Show a preview for images dropped on FilePond
JavaScript
44
star
12

snaptext

Snap a picture of HTML text
JavaScript
42
star
13

filepond-plugin-file-validate-type

๐Ÿšฆ File Type Validation plugin for FilePond
JavaScript
33
star
14

filepond-plugin-image-edit

โœ‚๏ธ Link image editor to allow editing of images dropped on FilePond
JavaScript
24
star
15

filepond-plugin-image-transform

๐Ÿ–ผ Client-side image transformations for FilePond
JavaScript
19
star
16

filepond-plugin-file-validate-size

๐Ÿšฆ File Size Validation plugin for FilePond
JavaScript
17
star
17

pintura-example-javascript

HTML
14
star
18

filepond-plugin-file-encode

๐Ÿ—œ Send FilePond Files Along with Form Submit
JavaScript
13
star
19

doka-php

PHP files to handle apply FilePond and Doka formatted image resize and crop information to files
PHP
13
star
20

filepond-polyfill

๐Ÿ”จ Use FilePond on Older Browsers
JavaScript
9
star
21

filepond-plugin-file-poster

๐Ÿ–ผ Add a poster image to files
JavaScript
9
star
22

snippy

๐Ÿก Quickly create your own custom shortcodes
PHP
9
star
23

11ty-tablissimo

JavaScript
9
star
24

filepond-plugin-image-exif-orientation

๐Ÿ–ผ Extract EXIF orientation information from images dropped on FilePond
JavaScript
8
star
25

filepond-plugin-image-crop

๐Ÿ–ผ Add image crop instructions to files dropped on FilePond
JavaScript
8
star
26

filepond-plugin-image-resize

๐Ÿ–ผ Add image resize instructions to files dropped on FilePond
JavaScript
8
star
27

filepond-plugin-image-validate-size

๐Ÿšฆ Image Size Validation plugin for FilePond
JavaScript
8
star
28

hud

A visual way to debug 2D data
JavaScript
6
star
29

filepond-plugin-file-rename

๐Ÿท File rename plugin for FilePond
JavaScript
6
star
30

tick-view-boom

A freely available audio plugin for Tick Counter
JavaScript
6
star
31

filepond-plugin-image-filter

๐Ÿ–ผ Add a Color Matrix filter to images
JavaScript
5
star
32

pintura-example-react

JavaScript
5
star
33

filepond-plugin-file-metadata

๐Ÿท File metadata plugin for FilePond
JavaScript
5
star
34

pintura-example-nextjs

JavaScript
4
star
35

pintura-example-jquery

HTML
4
star
36

pintura-example-vue-3

Vue
3
star
37

pintura-media-kit

Pintura media for third-parties
3
star
38

tablissimo

JavaScript
3
star
39

pintura-example-react-typescript

TypeScript
3
star
40

pintura-example-react-native-expo

JavaScript
2
star
41

pintura-example-cordova

JavaScript
2
star
42

pintura-example-photo-editor

HTML
2
star
43

pintura-example-react-native

Java
2
star
44

pintura-component-react-native-expo

HTML
1
star
45

filepond-plugin-image-editor

TypeScript
1
star
46

pintura-example-feature-retouch

JavaScript
1
star
47

pintura-example-vue-2

Vue
1
star
48

pintura-example-sveltekit

Svelte
1
star
49

filepond-github-assets

Assets used on FilePond GitHub repository
1
star
50

pintura-example-jquery-file-upload

HTML
1
star
51

pintura-component-react-native

HTML
1
star