Skip to content

Commit c45f590

Browse files
populate README
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
1 parent 09f170e commit c45f590

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

README.md

+23-21
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
1-
# gotify/plugin-template [![](https://travis-ci.org/gotify/plugin-template.svg?branch=master)](https://travis-ci.org/gotify/plugin-template)
1+
# gotify-website-misskey
22

3-
A plugin template for [gotify/server](https://github.com/gotify/server)
4-
using [gotify/plugin-api](https://github.com/gotify/plugin-api).
3+
Gotify Misskey Webhook Bridge
54

6-
## Getting Started
5+
![Screenshot](assets/screenshot.png)
76

8-
1. Clone, fork or copy this repository.
9-
1. Change `PLUGIN_NAME` in [Makefile](Makefile).
10-
1. Setup building on every release
11-
* Enable travis-ci in your repository.
12-
* Add `GH_TOKEN` environment variable see [travis-ci docs](https://docs.travis-ci.com/user/deployment/pages/#setting-the-github-token).
13-
1. Implement your plugin. See [plugin docs](https://gotify.net/docs/plugin).
14-
1. Create a release to automatically build the plugin.
7+
## Usage
158

16-
*When you're done, feel free to add your plugin to [gotify/contrib](https://github.com/gotify/contrib).*
9+
1. Enable the plugin, set the webhook slugs:
1710

18-
## Building
11+
```yaml
12+
sources:
13+
- slug: yumechi-no-kuni
14+
name: mi.yumechi.jp
15+
secret: xxxx
16+
- slug: misskey-io
17+
name: misskey.io
18+
secret: xxxx
19+
```
1920
20-
For building the plugin gotify/build docker images are used to ensure compatibility with
21-
[gotify/server](https://github.com/gotify/server).
21+
2. Copy the Webhook URL and secret to Misskey (Settings -> Webhook)
2222
23-
`GOTIFY_VERSION` can be a tag, commit or branch from the gotify/server repository.
23+
a. Set the base URL to receive any of 'replied to', 'renoted', 'mentioned' (reactions seem to have bugs upstream and nothing is received)
2424
25-
This command builds the plugin for amd64, arm-7 and arm64.
26-
The resulting shared object will be compatible with gotify/server version 2.0.20.
27-
```bash
28-
$ make GOTIFY_VERSION="v2.0.20" FILE_SUFFIX="for-gotify-v2.0.20" build
29-
```
25+
b. Set the base URL plus `/follow` to receive 'followed' events
26+
27+
3. Done!
28+
29+
## License
30+
31+
Apache 2.0

assets/screenshot.png

210 KB
Loading

0 commit comments

Comments
 (0)