sulla icon indicating copy to clipboard operation
sulla copied to clipboard

Sulla with in VPS and browser client

Open andreynobre opened this issue 4 years ago • 3 comments

Hello everyone,

The Sulla it's work in VPS, It's a great! but i need know if Sulla work's in VPS and the client can to open the web whatsapp in your computer?

andreynobre avatar Jun 01 '20 22:06 andreynobre

Sulla works as a regular Web Whatsapp session, if there is a second session for the same account open on another browser it will not work, similar to the regular web sessions.

lhgrigio avatar Jun 02 '20 12:06 lhgrigio

when I use this in my pc It's work:

sulla.create("chat",()=>{},{headless:false}).then((client) => start(client)); function start(client) { client.onMessage((message) =>

So, I want to know if it is possible to open this google chrome on my pc via VPS, because it gives an error when I run it because I am not in the graphical interface

andreynobre avatar Jun 02 '20 12:06 andreynobre

Oh I see, you won't be able to see the same session in 2 different browsers (The Node running Sulla counts as one), I'm assuming that the VPS does not have a graphical interface installed? If that is the case you can install one and access it it via VNC or something similar so you can view the browser.

Or develop it locally so you can view the browser and then move it to the VPS when it's no longer needed.

lhgrigio avatar Jun 02 '20 13:06 lhgrigio