ipfs / ipfs-companion

Browser extension that simplifies access to IPFS resources on the web
https://docs.ipfs.tech/install/ipfs-companion/
Creative Commons Zero v1.0 Universal
2.07k stars 324 forks source link

Alert on changes to dynamic website w/ option to inspect #749

Open hsanjuan opened 5 years ago

hsanjuan commented 5 years ago

Following up on https://twitter.com/momack28/status/1164120864503320576

Every time a dynamic ipfs-website (ipns or dnslink) is loaded through companion, companion could write down the resolved CID (in local storage) so that it is able to show a historical list of "known CIDs" for a given ipns or dnslink record, letting the user inspect "diffs" between the versions if requested to...

hsanjuan commented 5 years ago

cc. @momack2

hsanjuan commented 5 years ago

Stallman's mode: a warning showing "This website changed since the last time you visited it, would you like to inspect the changes?"

momack2 commented 5 years ago

coooooool! +1

This could be a nice entry point to pin the updated version as well! Having a UI on websites I visit to pin the contents to my local node for offline viewing, so I only have to load the diff each time // could choose to just view the version I already have cached would be really really useful!

lidel commented 5 years ago

I like the idea of tracking previously visited versions. Companion could provide UI with options for:

FYSA we are discussing a very light, MFS-based scheme for cohosting snapshots of IPNS and DNSLink websites. Spec draft at https://github.com/ipfs-shipyard/cohosting/pull/2