This is a lightweight and low bandwidth CLI tool which can be used for group communication right from your terminal.
Project description
tmessage
This is a lightweight and low bandwidth CLI tool which can be used for group communication right from your terminal (isn't this cool ; ) )
Contributions are welcome for Hacktoberfest 2019 (Presented by DigitalOcean and DEV). Search for issues labeled Hacktoberfest.
Installation instructions
- Clone this project using the command
git clone https://github.com/Haider8/tmessage.git - Setup your python3 virtual environment using this command
virtualenv -p python3 venv - Switch to your venv using
source venv/bin/activate - Now install the required dependencies by running
pip install . - Now to run tmessage use
tmessage --user [YOUR USERNAME] --port [PORT (optional)] --server [YOUR BROKER IP OR URL (optional)] - To test this you can open different terminal tabs.
Some optional instructions for PROs ;)
-
If you don't want to create your own broker it's perfectly fine as tmessage is using a default broker
test.mosquitto.org. Therefore, you can then run tmessage usingpython msg.py --user [YOUR USERNAME]. -
If you happen to use this on a different port, it can be specified as -
tmessage --user [USERNAME] --port [PORT]. If omitted, it defaults to 1883. -
This project uses an API for the authentication of users. Default API Url is this. If you want to use your own authentication API you can deploy our tmessage-api locally(for testing) or on some cloud (the default API is hosted on Heroku). Then, you can set that Url in
.envfile like thisTMESSAGE_API_URL=http://localhost:8080orTMESSAGE_API_URL=<your-api-url>.
Development Instructions
- You can first fork tmessage and can then clone using command
git clone https://github.com/[YOUR USERNAME]/tmessage.git - Please send PRs using new branch and not master
- Commit message should perfectly describe the code changes done by you
Would love to hear any suggestions, feedback, feature requests or any other issue
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tmessage-0.0.1.tar.gz.
File metadata
- Download URL: tmessage-0.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d34883edc3f690987ed9f873f5faf3041972ff8ed525e9a42ca6320f27aefef
|
|
| MD5 |
b4f82f686c704a94d56be24457fcb1dd
|
|
| BLAKE2b-256 |
dfd06553321964e4552e662069a9f08df0e9d7b970a2edbf554d99b0839c5787
|