A Signal bridge for Matrix To Your Mobile(iOs // ANDROID)
Go Terminal & type
git clone https://github.com/matrix-hacks/matrix-puppet-signal
cd matrix-puppet-signal
npm install
register/link with your signal mobile app
Before configuring the bridge with Matrix, you need to setup the Signal link with your phone. Open up your Signal app and go to Settings and then Linked Devices. You should see your camera preview open up.
In the terminal, run npm run link and you should soon see a giant QR code. Scan that with Signal.
If you get an error, restart the node process so that you can try with a different QR (it may have expired).
If you ever need to unlink it and cleanup the data and keys, run npm run clean. Make sure to delete the linked device from the Signal mobile app as well.
configure
Copy config.sample.json to config.json and update it to match your setup.
register the app service
Generate an signal-registration.yaml file with node index.js -r -u "http://your-bridge-server:8090"
Note: The 'registration' setting in the config.json needs to set to the path of this file. By default, it already is.
Copy this signal-registration.yaml file to your home server, then edit it, setting its url to point to your bridge server.
Edit your homeserver.yaml file and update the app_service_config_files with the path to the signal-registration.yaml file.
Restart your HS.
Launch the bridge with start.sh or node index.js. If you want to run the bridge as a service you can use the matrix-puppet-signal.service file as a template for every systemd based operating system.
Features:
1> Linking as a second device
2> Signal to Matrix direct text message
3> Matrix to Signal direct text message
4>Signal to Matrix group text message
5>Matrix to Signal group text message
6>Signal to Matrix image attachment message
7>Matrix to Signal image attachment message
8>Signal to Matrix file attachment message
9> Matrix to Signal file attachment message
10> contact list syncing
11>group syncing
12>show read receipts
13>send read receipts
14>show typing events
15>send typing events
Enjoy
Follow us for more...
No comments:
Post a Comment