Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spacebro/spacebro-bridge
An app to connect a socket.io server to spacebro
https://github.com/spacebro/spacebro-bridge
Last synced: 13 days ago
JSON representation
An app to connect a socket.io server to spacebro
- Host: GitHub
- URL: https://github.com/spacebro/spacebro-bridge
- Owner: spacebro
- Created: 2017-12-28T16:59:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-28T17:03:07.000Z (about 7 years ago)
- Last Synced: 2024-11-21T04:11:40.037Z (2 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# spacebro-bridge
An app to connect a socket.io server to spacebro## ❓Why ?
We love to use spacebro to connect multiple apps together.
Sometimes, we want to use an app written outside of the spacebro galaxy.
When faced whit this, there is two path you can use:
* the long path: fork the foreign app and implement `spacebro-client` inside.
* the galaxy shortcut: `spacebro-bridge`spacebro-bridge will connect to the foreign socket.io server, connect to
spacebro, and forward all messages back and forth between the two.
Socket.io acknowledgments are working too!## 🌍 Installation
`yarn`
## ⚙ Configuration
```
cp settings/settings.default.json settings/settings.json
```And edit settings.json to match the host and port of the foreign
socket.io server.
You can also change settings with argv parameters.
Learn more about this on [standard-settings](https://github.com/soixantecircuits/standard-settings)## 👋 Usage
```
npm start
```## 🕳 Troubleshooting
Ask emmanuel on soixantecircuits.slack.com
## ❤️ Contribute
Please do!