ipfs-shipyard / ipfs-share-files

Share files via IPFS
https://share.ipfs.io
MIT License
149 stars 31 forks source link

Show stats on number of peers connected, bandwidth, etc #65

Open victorb opened 5 years ago

victorb commented 5 years ago

Just tried out the app for the first time, works super well, great job! :+1:

My first thought upon reading "You are sharing the content from your device. Your friends can help you co-host the content by also keeping the share link open in their browser." is, how do I know if I'm actually helping and I'm connected?

Leading to the proposed solution of showing at least: number of peers currently connected + current upload bandwidth

olizilla commented 5 years ago

Thanks @victorb...Yes! I think it'd be rad to show some stats.

One thing that came up from useability testing on webui was "what does number of peers connected really tell me", which initially suprised me, but I think might be a reasonable point. I think people might want to know if anyone else is hosting this content, or how many friends have fetched it... so maybe bandwidth and ideally the result of getprovs.

fsdiogo commented 5 years ago

"You are sharing the content from your device. Your friends can help you co-host the content by also keeping the share link open in their browser." is, how do I know if I'm actually helping and I'm connected?

That's a good question. Moreover, just having the share link open isn't enough, you need to download the files first (as it gets them from IPFS) and only then you're sharing them.

I was thinking of just adding the connected peers on that phrase, but as @olizilla pointed out, that doesn't give us concrete information about if someone else is hosting our content.