https://openuserjs.org/scripts/gaspar_schot/Supercharged_Local_Directory_File_Browser

Works on both local directories and user-defined remote open directories.

Note: Users must manually add the urls for remote directories in the code or in the script settings of your userscript manager (e.g., Tampermonkey or Greasemonkey). Please read the description on the script page for more information.

Comments (28)

That's some serious over-engineering!

Impressive :D

Nice

You're welcome!

Can someone be kind enough to show the steps on how to install this, pretty please.

Install the Tampermonkey extension on your browser and click install.

I installed it, now how will I know is working, it says installed but see nothing different in my browser.

You can see the difference by browsing the compatible websites.

can you post an example of compatible website? I tried on some but did not see any difference.

[deleted]

Does the blue "install" button near the top of the page work for you? If it doesn't, right click the button, copy the link, curl it and copy the raw js code, and look in your settings for the addon for something like "add script". Here you can copy paste the script. Let me know if that works

I usually overlook things like this but you've built something really impressive here /u/gaspar_schott nice one!!

Something I'll actually use too, I usually use fuskers for image directories but this is stupid clean, thanks for putting in the time on this dude!!

Thanks, I appreciate it!

Ok, I installed Tampermonkey in Chrome. Installed this. Then . . .

Does anyone have the time, patience and inclination to explain a bit more how this works?

pardon my n00b-ness but is there a way to use this on the server-side as the UI for hosting a share directory instead of the built-in Apache directory browser?

Or, is there another easy-to-install/configure tool like this for doing that? I have some files I share for enthusiasts in a particular community of things i'm into, but I hate how rudimentary the Apache basic share browser is, and I was too lazy to research a better one that didn't require PHP (would like to avoid having to learn PHP just to do a simple file share / browser)

bonus if its a docker container

Perfect

Glad you like it!

/thread

Not sure if it needs to be said but be sure to enable "Allow access to file URLs" on the extension page for local directories.

where will be this option? Wasnt able to locate it in greasemonkey.

It's a browser option. For Chrome/Brave it is under the options for extensions.

Ok, doesn't seem to be an option on firefox. Thanks for the reply!

I think I told you wrong. It didn't click that you said Greasemonkey. From the documentation this may be what you need:

// For Greasemonkey, open about:config and change greasemonkey.fileIsGreaseable to true.

Thanks for the follow up.. will try this.

You don't just spider the site and pipe it to less?

Can you elaborate, please?

lynx -listonly -nonumbers -dump $SITE | less.

Then you can do things like

lynx -listonly -nonumbers -dump $SITE | grep flac | parallel wget -nH -rm -np

But lynx is not recursive right ? Why not using KoalaBear84's indexer instead ?

But lynx is not recursive right?

What makes you say that?

Why not using KoalaBear84's indexer instead ?

If I need to, I do. However unless there's a case where I have to use KoalaBear84's indexer, this serves me just as well.