Skip to content

Publisher is the middle-ware that sits between the Gateway Server and the SMSWithoutBorder backend. It does the handshake between the necessary parties and performs the request to decrypt the encrypted stored tokens. This is followed by it using those tokens to make a request on the users behalf to the required platform

License

Notifications You must be signed in to change notification settings

smswithoutborders/RelaySMS-Publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RelaySMS Publisher

RelaySMS Publisher allows users to publish content to online platforms (like Gmail, Twitter, Telegram) using SMS when internet connectivity is unavailable.

Requirements

  • Python: Version >= 3.8.10
  • Dependencies: Install system packages:
    sudo apt install build-essential python3-dev

Quick Start

  1. Setup virtual environment:

    python3 -m venv venv
    . venv/bin/activate
    pip install -r requirements.txt
  2. Download and compile protocol buffers:

    make grpc-compile
  3. Start the server:

    export GRPC_HOST=localhost
    export GRPC_PORT=8000
    # Additional environment variables as needed
    
    # Start the server
    python3 grpc_server.py

Supported Platforms

The list of supported platforms is available in platforms.json and can also be retrieved from the REST API at https://publisher.smswithoutborders.com/v1/platforms.

Testing

For information on setting up and running tests, see the Test Documentation.

Platform Adapters

Platform adapters can be used to extend RelaySMS Publisher's functionality. For more information, see the Platforms Documentation.

Documentation

License

This project is licensed under the GNU General Public License (GPL) v3. See the LICENSE file for details.

About

Publisher is the middle-ware that sits between the Gateway Server and the SMSWithoutBorder backend. It does the handshake between the necessary parties and performs the request to decrypt the encrypted stored tokens. This is followed by it using those tokens to make a request on the users behalf to the required platform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages