Python flask app that uses voip.ms to manage a number of DID numbers for SMS. Can be used to get mostly anonymous texts and sms verification.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
anons-voip 9f17500dcd change up the run script to use waitress 1 month ago
app changed default site 1 month ago
.gitignore changed gitignore to prevent config leak 1 month ago
README.md added information about what the server serves 1 month ago
requirements.txt updating to use waitress 1 month ago
run change up the run script to use waitress 1 month ago

README.md

voipSMS

Python flask app that uses voip.ms to manage a number of DID numbers for SMS. Can be used to get mostly anonymous texts and sms verification.

How to use

  1. Clone the repo

git clone http://git.community.i2p/anons-voip/voipsms.git && cd voipsms

  1. Create and activate a python venv

python3 -m venv venv && source ./venv/bin/activate

  1. Install requirements

pip install -r requirements.txt

  1. Set your config

vim config.json

Read about how to set up your config here!

  1. Start up the server

./run

Config

The config used in this project uses the JSON format and expects a username and password

Ex:

    {
        "username":"voipms-email",
        "password":"voipms-api-password"
    }

Endpoints

/numbers

Returns a list of numbers in use

Supports: GET

Returns a list of javascript objects with keys: did (int as string), sms_available (boolean as int), mms_available (boolean as int)

/sms

Returns sms/mms messages for a given number

Supports: GET,POST Expects: string did

Returns a list of javascript objects with keys: message (string), did (int as string), contact (string as int), date (date as string), media (list)

/enablesms

[DISABLED] Enables sms feature for a given number

Supports: GET,POST Expects: string did

Returns a boolean as int