Steem Blockchain URL Redirection App

in #dns8 years ago (edited)

Steem Earth

Inspired by https://steemit.com/namecoin/@dantheman/dns-via-steem

I've created a webapp using flask which allows you to visit any Steem user's website just by entering their name, after they set their url in their account's metadata:

From cli_wallet:

unlock <password>
update_account_meta <account_name> "{\"url\":\"<url>\"}" true

NB: the escape characters are necessary since the whole JSON structure is interpreted as a string.

This can be used to redirect to any url, but it will not work if the user hasn't set one, or if it's not accessible through http.

Test it out:

I've deployed it at my seed's website: http://seed.zapto.org/<username> but I might be the only person currently with the metadata set to contain a url, and I just redirect to my own seed website.

I encourage you to set your own metadata, and try it with your friends!

Source code: https://github.com/geoffrey-steem/steemit-url

Sort:  

Strange bug: I can't edit this post because it has the tag 'url' which is no longer allowed. Even if I remove that tag it won't let me resubmit the edited article.

You got it bro :) thanks for reaching out.

Coin Marketplace

STEEM 0.20
TRX 0.20
JST 0.034
BTC 89955.66
ETH 3105.10
USDT 1.00
SBD 2.98