Live data from Hacker News

Twake Drive – An open-source alternative to Google Drive

github.com

51–60 of 219 posts

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

#51
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?

How would you implement things like version history or shareable URLs to files without a database? Another issue would be permissions: if I wanted to restrict access to a file to a subset of users, I’d have to make a group for that subset. Linux supports a maximum of 65536 groups, which could quickly be exhausted for a nontrivial number of users.

Backup files the way Emacs, Vim,... do it: Consistent scheme for naming the copies. As for sharable URLs, they could be links.

The file system is already a database.

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

#52
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?

Take a look at "cockpit", because if there were, that's where it "should" be.

https://cockpit-project.org/applications

--

    With no command line use needed, you can:

    Navigate the entire filesystem,
    Create, delete, and rename files,
    Edit file contents,
    Edit file ownership and permissions,
    Create symbolic links to files and directories,
    Reorganize files through cut, copy, and paste,
    Upload files by dragging and dropping,
    Download files and directories.

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

#53
post #30

Earlier quoted context omitted.

Can you name a single Google Drive clone that doesn’t use a database? Would love to see your source code for your take on this product.

The Synology Drive version mirrors the filesystem, though I’m sure it has a database for sharing metadata. Is that what they mean?

Nextcloud too.

There is a database in most if not all useful cases, but there could also be the actual files separately.

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

#54
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).

Search for wannacry. You may rethink your setup.

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

#55

Earlier quoted context omitted.

How would you implement things like version history or shareable URLs to files without a database? Another issue would be permissions: if I wanted to restrict access to a file to a subset of users, I’d have to make a group for that subset. Linux supports a maximum of 65536 groups, which could quickly be exhausted for a nontrivial number of users.

Encode paths by algorithm/encryption?

This wouldn’t be robust to moving/renaming files. It also would preclude features like having an expiration date for the URL.

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

#56

Earlier quoted context omitted.

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

[flagged]

In European nations who aren't English-first-language it's quite widespread around university students and people that outgrown Whatsapp, it isn't very much different than using a Discord groupchat (and you lose less important stuff in Telegram). Admittedly a bit is for network effect around "grindset" jocks but it isn't very much different than using discord or Meta messenger or Slack, just a freemium SaaS that the project doesn't support firsthand so if "our server" is down, "theirs" maybe is not. I say they are all the same although Telegram's insecurity is proven, they still are the same overall for a FOSS project.

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

#57

As others have asked, how does it compare with nextCloud ownCloud? And does it have native clients for the usual suspects? Windows/Mac/Mobile...

I desperately want to be a fan of ownCloud, because it offers clients natively across Mac/Linux/mobile, but it’s such a mess. Every platform has small bugs and reliability problems that makes the whole thing useless.

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

#58
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 think you should figure out how to quit while you're ahead. I wouldn't expose Samba to most of the devices on my LAN, never mind the internet.

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

#59

USB sticks, the alternative to the cloud.

Until you lose it, break it, damage it accidentally (via high humidity, high heat, etc). Arguably, if you run twake on some VPS, you have additional layers of redundancy by default.

You mean, like the dns of AWS in us-east-1? #OhWait

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

#60
post #6

Zero percent chance I will ever trust my critical data to a mongo-backed service, personally. With clients some of them have already made this bad decision; with my own personal files I get to avoid it.

Isn't Mongo source available too? So it sort of seems to contradict the mission of this organization to use it.
Post reply on HN