Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/butlerx/channels
websocket based streaming data service
https://github.com/butlerx/channels
Last synced: 15 days ago
JSON representation
websocket based streaming data service
- Host: GitHub
- URL: https://github.com/butlerx/channels
- Owner: butlerx
- License: mit
- Created: 2021-01-02T18:09:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T22:50:25.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T22:12:07.284Z (2 months ago)
- Language: Rust
- Size: 305 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# channels
Channels is a distributed multi-channel websocket based streaming data service.
Channels Server allows for publishing arbitrary data that can be consumed by
multiple consumers.Channels are low cost to create and delete allowing for user to send generate
shared secrets to send and consume data from without needing to configure
servers.Channels is designed for easy webhook integration, etl and buffering of
distributed workloads.## Spark Gapping
Channels has to endpoints, a public endpoint that only excepts post requests and
a private with all endpoint available. This allow channels to accept webhooks
from multiple servers without having to have the consumption endpoint available
publicly.## Running
**requires: NATS**
`cargo run`
### Configuration
## Development
To start the server in dev mode first run from the root of the repo
```bash
cargo watch -x 'run -- -vvv' --ignore client
```This Start the public API Server on port `9002` and the private server on
`9001`.Then from the `client` directory run
```bash
yarn start
```This will start a dev server for the client app for the public endpoint on port
`3000` that will proxy all requests to the public api server