Skip to content

RangerMauve/load-dat-page

Repository files navigation

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:https:// URL
  • Automatically rewrites links to dat:https:// 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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published