Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dev-techmoe/gotify-bridge
Deliver your messages on Gotify to other place (Current only support WebPush)
https://github.com/dev-techmoe/gotify-bridge
Last synced: about 20 hours ago
JSON representation
Deliver your messages on Gotify to other place (Current only support WebPush)
- Host: GitHub
- URL: https://github.com/dev-techmoe/gotify-bridge
- Owner: dev-techmoe
- License: mit
- Created: 2021-08-22T07:14:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-30T07:59:09.000Z (over 3 years ago)
- Last Synced: 2023-08-16T08:02:49.049Z (over 1 year ago)
- Language: Go
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gotify Bridge
[![goreleaser](https://github.com/dev-techmoe/gotify-bridge/actions/workflows/goreleaser.yml/badge.svg?branch=master)](https://github.com/dev-techmoe/gotify-bridge/actions/workflows/goreleaser.yml)
[![GitHub license](https://img.shields.io/github/license/dev-techmoe/gotify-bridge)](https://github.com/dev-techmoe/gotify-bridge/blob/master/LICENSE)A bridge can helps you devlier your messages on Gotify to other place.
Current only support WebPush## What is Gotify
Gotify is a message server written in Golang. see [Homepage of Gotify](https://gotify.net/) for more detail.
## Security Warning
The current version of Gotify bridge is not enabled any auth method for webserver, make sure your bridge instance run with a safe network environment.
## Download
### Binary
See [Release page](https://github.com/dev-techmoe/gotify-bridge/releases/tag/v1.0)
### Docker
```plain
docker pull ghcr.io/dev-techmoe/gotify-bridge
```## Usage
1. write `config.json`, specify your gotify server address (websocket address) and webserver address (for showing a webpage to register webpush in browser)
```json
{
"Http": {
"ListenAddress": "127.0.0.1:8080"
},
"Gotify": {
"Address": "ws://your-gotify-address.com/stream?token=your_token_here"
}
}
```NOTICE: if your Gotify instance is run with TLS, use `wss://` instead of `ws://`
2. run Gotify bridge
if you use binary:
```bash
gotify-bridge --config /path/to/your/config.json
```
if you use docker (change the config path and port manually):
```bash
docker run --name gotify-bridge \
-v /path/to/your/config.json:/config.json \
-p 8080:8080 \
ghcr.io/dev-techmoe/gotify-bridge
```
3. visit `127.0.0.1:8080` (or other address you had set for webserver), click the "subscribe" button for register WebPush
4. Now try to push a message to your Gotify server for testing the bridge work normally.## LICENSE
MIT