You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run the Livecodes SDK locally, it appears the main application requires a network connection to livecodes.io for some services. I would like to run everything 100% locally without a need for a network connection. I only need support for HTML, CSS, JS languages.
Although LiveCodes is a client-side app with no backend and the fact that you can specify the appUrl in the SDK embed options, which can point to a local instance of LiveCodes (e.g. running on a local server on http://localhost:8080/), however, many of the resources are loaded from CDNs. So, currently, you still need to be connected to the internet.
I do plan to support running fully offline.
Thank you.
Reacted by waveflip, LeeWendao, Michael Kreil, Nuno Luciano, John, Bazyli Cyran and zezeze
Hi @MichaelKreil
Sorry for the very late reply. I have not been able to work on this lately.
All of the assets you mentioned will be served from the local docker setup.
I have not yet published a cloud instance for demonstrating this, but you can see the video in the PR that I go fully offline with airplane mode and it continues to work.
livecodes-local-modules.mp4
I just wanted to see if this is what you want implemented.
I still have some work on this, and I will let you know when ready.
Activity
hatemhosny commentedon Apr 23, 2025
hi @waveflip
Although LiveCodes is a client-side app with no backend and the fact that you can specify the
appUrlin the SDK embed options, which can point to a local instance of LiveCodes (e.g. running on a local server onhttp://localhost:8080/), however, many of the resources are loaded from CDNs. So, currently, you still need to be connected to the internet.I do plan to support running fully offline.
Thank you.
WendaoLee commentedon May 8, 2025
Hopely want fully offline feature.😭
hatemhosny commentedon Jul 17, 2025
Hi @waveflip @WendaoLee @MichaelKreil
This PR ( #858 ) tries to address this issue.
Would you please have a look and see if this is what you want?
Suggestions are welcome.
MichaelKreil commentedon Jul 18, 2025
As far as I can see, some frontend assets are still loaded from external sources and could be integrated into the project. For example:
hatemhosny commentedon Aug 23, 2025
Hi @MichaelKreil
Sorry for the very late reply. I have not been able to work on this lately.
All of the assets you mentioned will be served from the local docker setup.
I have not yet published a cloud instance for demonstrating this, but you can see the video in the PR that I go fully offline with airplane mode and it continues to work.
livecodes-local-modules.mp4
I just wanted to see if this is what you want implemented.
I still have some work on this, and I will let you know when ready.
Thank you and sorry for the late reply!