Live data from Hacker News

Files – Single-file photo gallery and file manager

files.gallery

161–170 of 189 posts

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

#161

The output is very polished and fast, I like it a lot. Unfortunately it's not technically a single file as it depends on code downloaded from their server, therefore it can't be deployed locally without Internet connection. From the forum: "In terms of license, you don't need an internet connection. However, Files app loads it's own Javascript, CSS and several plugins from CDN (jsdelivr.com), and this requires intern…

I don't understand the marketing behind "single file" projects like this anymore. Sure, it was a very neat and useful thing to have back when everyone was deploying their sites by uploading in Filezilla. But today we have everything in a single container which seems far more useful and maintainable.

I think it makes sense in this particular case. I was actually looking for something like this for a while.

I just want a glorified `autoindex on`. I don't want to manage an extra container just for that.

(I'm speaking in regards to the file viewer option, looks like there's also a file manager option on the pro version and I have a bit more mixed feeling regarding that)

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

#162

Earlier quoted context omitted.

Hey thanks for sharing with us https://photoview.github.io It's worth a look :-)

Your demo has a login and has no default values for the credentials.

The credentials demo /demo are directly above the button that says "Demo-Site".

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

#163

I remember seeing these kinds of single-file web apps when I used PHP ~15 years ago. It was a good time! Unfortunately, no such culture seems to exist in other web language ecosystems.

The PHP era, with all its flaws, brought an insane amount of productivity compared to previous solution (eg. Java).

I can't quite pinpoint what was the cause but I've never been as productive as with PHP + JQuery. Modern tooling is just plain slow, mandatory and definitely gets in the way. Having extra layers means more bugs you waste time on and bugs that are harder to debug. It seems like there are also less and less tutorials and documentation.

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

#164

The output is very polished and fast, I like it a lot. Unfortunately it's not technically a single file as it depends on code downloaded from their server, therefore it can't be deployed locally without Internet connection. From the forum: "In terms of license, you don't need an internet connection. However, Files app loads it's own Javascript, CSS and several plugins from CDN (jsdelivr.com), and this requires intern…

I don't understand the marketing behind "single file" projects like this anymore. Sure, it was a very neat and useful thing to have back when everyone was deploying their sites by uploading in Filezilla. But today we have everything in a single container which seems far more useful and maintainable.

I think there's problem but it's elsewhere. Sure it's a single file, yes. However in order to run it you need a php interpreter, which I for example, do not have installed and an internet connection. But that would go for just about every scripting language in one form or another. Sure, just about every linux distribution has python for instance and same goes for macos afaik. This isn't the case for windows however(again afaik). Package it into a single binary file and I'd be all up for it: I do love AppImages.

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

#165

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…

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

phpLiteAdmin (https://github.com/phpLiteAdmin/pla) is developed as separate PHP, JS, and CSS files. A "build" script merges all into a single PHP script, which includes compressed resources inlined after a call to `__halt_compiler()`. The same code can run as separate files, or as a single one.

I wrote the original "build", years ago, as we started extracting classes out of a procedural single file.

[edit] Link to the interesting bit: https://github.com/phpLiteAdmin/pla/blob/master/phpliteadmin...

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

#167
post #115

Earlier quoted context omitted.

Well, they can simply embed the static resources in the PHP file itself, why not?

Or even simpler just download the JS and put it next to the script if single file isn't a hard requirement (which I don't see a use case for besides simplicity)

> which I don't see a use case for besides simplicity

There is a use case for that. Maintainability. Drop one file to start. To delete, delete the file. To upgrade, replace the file.

For example, I really like tiddlywiki because no matter where or what, I only have to deal with and track 1 file.

It’s impressive what they’ve accomplished with just one file full of custom content. Even upgrading is possible.

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

#168
post #152

Earlier quoted context omitted.

Hijacking top comment with a shallow compliment and a self-promo is not nice.

Apologies. I asked the mods to delete my comment, because this was not my intention.

Maybe they can orphan it. It will work in context

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

#169

The output is very polished and fast, I like it a lot. Unfortunately it's not technically a single file as it depends on code downloaded from their server, therefore it can't be deployed locally without Internet connection. From the forum: "In terms of license, you don't need an internet connection. However, Files app loads it's own Javascript, CSS and several plugins from CDN (jsdelivr.com), and this requires intern…

I don't understand the marketing behind "single file" projects like this anymore. Sure, it was a very neat and useful thing to have back when everyone was deploying their sites by uploading in Filezilla. But today we have everything in a single container which seems far more useful and maintainable.

> back when everyone was deploying their sites by uploading in Filezilla

There are a lot of people still doing this. Some of us have gotten away from it, but I support some people on the side that have multiple projects that still manage it this way and it works for them.

I would not want to be the one to explain to them what docker is, how it works and how to use it.

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

#170

Earlier quoted context omitted.

I don't understand the marketing behind "single file" projects like this anymore. Sure, it was a very neat and useful thing to have back when everyone was deploying their sites by uploading in Filezilla. But today we have everything in a single container which seems far more useful and maintainable.

What do you mean "have everything in a single container"? Many users want to view or manage some files in a folder, and then delete the app shortly after. It doesn't get easier than dropping a single file, and then deleting it afterwards.

When I’m working on something and need to poke around in a MySQL database, one of the things I rely on is adminer. One wget and I can log in graphically and see the database.

Afterwards, I just delete and that’s it.

Post reply on HN