A plugin template for gotify/server using gotify/plugin-api.
- Clone, fork or copy this repository.
- Change
PLUGIN_NAME
in Makefile. - Setup building on every release
- Enable travis-ci in your repository.
- Add
GH_TOKEN
environment variable see travis-ci docs.
- Implement your plugin. See plugin docs.
- Create a release to automatically build the plugin.
When you're done, feel free to add your plugin to gotify/contrib.
For building the plugin gotify/build docker images are used to ensure compatibility with gotify/server.
GOTIFY_VERSION
can be a tag, commit or branch from the gotify/server repository.
This command builds the plugin for amd64, arm-7 and arm64. The resulting shared object will be compatible with gotify/server version 2.0.20.
$ make GOTIFY_VERSION="v2.0.20" FILE_SUFFIX="for-gotify-v2.0.20" build