LashaBuxo / mattermost-plugin-anonymous

End to end encryption plugin for Mattermost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anonymous Plugin CircleCI branch codecov

Maintainer: @dbejanishvili Co-Maintainers: @bakurits @Gvantsats

Overview

This plugin support end to end encrypted messages for mattermost channels. To learn more about plugins, see our plugin documentation.

Configuration

Contributing

Fork the repository to your own account and then clone it to a directory outside of $GOPATH matching your plugin name:

git clone https://github.com/owner/mattermost-plugin-anonymous

Note that this project uses Go modules. Be sure to locate the project outside of $GOPATH, or allow the use of Go modules within your $GOPATH with an export GO111MODULE=on.

To build your plugin use make

Use make check-style to check the style.

Use make debug-dist and make debug-deploy in place of make dist and make deploy to configure webpack to generate unminified Javascript.

make will produce a single plugin file (with support for multiple architectures) for upload to your Mattermost server:

dist/com.example.my-plugin.tar.gz

Alternatively you can deploy a plugin automatically to your server, but it requires login credentials:

export MM_SERVICESETTINGS_SITEURL=http://localhost:8065
export MM_ADMIN_USERNAME=admin
export MM_ADMIN_PASSWORD=password
make deploy

or configuration of a personal access token:

export MM_SERVICESETTINGS_SITEURL=http://localhost:8065
export MM_ADMIN_TOKEN=j44acwd8obn78cdcx7koid4jkr
make deploy

In production, deploy and upload your plugin via the System Console.

About

End to end encryption plugin for Mattermost

License:Apache License 2.0


Languages

Language:Go 65.7%Language:JavaScript 27.3%Language:Makefile 6.2%Language:Shell 0.6%Language:HTML 0.1%