hereforawhile

joined 5 days ago
[–] hereforawhile@lemmy.ml 2 points 2 days ago* (last edited 2 days 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.

-filter command can be used to bootstrap private rooms in a scenario where multiple people want to use the same server, yet chat privately. All it does is filter out messages that it can't decrypt because it has the wrong password.

-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

Example of Encrypted Chat Logs on Server Side

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.

[–] hereforawhile@lemmy.ml 1 points 3 days ago (1 children)

That's a pretty big sandbox if you can host a web application from it though. It's really not that restricted but there are compatibility issues so you find your self rebuilding primitives to make things work.

I think the next think I want to make is a notes/word processing web app. There is a pretty good use case to be to able to connect and process documents from a private server on any machine.

[–] hereforawhile@lemmy.ml 4 points 4 days ago* (last edited 4 days ago)

What a weird turn of events this is the festival that scammed everyone?

I stumbled upon it by by accident when trying to share. I remembered file.io was a quick account free way to share a files but now when you upload limewire takes over.

[–] hereforawhile@lemmy.ml 12 points 4 days ago (2 children)

Thankyou that's really helpful 👍

[–] hereforawhile@lemmy.ml 4 points 4 days ago

Yes termux is the webserver here and the client is the web browser now. This simplifies the use case scenario alot since most devices have a browser.

[–] hereforawhile@lemmy.ml 7 points 4 days ago

This is exactly why I started tinkering with termux...lots of old devices that I want to put to use that just collect dust.

[–] hereforawhile@lemmy.ml 2 points 4 days ago (5 children)

I thought about it but it's not worth tieing accounts together to me and I don't wanna make throwaway accounts just to share.

To small of scale I'm just messing around is the short answer.

Usage is commented at the start of the script. Just save it, chmod, run it and it spins it self right up.

What are the downsides of sharing code with no license?

[–] hereforawhile@lemmy.ml 3 points 4 days ago

Cloudflared CLI for reverse proxy is as dummy proof as hosting a hidden onion site over Tor. I like it's simplicity but I know I'm relying on a non free network.

[–] hereforawhile@lemmy.ml 12 points 4 days ago

Here is the server manager in termux.

 

Find chess here on limewire. Link expires in one week.

Building upon the principles of my chat application, this is another implementation to push the limits of what's possible inside the termux environment.

This script includes all the pieces needed to run a world wide accessable chess game from your pocket. While the implementation of chess isn't perfect by any means, it has been a great learning expirence to figure out all the little parts of what makes a interactive webserver tick.

For testing, I did implement cloudflared within the script just to see if I can host to the clearnet as well. It worked!

[–] hereforawhile@lemmy.ml 1 points 4 days ago

I think you can but the developers recommend getting it from GitHub or F-Droid because of google play policy issues.

[–] hereforawhile@lemmy.ml 3 points 4 days ago

I thought briar was known to leak Wifi and BT identifiers is that fixed?

[–] hereforawhile@lemmy.ml 5 points 5 days ago

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

 

This can be installed with a 15kb install script that compiles all resources and hosts the server right in your pocket.

view more: next ›