Comment on Using Termux to create a tiny selfhosted hidden chat server with E2EE.

<- View Parent
hereforawhile@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

Ok,

Here is a more polished version with MIT license.

Improvements

-User counts

-Connection Status Indicator

-Ability to turn on persistent rooms. By default, the server only relays in real time. /persist turns on chat logs. The server then stores encrypted messages and users can chat asynchronously.

-Rotating onion address and keeping existing onion now work correctly. If you rotate a onion address, since encryption keys are partially derived from the onion address, the client will be unable to decrypt messages even if the same password is used.

-Got rid of ncurses set up menus to slim down the script a bit.

-Removed redundant server manager commands and now only list two. Quit and Quit and Flush (this deletes everything in the server directory except persistent chat logs if they were turned on)

New UI Image

Example of Encrypted Chat Logs on Server Side Image

I noticed some of my devices during testing wouldn’t connect without hosting a server in a seperate instance. I’m not sure why this is happening but if you can’t connect, try to host a server and then connect to another host. This seemed to fix the issue.

source
Sort:hotnewtop