[GIS] How to host QGIS threejs outputs

qgisthree-js

Is there a free simple way to serve / host the .html files the awesome Qgis2threejs plug-in produces?

I have tried using Google Drive as shown here and here without success. Also had same results using One Drive.
I tried putting the 2 folders (dat-gui and threejs) and the html file in Google Drive (and One Drive) but can't seem to make it recognize the html… it just opens them in a text editor format like so.

Would like to be able to view them anywhere with web access like this one.

Would a weebly or other free web site / blog be able to do this?
QGIS Server?

Best Answer

Github pages

With Github, create a username.github.io repository. Then, for your other repositories, you can create a gh-pages branch. If you have an index.html, you'll be able to navigate to http://username.github.io/project-name to see your map live on the web. Github has information on doing this here.

I did this last night, with a quick export from QGIS2Leaf just to show a friend what I was working on (disclaimer: very early draft!). Here is the repository, and the Leaflet map. Note that I have registered a domain name, but alpha-beta-soup.github.io and spatialparalysis.xyz are the same place, and this is totally optional. If you haven't used git/Github before, there will be a slight learning curve, but there are plenty of online tutorials, and Github's own introductions are nice and gentle.

Related Question