All Projects → matterpoll → matterpoll-emoji

matterpoll / matterpoll-emoji

Licence: MIT License
[DEPRECATED] Poll server for Mattermost

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to matterpoll-emoji

op-mattermost
OpenProject and Mattermost integration
Stars: ✭ 19 (-50%)
Mutual labels:  slash-commands, mattermost
addon-sdk-content-scripts
DEPRECATED | Use WebExtensions instead | Add-ons demonstrating how to use content scripts in the Add-on SDK.
Stars: ✭ 23 (-39.47%)
Mutual labels:  deprecated
gitlab-mattermost-backup
A simple backup script for mattermost in gitlab omnibus package
Stars: ✭ 23 (-39.47%)
Mutual labels:  mattermost
mattermost-plugin-jenkins
A Mattermost plugin to interact with Jenkins
Stars: ✭ 25 (-34.21%)
Mutual labels:  mattermost
react-infinity-menu
A react component that displays an unlimited deep menu
Stars: ✭ 59 (+55.26%)
Mutual labels:  deprecated
jade-babel
Jade plugin for Babel
Stars: ✭ 39 (+2.63%)
Mutual labels:  deprecated
mattermost-plugin-starter-template
Build scripts and templates for writing Mattermost plugins.
Stars: ✭ 74 (+94.74%)
Mutual labels:  mattermost
aldryn-bootstrap3
DEPRECATED, this project is no longer maintained, see README for more information.
Stars: ✭ 44 (+15.79%)
Mutual labels:  deprecated
hikari-intro
An introduction to hikari, complete with different examples for different command handlers.
Stars: ✭ 17 (-55.26%)
Mutual labels:  slash-commands
HAN-pytorch
(Deprecated) Hierarchical Attention Networks for Document Classification (https://www.cs.cmu.edu/~diyiy/docs/naacl16.pdf) - in Pytorch
Stars: ✭ 39 (+2.63%)
Mutual labels:  deprecated
cleverbot
Deprecated/unmaintained. See https://www.cleverbot.com/api/
Stars: ✭ 23 (-39.47%)
Mutual labels:  deprecated
react-native-apple-sign-in
Apple Signin for your React Native applications
Stars: ✭ 16 (-57.89%)
Mutual labels:  deprecated
broccoli-traceur
Traceur is a JavaScript.next to JavaScript-of-today compiler
Stars: ✭ 29 (-23.68%)
Mutual labels:  deprecated
apiblueprintorg
old apiblueprint.org site
Stars: ✭ 19 (-50%)
Mutual labels:  deprecated
matterless
Self-hosted serverless
Stars: ✭ 23 (-39.47%)
Mutual labels:  mattermost
jog arm
A real-time robot arm jogger.
Stars: ✭ 39 (+2.63%)
Mutual labels:  deprecated
mattermost-plugin-github
GitHub plugin for Mattermost
Stars: ✭ 112 (+194.74%)
Mutual labels:  mattermost
mattermost-plugin-custom-attributes
Mattermost plugin for adding custom attributes to users!
Stars: ✭ 26 (-31.58%)
Mutual labels:  mattermost
Drupal-Scaffold
DEPRECATED: This project has been replaced by documentation within Confluence regarding best practices for setting up a new Drupal 9 project.
Stars: ✭ 48 (+26.32%)
Mutual labels:  deprecated
python-poster
DEPRECATED Streaming HTTP uploads and multipart/form-data encoding
Stars: ✭ 16 (-57.89%)
Mutual labels:  deprecated

DEPRECATED: This repository is no longer maintained.

Please consider using Matterpoll a Mattermost plugin instead.

No Maintenance Intended


matterpoll-emoji

Build Status codecov Go Report Card Releases

Polling feature for Mattermost's custom slash command.

Requirements

Setup Guide

Setup Mattermost

Create a Custom Slash Command from Integration > Slash Commands > Add Slash Command.

  • DisplayName - Matterpoll
  • Description - Polling feature by https://github.com/matterpoll/matterpoll-emoji
  • Command Trigger Word - poll
  • Request URL - http://localhost:8505/poll
  • Request Method - POST
  • Response Username - Leave this empty
  • Response Icon - Leave this empty
  • Autocomplete - Enable this
  • Autocomplete Hint - [Question] [Option1] [Option2]...
  • Autocomplete Description - Start a poll

Copy the Token from your newly created slash command

Caution: If you run matterpoll-emoji on same host as Mattermost server, you have to add localhost to Allow untrusted internal connections to option.

Setup server

Run pre compiled release

Download the latest version at https://github.com/matterpoll/matterpoll-emoji/releases/latest. Decompress it and change parameter in config.json as you need them

{
  "host": "http://mattermost.example.com:8065",  // The URL of your Mattermost server
  "listen": "localhost:8505",  // The address:port to listen on
  "token": "9jrxak1ykxrmnaed9cps9i4cim",  // The Token created my Mattermost
  "user": {
   "id": "bot",          // The username of an existing Mattermost account
   "password": "botbot"  // The password of an existing Mattermost account
 }
}

Run the server

./matterpoll-emoji

Compile the source my yourself

Clone this repository and checkout the latest release. You can just use the master branch but it can be unstable.

go get -u github.com/matterpoll/matterpoll-emoji
cd $GOPATH/src/github.com/matterpoll/matterpoll-emoji
git checkout $(git describe --tags)

Copy the default config

cp .config.json config.json

Change parameter in config.json as you need them

{
  "host": "http://mattermost.example.com:8065",  // The URL of your Mattermost server
  "listen": "localhost:8505",  // The address:port to listen on
  "token": "9jrxak1ykxrmnaed9cps9i4cim",  // The Token created my Mattermost
  "user": {
   "id": "bot",          // The username of an existing Mattermost account
   "password": "botbot"  // The password of an existing Mattermost account
 }
}

Run the server

make run

Usage

Typing this on Mattermost

/poll `What do you gys wanna grab for lunch?` :pizza: :sushi: :fried_shrimp: :spaghetti: :apple:

then posting poll comment

screen_shot

You can use " or ' instead of `

License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].