Modern Pictochat is website with the same premise of pictochat; chat pictorally!
This update focuses on server authentication improvements and website Qol.
- Upgraded Authentication & SSL
- Added player colours
- Added Player list
- Added 5 more chats
- Now you can type text into the drawing box (You can backspace with shift+backspace)
- Make drawing smoother & higher quailty
These features will be added if i continue to work on this
- Custom Chat Icons
This is outdated, you dont need ssl anymore. Just go to App.java and change the varaible SSL to false
Modern Pictochat comes in 2 distinct parts; server, and website. However, you only need to look at this repo for the info.
The server is made with Java 21 using a Jetty server.
The website is made in Javascript and html.
What you are going to need to do before anything else is building the java program.
First, download the source code and extract it.

Now, you are going to open a terminal in the same folder as the gradlew.bat and gradlew files.
Now run:
gradlew shadowjarAfter it is done, you should be able to find the jar in /build/builtJars/
Now, if you have decided to run the jar, you should get a prompt to type a directory. We are going to make that directory now.
So, make the directory somewhere on your drive, like C:/ or /var/opt/.
Now, you are going to want to go into that directory (with a CLI), and run
git clone https://github.com/xFN10x/ModernPictochat-Website.gitThis should make a new folder inside called: ModernPictochat-Website. Rename that to website.
(If you want to update the website, simply go into the website folder, and run git pull.)
Now, you will need SSL certificates.
(Ill assume you have a public, private, and domain certificate.)
This is a guide for how to make a JKS (Java KeyStore), which is required for this
Ill assume you have that JKS now, so move it to the directory with the website folder, and name it cert.jks
Finally, we are going to setup HCaptcha.
You are going to need to setup HCaptcha, and get the secret key, and public key.
Now that you have those, create a new file along side those website and cert.jks files/folders, and call it: secretCapchaKey.txt
Now in this txt, simply put in the secret key, with no whitespaces, and save.
Now go to the website folder, go to index.html, go to line 69 (haha funny number... moving on,) and it should be on an element that looks like this:
<h-captcha
id="signupCaptcha"
site-key="93d0a366-6982-4558-a108-62a03b96ce24"
host="mpc.xplate.dev"
size="normal"
theme="dark"
tabindex="0"
></h-captcha>Replace the site-key with your site key,
And also replace host with the domain attributed to the site key and save.
