Skip to content

gotify/plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotify/plugin-template

A plugin template for gotify/server using gotify/plugin-api.

Getting Started

  1. Clone, fork or copy this repository.
  2. Change PLUGIN_NAME in Makefile.
  3. Setup building on every release
    • Enable travis-ci in your repository.
    • Add GH_TOKEN environment variable see travis-ci docs.
  4. Implement your plugin. See plugin docs.
  5. Create a release to automatically build the plugin.

When you're done, feel free to add your plugin to gotify/contrib.

Building

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