Comment by mickael-kerjean
2 years ago
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
how long did it take you until this point ?
I prefer not to calculate but in the range of 20 to 40h a week from 2017 but a big part of that time doesn't go in creating code but talking with people, supporting them, write stuff, improving other bits and bolt.