mickael-kerjean / filestash

🦄 A file manager / web client for SFTP, S3, FTP, WebDAV, Git, Minio, LDAP, CalDAV, CardDAV, Mysql, Backblaze, ...
https://www.filestash.app/
GNU Affero General Public License v3.0
10.1k stars 738 forks source link
ftp ftps git ldap nfs s3 sftp smb webdav

Annoucement: Filestash is now my full time job and I'm building in public
https://www.youtube.com/watch?v=6G60_My7Tgs

screenshot

A Dropbox-like file manager that let you manage your data anywhere it is located:
FTP • FTPS • SFTPWebDAV • Git • S3 • NFS • Samba • Artifactory • LDAP • Mysql
Storj • CardDAV • CalDAV • Backblaze B2 • Minio
Dropbox • Google Drive

demo button

Features

Documentation

Screenshots

user experience on navigation

user experience on medias

The core idea

Filestash started as an attempt to solve the Dropbox problem by abstracting the storage aspect so you can "bring your own backend" by implementing this interface:

type IBackend interface {
    Init(params map[string]string, app *App) (IBackend, error) // constructor
    Ls(path string) ([]os.FileInfo, error)           // list files in a folder
    Cat(path string) (io.ReadCloser, error)          // download a file
    Mkdir(path string) error                         // create a folder
    Rm(path string) error                            // remove something
    Mv(from string, to string) error                 // rename something
    Save(path string, file io.Reader) error          // save a file
    Touch(path string) error                         // create a file
    LoginForm() Form                                 // dynamic form generation for the login
}

It has evolved with plugins which are the lego bricks you can assemble together to form a solution that works for you. You can bring your own identity provider, your own authorisation, your own search and more. If there's something you want, plugin will likely make it possible.

Some outside the box example of this "filesystem as a framework" ideas we've done for the sake of science:

Support

Credits