signal-cli-rest-api
signal-cli-rest-api is a wrapper around signal-cli and allows you to interact with it through http requests.
Features
- register/verify/unregister a number
- send messages to multiple users/a group with one or multiple attachments
- receive messages (with attachments)
- block/unblock users and groups
- link to existing device
- list/create/update/leave groups
- update profile (name/avatar)
To-Do
- integrate dbus daemon for faster sending
- authentication
Installation
pip
If you install signal-cli-rest-api through pip you need to manually install signal-cli on your system.
# by default the app will look for the signal config files in ~/.local/share/signal-cli
# you can change the directory by setting the SIGNAL_CONFIG_PATH env var to the desired path
# e.g. export SIGNAL_CONFIG_PATH=/opt/signal
pip install signal-cli-rest-api
uvicorn signal_cli_rest_api.main:app --host 0.0.0.0 --port 8000
Docker
export SIGNAL_DATA_DIR=~/signal/
docker run --name signal --restart unless-stopped -p 8000:8000 -v $SIGNAL_DATA_DIR:/root/.local/share/signal-cli sebastiannoelluebke/signal-cli-rest-api
docker-compose
git clone https://github.com/SebastianLuebke/signal-cli-rest-api.git
cd signal-cli-rest-api
# docker-compose build
docker-compose up -d
Security Notice
signal-cli-rest-api doesn't have any authentication for now. Everyone who knows the service address+port and the number is able to get your messages and send messages. So only use it a trusted environment and block external access.
Interactive Documentation
After installing signal-cli-rest-api start it and open the following page http://localhost:8000/docs
Metadata
Release files for signal-cli-rest-api 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| signal-cli-rest-api-0.2.0.tar.gz | 7.5 kB | Without provenance | Details for signal-cli-rest-api-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| signal_cli_rest_api-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for signal_cli_rest_api-0.2.0-py3-none-any.whl |
Total release size: 17.1 kB
Release files / signal-cli-rest-api-0.2.0.tar.gz
| Download URL | signal-cli-rest-api-0.2.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f6ca6f1c3ea41fcee0011c9ed0ace5f8db53d0c78d13301bff52afa46bc0131
|
|
BLAKE2b-256 checksum How to use checksums |
6382c80b313ca7dccc5bb6e7c2d523068dfa855980e9e28825a41d14e58c157d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.9 Linux/5.4.0-1043-azure
|
Release files / signal_cli_rest_api-0.2.0-py3-none-any.whl
| Download URL | signal_cli_rest_api-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfa8b6dcca89d7486aa49f11cc674617fedb3772142d3952838defe0b196a319
|
|
BLAKE2b-256 checksum How to use checksums |
1815f3ad73956cc3e07d2cd70ad556daacceff70039a25dc6007e94677e59256
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.9 Linux/5.4.0-1043-azure
|
Security for signal-cli-rest-api 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.