Skip to content
← Back to Community
PyChat - Easy to use chatroom
Profile icon
ParrotDev

My first repl.it post. Wow!

Well, this is PyChat. It is a very simple chatroom that has logins, multiple pages, and saving messages!

How to use

  1. Start the script.
  2. Type 2 to sign-up
  3. Choose a username and password
  4. Type 1 for login
  5. Type your username and password
  6. Chat!
  7. UPVOTE PLEASE

Notes

  • This was from a chatroom template by @JBloves27 (sorry for ping, but I wanted to give you credit) and I spiced it up a bit!
  • Don't share your login. Other people can then login as you.
  • If you want semi-fullscreen, click here

Future Updates

  • More colors!
  • Better look

Credits

  • JBloves27 for template
  • @Thecrowbar1234 for his post on Python colors (again, sorry for ping but I wanted to give you credit plus it helped a lot)

Good luck, and happy chatting :)

Voters
Profile icon
Anirudh1234567
Profile icon
6ix-xiv
Profile icon
Bl37
Profile icon
Code1Tech
Profile icon
IlikeSplatoonThree
Profile icon
Wdevelopment
Profile icon
HBthePencil
Profile icon
winnerwannabe2
Profile icon
wesleyBoi
Profile icon
abd-el-hakimel
Comments
hotnewtop
Profile icon
JBloves27

Nicee! Np, thanks for mention!

Profile icon
ParrotDev

@JBloves27 Thanks! I'm glad you like it.

Profile icon
JBloves27
Profile icon
Whippingdot

haven't tried it but from the txt file I think it is good

Profile icon
VishnuKappagant

how does dis work? LUL

Profile icon
ParrotDev

@VishnuKappagant When it asks it for your message it writes it to a .txt file then prints it along with all the other messages.

Profile icon
RGBcode11

noone is online

Profile icon
muffinman12345

Nice

Profile icon
prashreyjha

Nice Project

Profile icon
Textcrafter101

File "main.py", line 1
wimport os, time
^
SyntaxError: invalid syntax

Profile icon
Textcrafter101

@Textcrafter101 thats all that i get

Profile icon
ParrotDev

@Textcrafter101 oops sorry! I will fix that

Profile icon
RithvikKandula

only if anyone was online

Profile icon
mkcodes

print('\033[1;31;20mThat username has already been taken.\033[0;37;20m') never appears, i can change anyones pasword by registering w/ their username and new password, here is a fix: https://www.toptal.com/developers/hastebin/fawofocata.php

Profile icon
DeadWither

does with open and file = open make a differnece

Profile icon
ParrotDev

@DeadWither I can't really tell what you are asking, but if it is what I think it is - Yes, because you have to define what file you want the program to write to. It's like opening a document with a text editor, writing a file, then closing the window.

Profile icon
soniag2011

Love it! A super cool game!!!!!!!!!!

Profile icon
winnerwannabe2

this is awesome! is it ok to copy the code and use it personaly?

Profile icon
ParrotDev

@winnerwannabe2 Sure! Make sure to give me credit, though.

Profile icon
winnerwannabe2
Profile icon
DeadWither

Hey, I can hack this! I can basically go to anyone's login. Everyone's password can be seen by me! The database is weak. If you don't believe me, make an user account and tell me your username! I will tell your password!

Profile icon
DeadWither

@DeadWither I can also change your password or delete your account!

Profile icon
ParrotDev

@DeadWither Gee, thanks for telling everyone and ruining the whole point of the project.

Profile icon
soniag2011
Profile icon
2207poggers

@DeadWither did u jus self-ping

Profile icon
LegendaryWolf

good job!!

Profile icon
ParrotDev

Thank you, @LegendaryAlpha!