Pyrebase
Chat Rápido, Simples e Seguro, feito para rodar no terminal usando Python + Firebase Database.
Substitua sua firebaseConfig no Database.py
firebaseConfig = {
apiKey: "api-key",
authDomain: "project-id.firebaseapp.com",
databaseURL: "https://project-id.firebaseio.com",
projectId: "project-id",
storageBucket: "project-id.appspot.com",
messagingSenderId: "sender-id",
appID: "app-id",
}
Execute no terminal python Pychat.py
Inicie o terminal em C:\Users\USER\AppData\Local\Programs\Python\PythonXX-xx
Execute no terminal python LOCAL_PYCHAT-CLI/Pychat.py
-
Pychat.py:
Primeiro arquivo a ser executado: Configura o nome de usuário (bin/data/UserName.cfg) e inicia o ChatBox.py e InputBox.py -
ChatBox.py:
Segundo arquivo a ser executado: Enviar e receber mensagens e comandos específicos -
InputBox.py:
Terceiro arquivo a ser executado: Caixa para digitar textos ¯_(ツ)_/¯