{"repo":"mattermost/mattermost-plugin-starter-template","free":true,"listed":false,"github":"https://github.com/mattermost/mattermost-plugin-starter-template","clone":"git clone https://github.com/mattermost/mattermost-plugin-starter-template.git","description":"Build scripts and templates for writing Mattermost plugins.","language":"Go","stars":156,"topics":["hacktoberfest","mattermost","mattermost-plugin","template"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"Plugin Starter Template This plugin serves as a starting point for writing a Mattermost plugin. Feel free to base your own plugin off this repository. To learn more about plugins, see our plugin documentation. This template requires node v16 and npm v8. You can download and install nvm to manage your node versions by following the instructions here. Once you've setup the project simply run nvm i within the root folder to use the suggested version of node. Getting Started Use GitHub's template feature to make a copy of this repository by clicking the \"Use this template\" button. Alternatively shallow clone the repository matching your plugin name: Note that this project uses Go modules. Be sure to locate the project outside of $GOPATH . Edit the following files: 1. plugin.json with your id , name , and description : 2. go.mod with your Go module path, following the / / convention: 3. Replace all occurrences of github.com/mattermost/mattermost-plugin-starter-template in the codebase with your Go module path: 4. Replace .golangci.yml local-prefixes attribute with your Go module path: 5. Build your plugin: This will produce a single plugin file (with support for multiple architectures) for upload to your Mattermost server: Development To avoid having to manually install your plugin, build and deploy your plugin using one of the following options. In order for the below options to work, you must first enable plugin uploads via your config.json or API and restart Mattermost. Develop","default_branch":null,"files":null,"tree":[],"storefront":"/r/mattermost","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mattermost/mattermost-plugin-starter-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}