Live data from Hacker News

Twake Drive – An open-source alternative to Google Drive

github.com

31–40 of 219 posts

Re: Twake Drive – An open-source alternative to Google Drive

#31
post #11

Do you really need a database for this? On a unix system, you should be able to: CRUD users, CRUD files and directories, grant permissions to files or directories Is there a decade-old software that provides a UI or an API wrapper around these features for a "Google Drive" alternative? Maybe over the SAMBA protocol?

You expose SAMBA shares outside your home network?

I do, password-protected of course. It is the only "native" way I found to get server files access to my iPhone without downloading a third party app (via Files).

Re: Twake Drive – An open-source alternative to Google Drive

#33
post #11

Do you really need a database for this? On a unix system, you should be able to: CRUD users, CRUD files and directories, grant permissions to files or directories Is there a decade-old software that provides a UI or an API wrapper around these features for a "Google Drive" alternative? Maybe over the SAMBA protocol?

An SCP or FTP client maybe?

Definity. Though SAMBA supports authentication natively. With SCP and sFTP you'll need another admin server to create users.

Re: Twake Drive – An open-source alternative to Google Drive

#34

[flagged]

Plenty of people throughout the world use Telegram. Their platform handles large groups quite well.

It doesn't make sense for an open-source group making open-source projects and strongly promoting open-source to use such a tool for group chat. There are plenty of open-source alternatives or alternatives with no such negative association.

edit: it looks even worse knowing that they have their own chat project: https://twake-chat.com that is powered by the Matrix protocol

Re: Twake Drive – An open-source alternative to Google Drive

#36
post #11

Do you really need a database for this? On a unix system, you should be able to: CRUD users, CRUD files and directories, grant permissions to files or directories Is there a decade-old software that provides a UI or an API wrapper around these features for a "Google Drive" alternative? Maybe over the SAMBA protocol?

I don't know of one- have thought this before but with python and fsspec. Having a google drive style interface that can run on local files, or any filesystem of your choice (ssh, s3 etc) would be really great.

Re: Twake Drive – An open-source alternative to Google Drive

#37
post #11

Do you really need a database for this? On a unix system, you should be able to: CRUD users, CRUD files and directories, grant permissions to files or directories Is there a decade-old software that provides a UI or an API wrapper around these features for a "Google Drive" alternative? Maybe over the SAMBA protocol?

> Do you really need a database for this?

I have no idea how this project was designed, but a) it's expectable that disk operations can and should be cached, b) syncing file shares across multiple nodes can easily involve storing metadata.

For either case, once you realize you need to persist data then you'd be hard pressed to justify not using a database.

Re: Twake Drive – An open-source alternative to Google Drive

#39
post #11

Do you really need a database for this? On a unix system, you should be able to: CRUD users, CRUD files and directories, grant permissions to files or directories Is there a decade-old software that provides a UI or an API wrapper around these features for a "Google Drive" alternative? Maybe over the SAMBA protocol?

Perhaps they are using MongoDB GridFS instead of storing files on disk.

Re: Twake Drive – An open-source alternative to Google Drive

#40
post #31

Earlier quoted context omitted.

You expose SAMBA shares outside your home network?

I do, password-protected of course. It is the only "native" way I found to get server files access to my iPhone without downloading a third party app (via Files).

I really hope you lock it down to something like Tailscale so that you have a private area network and your Samba share isn’t open to the entire world.

Samba is a complicated piece of software built around protocols from the 90s. It’s designed around the old idea of physical network security where it’s isolated on a LAN and has a long long history of serious critical security vulnerabilities (eg here’s an RCE from this month https://cybersecuritynews.com/critical-samba-rce-vulnerabili...).

Post reply on HN