Hosting file on Google drive

Google drive provides lots of storage space for storing your personal stuff at free of cost ...& Google provides not just few MBs it allows free storage up to 15GB (can you believe it ?)
You can meet google driver here - GoogleDrive
I am going to share pretty trick for hosting your HTML pages on google drive.

Below steps will guide you throgh

1 . Login to google drive with your google account, You will land up on screen similar to below screen
Then for hosting your content you can create folder (In my case its 'webDocs') as shown below


2 . Go inside newly created folder & upload your file in it (It can contain javascript as well  ) Now move back to your folder.


3 . Right click on the folder and select Share option 


4 . You will given following option for sharing, you go with more option.




5 . Then select "On - Public on the web" option and click save button. (you are almost done).


6 . Now you will have link from google drive for sharing. You just copy it as of now and store somewhere.


7  . Convert saved URL in to URL as given below 
www.googledrive.com/host/[doc id]
E.g. Id https://drive.google.com/folderview?id=<File_ID>&usp=sharing
will be converted to
https://www.googledrive.com/host/<File_ID>/
To get direct link to file just add file name at end of created URL as.
https://www.googledrive.com/host/<File_ID>/<Fille_Name> just hit it.

& you are done !



I have hosted file -bouncing-ball.html in webDocs folder in side google drive. You can have look at it and it contains some javascript also to show how you can play with this feature and create your own one page javascript application & host then on most reliable google servers using google drive.

keepRocking