GithubHelp home page GithubHelp logo

isabella232 / mattermost-developer-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattermost/mattermost-developer-kit

0.0 0.0 0.0 98 KB

Command line tool for generating Mattermost integration and plugin templates

License: Apache License 2.0

JavaScript 73.72% Makefile 8.99% Go 17.29%

mattermost-developer-kit's Introduction

mdk - Mattermost Developer Kit (experimental)

mdk is a tool for generating and managing templates for Mattermost integrations and plugins in Go and JavaScript.

The tool is still experimental and subject to changes.

Install

npm install -g mdk

Usage

mdk init --help

Plugins

  1. Generate a template for a web/desktop app plugin in the current directory:
mdk init plugin
  1. Switch into the plugin directory and code your plugin:
cd your-plugin

See the template explanation for more information

  1. Once the plugin is ready, build it:
make build

Integrations

  1. Generate an integration in the current directory:
mdk init integration
  1. Switch into the integration directory and code your integration:
cd your-integration

See the template explanation for more information

  1. To test your integration, run it:
make run
  1. Once done, build distributables for Linux, Mac OSX and Windows:
make dist

This command will write a distributable of your plugin to dist/your-plugin.tar.gz. You can then take this and upload it to your Mattermost server.

Current Features

  • Generate template for web and desktop app plugins.
  • Generate template for REST API integrations.

Planned Features

  • Advanced features for the webapp plugin template (Redux store, etc.)
  • Generate templates for server plugins.
  • Generate templates for webhook and slash command integrations, including bot integrations, in both JavaScript and Go.
  • Generate templates for OAuth2 integrations in both JavaScript and Go.
  • Manage generated integrations and plugins, such as adding features to an existing plugin.

Templates

Explanations of each of the different templates can be found in their respective READMEs:

mattermost-developer-kit's People

Contributors

jwilander avatar jasonblais avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.