Local install / server?

Hi,
First of all, thank you for making for cables.gl. I really like the UI and UX and the general concept, really great, on top of that the tutorials provided on your Youtube channels are excellent !

I’m wondering if there’s a way to “install” or to run cables.gl offline on a local computer/server. Is it possible ? Is there a tutorial or some detailed instructions for that too ?

Thanks,

hey,

for the whole editor and everything? no.

for a patch? yes.

you can either export your patch, then use a local webserver to playback the patch.

outlined here: https://docs.cables.gl/dev_embed/dev_embed.html
using this: https://anvilformac.com/ (mac, should work with any webserver on any OS though)

or, if you want, you can beta-test the early version of “da playa” which runs a cables
patch in a completely offline, portable electron executable. feedback would be greatly
appreciated.

use this: https://github.com/cables-gl/cables-daplaya/releases
follow this: https://github.com/cables-gl/cables-daplaya/blob/master/README.md

greetings,
stephan

1 Like

Thanks for the reply @stephan !
Yes I knew there was a way to embed patches in a website, which is awesome by the way, but yes I meant the whole editor without internet connection etc… Most of the time I have an internet connection but sometimes not, anyway… :slight_smile:

I’ll be glad to test “Da Playa” and give feedback as soon as I write my own patches.

Thanks,

hey,

i don’t know your usecase but there is always the possibility to expose certain
things in a sidebar, which would be visible and usable offline and in da playa.

see: https://cables.gl/op/Ops.Sidebar.Sidebar

also…things like connecting to midi/osc/whatever controller, also work offline.

osc: https://cables.gl/op/Ops.Devices.OSC.OscNumber
gamepad: https://cables.gl/op/Ops.Devices.GamePad.GamePad
midi: https://cables.gl/op/Ops.Devices.Midi.MidiNote

if you really, really need to work in the editor you are out of luck and we currently
have no real plans to provide an offline version of the editor…that would mean
a lot of changes and syncing/versioning/merging/solving conflicts between offline
and online versions of the patch…sorry…

greetings,
stephan

1 Like

No worries, I understand that an offline editor would be complicated :wink:
It’s just that in some tutorials I saw “localhost” in the address bar of the browser and thought that I might have missed something and that a local server was possible, but 95% of the time I have an internet connection and there’s also the possibility to use a 4G network when editing “on the road”.

Yes these ops are really great, I can’t wait to incorporate them in a patch.