Basically I want to create a local host that can be opened in the browser so that the user can do some stuff with their Artboards.
This – unfortunately – isn’t possible. Although some aspects of the APIs kind of resemble NodeJS things, there isn’t an accessible node runtime (and since plugins aren’t able to run system commands of any kind except for
openExternal(), we’re also not able to create one).
openExternal() (I don’t know if this could work – it’s just an idea which you could try), but other than that, there isn’t any way to do this with XD plugins.
I hope this helps