Skip to content
/ Disks Public

💾 Local and ☁️ remote/cloud file storage abstraction for 💨 Vapor 3

License

Notifications You must be signed in to change notification settings

zdnk/Disks

Repository files navigation

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)

Releases

No releases published

Packages

No packages published

Languages