Name: interavatar
Owner: TABLEFLIP
Description: Claim back your identity from the hashy anonymity, add an avatar to your IPFS peer ID.
Created: 2018-03-30 12:29:18.0
Updated: 2018-04-02 17:37:07.0
Pushed: 2018-03-30 12:30:17.0
Homepage: null
Size: 30
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Inter Planetary Recognised Avatar
/ipns/interavatar.io/[peerId]
-> (.jpg image)
https://interavatar.io/avatar/{peerId}
> 303 https://gateway.interavatar.io/ipfs/Qmhash (.jpg image)
We ipfs.files.stat('/interavatar/{peerId}')
to get the hash of the file and then redirect to the gateway to return the contents.
In MVP https://gateway.interavatar.io is a CNAME to https://ipfs.io.
https://interavatar.io/avatar/{peerId}
ody - { avatar, password? }
eerId is a CID
vatar is a CID
assword is an optional string for changing the avatar
Client side, we offer paste CID or upload. Upload will add to local js-ipfs so that we can send the added hash.
We'll use window.ipfs
if available or download js-ipfs on demand if not.
We should put some restrictions on the file size/type.
Server side, we ipfs.files.cp([payload.avatar, '/interavatar/' + params.peerId])
the file to MFS.
We periodically publish our IPFS node's name to be the hash of the /interavatar
directory so that avatars can be looked up using IPNS: /ipns/interavatar.io/[peerId]
.
In MVP we don't publish our name.
H https://interavatar.io/avatar/{peerId}
ody - { avatar, password? }
eerId is a CID
vatar is a CID
assword is an optional string which must match the password sent with the PUT request
In MVP we don't offer update.
What does this mean on the permanent web?
TE https://interavatar.io/avatar/{peerId}
ody - { password? }
eerId is a CID
assword is an optional string which must match the password sent with the PUT request
In MVP we don't offer remove.