Skip to content

Self-hosted and fully offline? #807

Description

@waveflip

Hello,

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.

Is this possible?

Thanks

Activity

  1. hatemhosny commented on Apr 23, 2025

    @hatemhosny
    Collaborator

    hi @waveflip

    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.

  2. self-assigned this
    on Apr 23, 2025
  3. WendaoLee commented on May 8, 2025

    @WendaoLee

    Hopely want fully offline feature.😭

  4. hatemhosny commented on Jul 17, 2025

    @hatemhosny
    Collaborator

    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.

  5. hatemhosny commented on Aug 23, 2025

    @hatemhosny
    Collaborator

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions