readme formatting
This commit is contained in:
parent
38b746711d
commit
464540de9a
1 changed files with 11 additions and 11 deletions
|
@ -10,10 +10,12 @@ Using fixed pysignald https://gitlab.com/stavros/pysignald as python library. La
|
|||
Create directories `/signald, /signald/run, /signald/gradle` to avoid permissions issues with socket. You may still need to chown them if signald is not working
|
||||
|
||||
## registrations.json
|
||||
Simple json file that receiver and sender scripts use as source of registered Signal accounts. At this time registrations need to be added manually to this file.
|
||||
Simple json file that receiver and sender scripts use as source of registered Signal accounts.
|
||||
At this time registrations need to be added manually to this file.
|
||||
|
||||
## Receiver
|
||||
Creates threads for each registered number (in registrations.json) and listens for new messages. If there is new message, it writes it to RabbitMQ (queue signal-receive) for processing.
|
||||
Creates threads for each registered number (in registrations.json) and listens for new messages.
|
||||
If there is new message, it writes it to RabbitMQ (queue signal-receive) for processing.
|
||||
|
||||
## Sender
|
||||
Listens for new messages in RabbitMQ (queue signal-send) and sends them to signald.
|
||||
|
@ -26,9 +28,7 @@ Reason for using it is to accomodate communication between scripts and to be abl
|
|||
Processes recieved messages in RabbitMQ and sends new messages into it.
|
||||
Doesn't care about the state of sending or receiving (for now).
|
||||
More workers could be added for different tasks if needed.
|
||||
|
||||
Right now, worker just takes received message and sends it back to the sender.
|
||||
|
||||
In future, there should be API for receiving messages from other apps and respond to automatic messages.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue