Live data from Hacker News

Files – Single-file photo gallery and file manager

files.gallery

141–150 of 189 posts

Re: Files – Single-file photo gallery and file manager

#141
post #138
post #95

Earlier quoted context omitted.

You can have other interfaces in addition to the files, that discourage, perhaps strongly, getting to them directly. But it's always been straight up evil to completely remove all meaningful access to them, and yet Apple et al chose to go in this direction.

"Et al"? Google provides a file manager for Android.

Google's definitely better, but let's not pretend that the file manager experience is equivalent to any of the desktop OSs.

Re: Files – Single-file photo gallery and file manager

#142

I used to really like Google Picasa, but then it stopped working on Linux, and then at all [1]. It was fantastic and fit all of my ideas on how photo organization was supposed to work. I got fantastic feedback when I recently asked about a personal wiki that would fit my criteria [2], so I figure I'll ask here for a photo library management app. My use case isn't just personal photos, but also concept art. I would lo…

Wow - this is perfect. I would love literally exactly what you've described. Is there nothing out there - might be fun to take a crack at making it?

Re: Files – Single-file photo gallery and file manager

#143

I'd rather like to see something similar to `python -m http.server`, that way you don't need a separate server and you don't need to copy the file, just run the program.

https://www.php.net/manual/en/features.commandline.webserver...

Re: Files – Single-file photo gallery and file manager

#144
post #61

Earlier quoted context omitted.

When you try and obfuscate the fact that it is a purchased product, it makes one a hustler. This is no different than the many click-bait sites that offer -free- stuff that are actually purchased items.

It's not obfuscated, the landing page says the following under the section "License". > Files is free to use with basic features. To remove the license-popup and unlock additional features, you may purchase a license [$39] from within the app.

"Free download": pity that phrase can't be erased from the Internet.

Re: Files – Single-file photo gallery and file manager

#145
Hi, Files app DEVELOPER here. Someone notified me that the app had been posted here. A lot of negative comments, which I don't have a problem with, but I can perhaps clarify a few things.

About Files app not being "single file" because it loads JS/CSS resources from the CDN (internet). That is of course a correct observation, and this is already noted on the website. From an operational perspective, there is only one file to download/move/install, and from a functional perspective for the vast majority, it will be viewed in browser with an active internet connection. Furthermore, it was INTENDED BY DESIGN to load all JS/CSS from CDN, because ultimately it improves the user-experience, and makes it plausible to make an app like this wrapped into a single index.php file.

It's not reasonable to add ALL Javascript/CSS directly into the index.php file. PHP is only 10% of the codebase, and it would bloat the file to insane dimensions and make it difficult to maintain. JS/CSS is loaded from CDN service jsdelivr.com, with multi-level redundancy (Amazon, Cloudfront, Cloudflare), and will load faster and cache more effectively than anything served from within the index.php app on your own server. Furthermore, some plugins are served on-demand, for example when browser needs a "polyfill" or for specific features. For functional reasons, benefiting the vast majority who do not care how/where the JS/CSS is loaded from, JS and CSS files are therefore served from CDN. If this does not suit you, nobody has any problem with that.

Does anyone have any examples of any other single-file app with a comprehensive interface like Files app that is entirely self-contained?

There will be a future release where you can assign all scripts/css to be loaded from local path, but then of course all these files will need to be installed alongside Files app index.php. We will NOT be adding all JS/CSS directly into the index.php file.

About license, as stated on the website, you can use it as a file viewer for free (with the nag). If you want to remove the nag and use it as a file manager, license is required. Those who expect apps like this to be entirely free with updates and support, are living in dream land. It's hardly worthwhile in the first place. There are loads of other free apps, and if you can't see any difference, then your choice is easy.

I have noted comments about license info being unclear, thanks.

Re: Files – Single-file photo gallery and file manager

#146
post #129
post #71

Earlier quoted context omitted.

There is also this gem. > Add username and password to protect your Files app by login. You can encrypt your password by using our md5() hash tool if you don't want the password to be exposed in the PHP file. Now I realize it's probably not using md5, but it does not bode well. [1] https://www.files.gallery/docs/config/#password

I checked, they use md5 extensively.

md5() is used to hash names for cache, not for anything security related. For login, it uses PHP password_verify()

Re: Files – Single-file photo gallery and file manager

#147

Hi, Files app DEVELOPER here. Someone notified me that the app had been posted here. A lot of negative comments, which I don't have a problem with, but I can perhaps clarify a few things. About Files app not being "single file" because it loads JS/CSS resources from the CDN (internet). That is of course a correct observation, and this is already noted on the website. From an operational perspective, there is only one…

This looks great, and like something I was looking for a couple of months ago. I couldn't find anything, so I created my own [0] (limited) solution. But the Files app looks like it might replace this.

[0] https://j11g.com/2021/11/23/corbin-static-responsive-image-a... [1] https://github.com/jan-vandenberg/corbin

Re: Files – Single-file photo gallery and file manager

#148

Earlier quoted context omitted.

Not really. This index.php is just a wrapper as it will refer their .js/.php which you have no control of. To use it fully you'll have to write those as well, at which point you can just start from scratch on your own terms.

So is it running arbitrary PHP on my server if I run this?

Of course not. Index PHP contains ALL the PHP, while CSS and Javascript are loaded into the browser for the interface.

Re: Files – Single-file photo gallery and file manager

#149
post #131
post #83

Earlier quoted context omitted.

Executes faster and uses less resources for probably providing remote exploit opportunities :-))

Name one remote exploit hole in PHP that can't just as easily be replicated in Python, Node or Ruby.

This one:

> PHP4 spaghetti code

Re: Files – Single-file photo gallery and file manager

#150
post #149
post #131

Earlier quoted context omitted.

Name one remote exploit hole in PHP that can't just as easily be replicated in Python, Node or Ruby.

This one: > PHP4 spaghetti code

If your spaghetti code has a good test coverage -> no problemo.
Post reply on HN