Skip to content
Repl icon
gdindex-code-builder
maple3142
maple3142
This repl has no description
More repls
HyperPaint BETA
HyperPaint BETA
HyperAlternative
HyperAlternative
Welcome To HyperPaint BETA Have an idea of what to paint but don't have a place to paint it? You've come to the right place. Save Paintings Save Custom Colors
#games
+3
ColdChat Client (chat app)
ColdChat Client (chat app)chat app in node.js using socket.io I've made many chat apps previously but I got inspiration for a simplistic-looking, console-based one from the previously trending "ctrl chat" (by @blockowo). I felt bad about its many serious security flaws and literally zero validation. Seeing it get destroyed by exploiters made me want to start working on a secure chat app with validation, backend word filters, powerful anti-spam, and a proper account system. So far I've only made the basic security infrastructure and a simple layout, plus a powerful anti spam. This of course isn't finished and there are PLENTY of updates planned and coming soon.
Evolution
EvolutionSimulate evolution by selecting for certain criteria! This simulation tries to replicate evolution by simulating movements of little creatures named "cells". A small pet project by IcemasterEric, this turned out to work extremely well!
1comment
craigz
craigz6 months ago

hey @maple3142 you may want to check out and scrub lines 25 & 26 in the file index.js where your "client_id" & "client_secret" values are exposed.

this page https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables shows how to (easily) keep the secret(s), um, secret.

also, fyi, i found the same information (client_id & client_secret) in the github repo for the project, in the worker.js file. you can find information on hiding secrets in github repos here: https://docs.github.com/en/actions/security-guides/encrypted-secrets

good luck & don't hesitate to reach out if you want a hand with any of this.