AxelChat icon indicating copy to clipboard operation
AxelChat copied to clipboard

Websocket\Widget server IP, any way to change?

Open Aeon1704 opened this issue 1 year ago • 4 comments

I wonder if there is anyway to change Websocket ip for server from localhost (127.0.0.1) to actual local network's ip? I don't know if it is a bug, but my copy of Axelchat app stays in Localhost ip.

My plan was to use Websocket client on my cellphone to read messages from my PC's AxelChat via local network. But it seems to be impossible due to Websocket server locked to 127.0.0.1.

P.s. also I did mention that small Local Web server will be cool to have to see Widget on Cellphone. It is possible to do with custom apps. But Websocket setting doesn't allow it. Widget's html is searching for AxelApp on 127.0.0.1 not on 192.168.1.2 (for example)

Aeon1704 avatar Dec 05 '24 11:12 Aeon1704

So, even without Web Server apps, we are able to simply put Widget folder on mobile devices and run it from there. But thing is, it still trying to access 127.0.0.1. If AxelChat websocket will be open for local network, and Widget will have a setting somewhere for where to connect, it will be 100% possible to run AxelChat on cellphone via widget.

Aeon1704 avatar Dec 09 '24 02:12 Aeon1704

Hi! This is a very useful feature, I'm already working on it

3dproger avatar Jan 03 '25 09:01 3dproger

Seen one in SheepChat. There is a Widget which mirrors the main window. It works in Local Area Network. Very useful as alternative to Native android\ios app.

Aeon1704 avatar Jan 15 '25 01:01 Aeon1704

Hi!

I released an update 0.38.0 and tried to make this feature. In the instructions I described how it works now: https://github.com/3dproger/AxelChat/discussions/597

3dproger avatar Jan 27 '25 00:01 3dproger