File Server (http/https) for UXP

There are a lot of use cases where running an HTTP/HTTPS server is essential to complete a workflow:

  • Locally hosting a UI to be viewed in a UXP Webview (to avoid the restrictions of static file sites)
  • Completing OAuth workflows
  • Various interactions with other applications requiring HTTP/HTTPS communications.

At the moment C++ Hybrid Plugins is the only way to accomplish this in UXP, but that comes with it’s challenges, limitations, and is only currently compatible with Photoshop, not InDesign or Premiere Pro.

Are there any plans of adding some basic modules similar to the http/https modules in Node.js to UXP so we can spin up a simple file server for these purposes without the complexity and limitations of Hybrid Plugins?

5 Likes

Also websocket server would be cool. Now there is only client.