We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

github pages

Home Forums General Questions github pages

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #32124
    g_hug
    Customer

    Is it possible to share verge3d apps on github pages as a free way to self host projects?

    I know github pages uses markdown/jekyll/static websites etc but I am thinking perhaps there is a way to upload the verge3d folder and have a custom domain github page show it?

    I am thinking of a homepage which shows a simple verge3d app (ideally in full screen) where clickable objects open tabs to other pages…operating something like this: https://demomovingimage.net/

    Any suggestions would be appreciated!

    • This topic was modified 2 years, 3 months ago by g_hug.
    • This topic was modified 2 years, 3 months ago by g_hug.
    • This topic was modified 2 years, 3 months ago by g_hug.
    #32128

    Sure, Verge3D apps are just static files that you are free to serve from Github pages.

    Chief 3D Verger | LinkedIn | Twitter

    #32143
    GLiFTeK
    Customer

    What are the rules for using git hub pages? Do they allow anything just as long as it isn’t soliciting anything commercial?

    #32264
    g_hug
    Customer

    Thank you for the response!

    I appreciate this is outside of the normal parameters, but are you able to v briefly outline the process for serving a verge3d app through github pages? I am struggling with how to launch the verge3d files from the repository I have a github pages site pointing to. I’ve been researching but haven’t managed to find the answer yet :scratch:

    I’d be grateful for any pointers.

    Re: guidelines for using github pages I’m not sure…this would be serving as a portfolio of sorts so definitely not commercial!

    #32269

    Hi,

    did you follow this guide? https://pages.github.com/

    May be it requires to have index.html file in the root so make sure you have one.

    Chief 3D Verger | LinkedIn | Twitter

    #32377
    g_hug
    Customer

    Hi Yuri,

    Thank you for the reply. After some trial and error I was able to get it to work. An initial github pages site does need an index.html file you’re right, and getting Verge3D apps to be hosted correctly is a matter of how they are uploaded via git. Git LFS may be needed depending on file sizes in the V3d project.

    I am having trouble with one app, however. Although showing fine in sneakpeek & when hosted on the Verge3D network, when hosted separately object materials are not displaying correctly.

    I’m confused why this is the case, any help would be massively appreciated.

    • This reply was modified 2 years, 2 months ago by g_hug.
    #32379

    That’s strange. Looks like the textures are loaded as tiny reference files around 130 bytes each. Can you provide the link to your Github repo?

    Chief 3D Verger | LinkedIn | Twitter

    #32380

    Also your app is too big in file size (131 Mb), consisting mostly of big textures. You should definitely optimize it! See this vid for example: https://www.youtube.com/watch?v=yYOyUwRveAU

    Chief 3D Verger | LinkedIn | Twitter

    #32385
    g_hug
    Customer

    You’re right – I’ll definitely optimise! I didn’t for this as it is just a test and I was trying to figure out the uploading for github pages. The repo and folder in question:

    You’re right, I hadn’t realised the images were loading this way. Perhaps it is to do with git lfs? :unsure:

    • This reply was modified 2 years, 2 months ago by g_hug.
    #32386
    g_hug
    Customer

    reducing all of the texture images to below 1mb and disabling gif lfs for .jpg files seems to have done the trick.

    Thanks!

    • This reply was modified 2 years, 2 months ago by g_hug.
    #32394

    awesome! :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.