RandomOnFire | Mattermost backend for a random/choices command

 by   McFoggy JavaScript Version: Current License: Apache-2.0

kandi X-RAY | RandomOnFire Summary

kandi X-RAY | RandomOnFire Summary

RandomOnFire is a JavaScript library. RandomOnFire has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Backend code for powering a Mattermost slash command that allow to randomize some choices. Can be used in place a dice, or to make random choices between different proposals. This project has been greatly inspired by Jed Fonner work on his vote/poll application for Mattermost.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              RandomOnFire has a low active ecosystem.
              It has 5 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              RandomOnFire has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of RandomOnFire is current.

            kandi-Quality Quality

              RandomOnFire has no bugs reported.

            kandi-Security Security

              RandomOnFire has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              RandomOnFire is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              RandomOnFire releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of RandomOnFire
            Get all kandi verified functions for this library.

            RandomOnFire Key Features

            No Key Features are available at this moment for RandomOnFire.

            RandomOnFire Examples and Code Snippets

            No Code Snippets are available at this moment for RandomOnFire.

            Community Discussions

            No Community Discussions are available at this moment for RandomOnFire.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install RandomOnFire

            Setting this up requires doing some initial Firebase setup, then doing some initial Mattermost setup, then wiring the two systems together.
            Create a new project in Firebase
            Clone this repo to a new local folder and cd into the new folder
            Run cd functions && npm install
            Run firebase login
            Run firebase use --add and select the Firebase project you created in step 1.
            Go to your Firebase project settings and note the "Project ID". Your Functions' base url will be https://us-central1-PROJECTID.cloudfunctions.net (replace PROJECTID with your Project ID)
            Set the Firebase Functions base url (e.g., https://us-central1-PROJECTID.cloudfunctions.net) as a Firebase environment variable by running firebase functions:config:set functions.baseurl="your functions base url" (starting with https:// and ending without a trailing slash)
            Create a new Slash command in Mattermost (I suggest calling it something short, like "rnd")
            Select "POST" for Request Method
            Fill in a dummy Request URL for now, we'll come back and change this in a bit.
            Fill out the rest of the Slash command configuration as you please, then save
            Mattermost will generate a unique token for your Slash command. Note that down.
            On a single installation, if you have multiple mattermost teams and want to use the slash command on each, then you have to register several tokens (one for each slash command created). For that you can define token to contain several command id by separating them using a comma firebase functions:config:set mattermost.token="token1,token2,token3".
            Set the Mattermost token as a Firebase environment variable by running firebase functions:config:set mattermost.token="your Mattermost token"
            Check your Firebase environment config by running firebase functions:config:get - it should look like:
            Deploy your project by running firebase deploy.
            When it finishes deploying, it will log the URL for each Function. Note the "Function URL" for slashChoices (e.g., https://us-central1-PROJECTID.cloudfunctions.net/slashChoices)
            Edit your Mattermost Slash command and update the Request URL to be the URL of your Firebase Functions slashChoices function

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/McFoggy/RandomOnFire.git

          • CLI

            gh repo clone McFoggy/RandomOnFire

          • sshUrl

            git@github.com:McFoggy/RandomOnFire.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by McFoggy

            cssfx

            by McFoggyJava

            TodoOnFire

            by McFoggyJavaScript

            xhub4j

            by McFoggyJava

            fxnav-interceptor

            by McFoggyJava