/miab

Message in a Bottle | Python

Primary LanguagePython

Python Badge Firebase Badge

Message In A Bottle

A simple Python app that allows users to send and receive messages stored in a Firestore database. The application features a GUI built with Tkinter.

Features

  • Send Messages: Users can send a message using the text entry field and send button.
  • Random Messages: Users receive a random message from the database when they submit a message of their own.
  • Timestamps: Each message is timestamped when submitted.

Installation

To run the Message In A Bottle application locally, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/joshbivens/miab.git
  2. Install the dependencies:

    pip install -r requirements.txt
  3. Link your own empty Firestore. The app looks for a serviceAccountKey.json file.

  4. Run the app:

    python main.py

Populating Firestore with Dummy Messages

Populate your Firestore database with dummy messages using the PopulateDB.py script:

python populate_db.py