Skip to main content

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 ; ) )

Hacktoberfest 2019 presented by DigitalOcean and DEV

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 using python 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 .env file like this TMESSAGE_API_URL=http://localhost:8080 or TMESSAGE_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tmessage-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file tmessage-0.0.2.tar.gz.

File metadata

  • Download URL: tmessage-0.0.2.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

Hashes for tmessage-0.0.2.tar.gz
Algorithm Hash digest
SHA256 119a60c60c2ef72678b3c9ab0777a40152777db4fa5520d4ab55ab40a6ac236b
MD5 cc829b0b077034dddf2bfa18553ebf39
BLAKE2b-256 bc0617df25cc781a612307ec0a20e79ad26f6517b57fa5c045f57d8e0690c2ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page