https://github.com/ajb413/python-desktop-chat-application
A PubNub powered Python chat application for cross-platform desktop.
https://github.com/ajb413/python-desktop-chat-application
chat chat-application cross-platform desktop desktop-app desktop-application desktop-client pyqt pyqt5 python python-chat python-chat-application python-chatroom python3 qt qt5
Last synced: 7 days ago
JSON representation
A PubNub powered Python chat application for cross-platform desktop.
- Host: GitHub
- URL: https://github.com/ajb413/python-desktop-chat-application
- Owner: ajb413
- Created: 2019-09-25T18:53:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-06T16:56:25.000Z (over 1 year ago)
- Last Synced: 2025-03-30T10:33:49.359Z (about 1 month ago)
- Topics: chat, chat-application, cross-platform, desktop, desktop-app, desktop-application, desktop-client, pyqt, pyqt5, python, python-chat, python-chat-application, python-chatroom, python3, qt, qt5
- Language: Python
- Size: 2.93 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Desktop Chat Application
A [PubNub](https://www.pubnub.com/?devrel_gh=python-desktop-chat-application) powered Python 3 chat application. It's cross-platform desktop, thanks to PyQt. It sends and recieves chat messages using the PubNub network, so chat messaging is generic for devices/programming languages.
This is a modified version of [Michael Herrmann's PyQt5 Example Chat](https://github.com/pyqt/examples/tree/_/src/11%20PyQt%20Thread%20example). I made it work with PubNub for the backend messaging.
## Install
- First make a [free PubNub account](https://dashboard.pubnub.com/signup?devrel_gh=python-desktop-chat-application) to instantly get API keys. It's free up to 1 million messages per month, forever.
- Clone this repository.
- Copy and paste your free PubNub API keys onto line 18 of `chatapp.py`.```python
pnconfig.publish_key = '__YOUR_PUBNUB_PUBLISH_KEY_HERE__'
pnconfig.subscribe_key = '__YOUR_PUBNUB_SUBSCRIBE_KEY_HERE__'
```- Save your code file.
- Navigate to the project directory using your command line application.
- Run this to install Python libraries:```
pip3 install -r requirements.txt
```## Run the Python Chat App
```
python3 chatapp.py
```