dat-fox-helper icon indicating copy to clipboard operation
dat-fox-helper copied to clipboard

Directory listings always empty

Open da2x opened this issue 6 years ago • 8 comments

  1. Open dat://beakerbugs.hashbase.io/

Expected: To see a directory listing with files.

Actual: just the string “Directory /”.

da2x avatar Jun 04 '19 02:06 da2x

The gateway doesn't implement directory listing at present.

sammacbeth avatar Aug 09 '19 08:08 sammacbeth

Hello. Do you plan to fix/implement this?

tiotrom avatar Feb 18 '20 23:02 tiotrom

In dat-webext we have a simple html page that renders the directory listing. That could be reused here to render the list, providing the browser supports the DatArchive API. One would just have to return that html at this point in the code: https://github.com/sammacbeth/dat-fox-helper/blob/master/src/gateway.js#L63

Happy to take a patch for this.

sammacbeth avatar Feb 19 '20 10:02 sammacbeth

Would be fantastic if this would work. We have a custom Linux distro called TROMjaro and we ship Firefox with default DAT support using this script of yours. I'll ask to see if anyone from TROMjaro can help. If not maybe you have the time to do it. Would be fantastic to open up the DAT network through Firefox. We use DAT to share all of our files for free (documentaries, podcasts, books, and so forth).

tiotrom avatar Feb 24 '20 15:02 tiotrom

We use DAT to share all of our files for free (documentaries, podcasts, books, and so forth).

@tiotrom could you please provide more details on how you use Dat in your project? The website domain isn’t set up to be accessible over Dat.

da2x avatar Feb 24 '20 21:02 da2x

We use DAT to share all of our files for free (documentaries, podcasts, books, and so forth).

@tiotrom could you please provide more details on how you use Dat in your project? The website domain isn’t set up to be accessible over Dat.

Sure. So here you can see our Linux Distribution is available via DAT too https://www.tromjaro.com/install/. 140GB of our materials (videos, books, and so forth) are available via DAT here too https://www.tromsite.com/save/. Plus our website trade-free.org that's available on DAT dat://41226cf952fb56b7bfd37df5f5b5108a57b2f1cc03c18ba11193e0a834970063/. And as I said we enabled DAT in Firefox by default for our Linux distribution tromjaro.com

tiotrom avatar Feb 24 '20 22:02 tiotrom

If DAT grows and becomes reliable we would love to move all of our websites there. I've seen Beaker will get a major update very soon. We are super excited to test that.

tiotrom avatar Feb 24 '20 22:02 tiotrom

Hi. Any updates on this? Cheers!

tiotrom avatar Apr 09 '20 11:04 tiotrom