How to host a Babylonjs website coded in typescript

This could be converted at https://glb.babylonpress.org/ to less than 8 Mb from 125 Mb uncompressed from Draco. With GPU Instancing it is possible to reduce the size with additional 0.25 Mb.

1 Like

Yes, I already did it :wink: and deployed on github pagesā€¦

1 Like

Hello @L14M and welcome :slight_smile:

Might be a bit offtopic, but if you are familiar with NodeJS, here is a topic on which I explained how to host infinite websites alsmot ā€œfor freeā€ (one per subdomain, with one independant NodeJS server per subdomain)

On my side I pay because I have several servers on AWS, but if you use this trick with a unique server on the account, you would enter within the ā€œfree tierā€ conditions and if would basically be free :slight_smile:

1 Like

Iā€™m still somewhat confused on the process that gave you this result. Could you please break it down and explain the steps?

@roland

At first Iā€™d like to know: Did you try these steps? Does it work for you?

I did that and now Iā€™m unsure as to what I do next.

Can you send me a screenshot of your GH/Settings/Page page?


Did you run npm run build and the git subtree command?

You should see gh-pages in the Branch dropdown and select it:

I actually got somewhat confused about that, the ā€œgit subtree pushā€. I know itā€™s a lot to ask, but could you please give a few more detailed instructions?