Using Termux to create a tiny selfhosted hidden chat server with E2EE.
from hereforawhile@lemmy.ml to selfhosted@lemmy.world on 03 Oct 15:45
https://lemmy.ml/post/37030874
from hereforawhile@lemmy.ml to selfhosted@lemmy.world on 03 Oct 15:45
https://lemmy.ml/post/37030874
This can be installed with a 15kb install script that compiles all resources and hosts the server right in your pocket.
threaded - newest
<img alt="here is another screenshot of how it looks after install" src="https://lemmy.ml/pictrs/image/65350e81-5e9f-4b3b-adf5-fe500c553ac8.jpeg">
Is there a link?
Working on a slightly more polished version. I can release soon.
Thanks, looks cool
Wow, it is cute. I’m still having trouble imagining using it, but I like the idea of a curses chat client under tmux.
Ok this is still super early but it’s working on the few devices I tried with a fresh install of termux.
pastebin.com/cRL6MnKe
Echoing the sentiment of the other commenter. A link would be great!
Was this coded on a phone touchscreen?
Yes
OMG
Kudos for developing this on your phone! I’ve played around with termux, even have a Bluetooth keyboard, but I’ve never had the courage to actually code through it.
I don’t get it, how to other clients connect and do they use the same program? It does look cool though the tmux keyboard is bare bones.
The install script contains all the pieces needed to be the host server or just a client. Because termux allows you to run multiple sessions, if you are the host, you have to run the server in one session and then connect in a different session.
What’s not shown in the screen shot is that if you choose to host, a onion address is generated. This is how other clients connect.
I did see some onion code in the script, but didn’t figure out that it was listening on an onion port. Cool. I’m not sure of the attraction of running it on a phone, but I’ll take your word for it ;). Do you actually use it? Yeah I can see wanting to reorganize it in some ways, and maybe try to use some more standard protocols (irc?) or a subset. Does tor not already provide its own crypto?
Yeah, tor is already encrypting between each node and since both clients are connecting to the rendezvous point inside of the Tor network it should already theoretically be encrypted E2E… The other crypto is just in case that’s not true… why not add other layers of encryption if you can.
No I don’t use it it’s kinda just a lil hobby. Nice to know I can depoly worldwide anonymous coms from my pocket though.
I have better more usable methods