💾 Local and ☁️ remote/cloud filesystems abstraction for 💨 Vapor 3
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Sources/VaporFilesystem Shuffle parameters in LocalAdapter.init Oct 18, 2018
Tests
.gitignore
LICENSE
Package.resolved
Package.swift
README.md

README.md

Filesystem

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 filesystems 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)