modchat
NOTE: This code is depreciated.
Further work on Modchat is being done in the https://github.com/micahlt/modchat-server and https://github.com/micahlt/modchat-vue repositories. This repository will not be updated or worked on, and much of its code is insecure. I recommend not forking or using it.
Modchat (stylized modchat) is a moderated real-time chatting platform designed for Scratch users.
For Users
Modchat uses a secure server combined with SV2 to sign you in. While this is very safe, Modchat is currently under development and you could potentially expose your verification token to code contributors while they are working on it. If you want to stay safe, we reccommend that you not use Modchat until a stable, secured version is released.
For Contributors
If you're interested in contributing, I'd love to have your help! I ask that you do the following things:
- Comment your code: Every line that isn't just brackets should have comments telling what it does. All
console.log
lines should have // ROP
at the end to indicate that they should be removed on production.
- Use a beautifier: If possible, use an offline text editor that supports code beautification so we can actually read your code!
- Find security flaws: If you see a flaw that could possibly get around the moderation system or leak user data, please point it out. It's very important that we remain secure and follow the Scratch Community Guidelines.
- Ask questions: If you don't know what a line of code does, file an issue and other contributors can help you figure it out. Or use Stack Overflow.
Notes on the codebase
- Any time you see "ROP" signifies that the line of code should be removed or commented out when the version goes into production (Remove On Production)
- Any time you see "SV", "sv", or "sV" signifies that that line of code/variable/comment relates to ScratchVerifier.
Notes on hosting
Test ModChat on Replit.com >>