sammacbeth / dat-fox-helper

Node helper process for dat-fox
MIT License
29 stars 6 forks source link

Directory listings always empty #9

Open da2x opened 5 years ago

da2x commented 5 years ago
  1. Open dat://beakerbugs.hashbase.io/

Expected: To see a directory listing with files.

Actual: just the string “Directory /”.

sammacbeth commented 5 years ago

The gateway doesn't implement directory listing at present.

tiotrom commented 4 years ago

Hello. Do you plan to fix/implement this?

sammacbeth commented 4 years ago

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.

tiotrom commented 4 years ago

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).

da2x commented 4 years ago

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.

tiotrom commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Hi. Any updates on this? Cheers!