RangerMauve / load-dat-page

Load a dat webpage in a regular browser using dat-js

Home Page:https://ranger.mauve.moe/load-dat-page/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

load-dat-page

Load a dat webpage in a regular browser using dat-js.

Try it out!

  • Loads pages off the Dat network
  • Fully client-side single page application
  • Use ?url=someurl in the address bar to load a dat:// URL
  • Automatically rewrites links to dat:// URLs to load through the page
  • Detects images and loads them from Dat as blob: URLs

TODO:

  • Intercept XMLHTTPRequest.prototype.open
    • Intercept `fetch()``
    • Support arraybuffer responseType
  • DatArchive API
  • experimental.datPeers API
  • Use streaming for resource rewriting

About

Load a dat webpage in a regular browser using dat-js

https://ranger.mauve.moe/load-dat-page/

License:MIT License


Languages

Language:JavaScript 87.7%Language:HTML 12.3%