-
-
Notifications
You must be signed in to change notification settings - Fork 169
Home
dr.dimitru edited this page Jul 2, 2016
·
36 revisions
This package is the GCAA Winner 2016. Big thanks to Benjamin Willems and Ryan Glover (The Chef) and all The Meteor Chef team! |
- Event-driven API
- Upload / Read files in Cordova app: Cordva support (Any with support of
FileReader
) - Upload via HTTP or DDP
- File upload:
- Ready for small and large files (RAM used only for chunk reading - read about
chunkSize
) - Pause / Resume upload
- Auto-pause when connection to server is interrupted
- Multi-stream async upload (faster than ever)
- Ready for small and large files (RAM used only for chunk reading - read about
- Use third-party storage:
- Display upload speed
- Display remaining upload time
- Serving files
- Make files
public
, so your proxy server like nginx can serve them - Protect/Restrict access to files
- Files CRC check (integrity check)
- Make files
- Write to file system (FS)
- Automatically writes files on FS and special Collection
-
path
, collection name, schema, chunk size and naming function is under your control - Support for file subversions, like thumbnails, audio/video file formats, revisions, and etc.
- Streaming via HTTP
- Correct
mime-type
andContent-Range
headers - Correct
206
and416
responses - Following RFC 2616
- Correct
- Download via HTTP
- You able to specify
route
- Download is ready for small and large files, with support of progressive (
chunked
) download
- You able to specify
- Store wherever you like
- Support of non-latin (non-Roman) file names
- Subscribe on files (collections) you need
-
FilesCollection
Constructor [Isomorphic] - Initialize FilesCollection - Default Collection Schema
-
write()
[Server] - WriteBuffer
to FS and FilesCollection -
load()
[Server] - Write file to FS and FilesCollection from remote URL -
addFile()
[Server] - Add local file to FilesCollection from FS -
findOne()
[Isomorphic] - Find one file in FilesCollection -
find()
[Isomorphic] - Create cursor for FilesCollection -
insert()
[Client] - Upload file to server -
remove()
[Isomorphic] - Remove files from FilesCollection and unlink from FS -
unlink()
[Server] - Unlink file from FS -
link()
[Isomorphic] - Generate downloadable link -
collection
[Isomorphic] -Meteor.Collection
instance -
Template helper
fileURL
[Client] - Generate downloadable link in template
- Third-party storage (AWS S3 & DropBox)
- Resize, create thumbnail for uploaded image
- File subversions - Create video file with preview and multiple formats
- MongoDB with Replica Set & OpLog setup - Find out how to speed-up reactivity in you Meteor application
Meteor-Files | Support | Try ostr.io |
---|---|---|
If you found this package useful, — star it at GitHub and support our open source contributions with a monthly pledge, or submit a one-time donation via PayPal | Monitoring, Analytics, WebSec, Web-CRON and Pre-rendering for a website |