A peer to peer chat and file sharing application written in java
Used gemini for help with small networking
A peer to peer chat and file sharing application written in java
Used gemini for help with small networking
Not a lot of new features dropped, only some quality of life ones.
This isn’t a huge devlog, but this is the last devlog before i ship this.
Thank you for reading this devlog.
Log in to leave a comment
its official, jchat can host files.
it works similarly to bittorrent, but uses a custom protocol
the file hosting is ran on a separate thread and port so you can still chat while sharing files.
currently there is no encryption for it, but it works like this:
i used google guava to manage hashing of the files
basically, thats all for the user side updates in this devlog
Log in to leave a comment
i managed to add encryption to jchat using google’s tink library. from now on every message is encrypted, wrapped in headers, and encoded in base 64 to ensure message integrity and privacy.
thanks for reading this devlog
Log in to leave a comment
lots of new features have been implemented
and lots of bugs have been squashed
these amazing new features include:
encodes all handshakes and messages in base 64 to make sure that the messages are not corrupted, and to also defend against newline attacks
now there is an official jchat docker image on dockerhub, for testing on 1 machine.
the router is a part of jchat which makes discovering peers on a network easier. if you connect to a peer, you automatically exchange “peer lists” and by doing that, you can connect to peers that that peer knew but you didn’t.
why the name router tho? i called it router because it routes people to other peers
thanks for reading this devlog
Log in to leave a comment
the active client has been finished which allows you to connect to peers!
every peer would be a “router” which would be used to discover peers, and also keep track of peers. as a passive client you will be able to register to a router if you don’t know any peers
Log in to leave a comment
whats this?
this is a peer to peer chat application written in java.
this is my first java project.
why the lack of git commits?
im using a new IDE and I sometime forget to commit to github.
Log in to leave a comment