Live data from Hacker News

Twake Drive – An open-source alternative to Google Drive

github.com

61–70 of 219 posts

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

#61

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

IME NextCloud is a bloated PHP monster with poor performance. Twake seems to be leaner and have a narrower scope.

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

#62
post #5

Is this a fork of something? Or recently open sourced? Looks like there is a single commit where a majority of the code came from.

> Looks like there is a single commit where a majority of the code came from. I do this all the time, right before open sourcing a project. Basically while it's private, commit quality can be a bit rough, and if I want to open source it, I'll remove .git, make a new init commit then open source it. No one needs to see what I do in my private abode :)

The history of the development since its beginning can help a lot in studying the code, so I encourage people to avoid the single commit as much as possible.

It's much better to refactor (rebase) the messy commits, removing the personal or embarrassing stuff; although that might result in a "false" history, a series of smaller-sized commits will usually be much easier to follow than reading a whole code base all at once.

Really, I see a ton of open-source projects that do this, and it results in a lot of more opacity and friction than necessary.

It results in less people being able to check the code and contribute to the project.

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

#63
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 need to remind that the time when a service's tenant — be it a file, email, whatever else — automatically meant there was an OS user account for that user, has also been decades ago.

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

#64
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.

Ok this product will be for project with less than 65k users.

For naming, just name the directory the same way on your file system.

Shareable urls can be a hash of the path with some kind of hmac to prevent scraping.

Yes if you move a file, you can create a symlink to preserve it.

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

#65

Earlier quoted context omitted.

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.

Use sym link in that case to keep the redirect.

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

#66
post #56

Earlier quoted context omitted.

[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…

It's not so much about security, as FOSS conversation groups would be open to anyone anyway, but it's not a good look for a project to use a tool that is known to be quite shady while there are FOSS tools, or simply tools with a better reputation. Also the project group seems to be french, not english-first-language, and Telegram is absolutely not well seen in France, not used by much more than a few percent

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

#67
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.

> How would you implement things like version history

Filesystem or LVM snapshots immediately come to mind

> or shareable URLs to files without a database?

Uh... is the path to the file not already an URL? URLs are literally an abstraction of a filesystem hierarchy already.

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

#68
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.

As for the permissions, using ACLs would work better here. Then you don't need a separate group for every grouping.

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

#69

Earlier quoted context omitted.

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

[flagged]

We used it as our family chat for many (10?) years. Only recently we moved to signal.
Post reply on HN