Comment

Comment by mickael-kerjean

Filestash [1] was born from the infamous top comment of the Dropbox launch [2] as it got me wondered if we could make a Dropbox like UI that is based on this interface:

  type IBackend interface {
    Ls(path string) ([]os.FileInfo, error)
    Cat(path string) (io.ReadCloser, error)
    Mkdir(path string) error
    Rm(path string) error
    Mv(from string, to string) error
    Save(path string, file io.Reader) error
    Touch(path string) error
  }
Once I had it working with FTP, I made it work for every possible file transfer protocol: S3, SFTP, NFS, SMB, WebDAV, Dropbox, Google Drive, ..... As of today it is closer to a full time mac donald employee than 500$ per month with revenue coming from making customisation via plugins for people who need some extras like layering your SAML or OIDC authentication on top of a FTP server or any other storage, custom access / authorisation layer on top your FTP, etc...

[1] https://github.com/mickael-kerjean/filestash [2] https://news.ycombinator.com/item?id=8863

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton