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.

Export standalone HTML?

Home Forums General Questions Export standalone HTML?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #8193
    gary
    Customer

    Is there a feature, similar to B4W, where you can export the project as a stand-alone HTML file with all assets and js inlined? If not can any devs recommend another project that can do that?

    #8196

    Hi,

    you can try Electron which allows for packing HTML, CSS and JavaScript in a standalone desktop app.

    Chief 3D Verger | LinkedIn | Twitter

    #8204
    gary
    Customer

    Thanks Yuri, Electron is great but I was hoping to distribute a single HTML file with all dependencies inlined and it would work in a browser whether online or offline. Wrapping in an application framework like Electron or Cordova is not a level of complexity I’m ready to look at yet.

    I’m thinking something like this will work if I can get it to process glTF files: https://github.com/remy/inliner

    #8210

    The problem with such inliners is that they can only track URIs that are specified in the main .html file. They cannot capture dynamic http requests from JavaScript because they occur on some conditions unknown to inliners.

    Chief 3D Verger | LinkedIn | Twitter

    #8936
    NewFake
    Customer
    #8941

    Hi,

    I were answering on PWA here.

    Chief 3D Verger | LinkedIn | Twitter

    #8942
    NewFake
    Customer

    :good:

    NewFake :)

    #35223
    Petro
    Customer

    Hi Yuri
    You mentioned about using Cordova… Is just a mater of adding app files in a new cordova app?

    #35226

    Hi Petro,

    Verge3D generates only static files so yes it should work with Cordova.

    Chief 3D Verger | LinkedIn | Twitter

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