Go to file
Zdeněk Topič bdf49815df Update issue templates 2018-10-23 20:14:55 +02:00
.github/ISSUE_TEMPLATE Update issue templates 2018-10-23 20:14:55 +02:00
Sources/Disks Separate adapter protocols to individual files 2018-10-23 20:07:18 +02:00
Tests Separate adapter protocols to individual files 2018-10-23 20:07:18 +02:00
.gitignore Introduce FileOptions 2018-10-11 20:51:51 +02:00
LICENSE Fix licensing subject 2018-10-11 23:40:07 +02:00
Package.resolved Update dependencies 2018-10-22 21:42:44 +02:00
Package.swift make Storage typealias 2018-10-23 17:56:48 +02:00
README.md Update README.md 2018-10-23 11:54:01 +02:00

README.md

Disks

File storage abstraction layer for Vapor 3. Simple interface to interact and manipulate with files without caring about tha backing storage - local or cloud. For tests, you can simply use local filesystem and for staging or production AWS S3 with different buckets. In both cases, you will leverage the same API and chaging the location is only a matter of configuration.

Features

  • Pluggable adapters anyone can develop
  • Generic API for handling common file operations
  • Local filesystem integration
  • Cloud services integrations (AWS S3)
  • Mutiple file storage systems in single application, mixed adapters
  • Non-blocking
  • Link generation
  • Vapor 3 compatible
  • Works as Vapor caching driver
  • Streams support for big files
  • 100% test coverage

Adapters

Core

  • Local filesystem
  • Null

Officially supported

  • AWS S3 (coming soon)

Community supported

Create PR and add yours!

License

The MIT License (MIT)