A Hexo plugin to Slack nofify
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
.gitignore
LICENSE
README.md
index.js
package.json

README.md

hexo-slack-notify

A Hexo plugin to Slack nofify

Installation

npm install Plasma-Paris/hexo-slack-notify --save

Options

slack:
  webhookUri: https://hooks.slack.com/services/[...]
  isSlackEnabled: true
  # pretextNew: Un nouveau post a été publié sur le wiki.
  # pretextUpdated: Une mise à  jours du post a été publié sur le wiki.
  # color: "#7CD197"
  # icon_emoji: ":orange_book:"
  # posterSearch: poster.png|illustration.jpg
  # username: TestUserName
  # fieldTitle:  TestCategorie

slack_config

webhookUri

Webhook URL for Incoming WebHooks Slack

https://api.slack.com/custom-integrations

isSlackEnabled

Enable or disable Notifify.

pretextNew

Custom text when new post.

Default : New post on

pretextUpdated

Custom text when update post.

Default : Updated post on

color

Color for bar notification.

icon_emoji

Slack emoji.

posterSearch

Default : illustration.png|illustration.jpg|poster.png|poster.jpg

username

name of user post notify.

fieldTitle

Title for field

Configuration Proxy

plugin use global-tunnel for request proxy.

set HTTP_PROXY=http://[IP]:[PORT]/

Set HTTP_PROXY before start hexo.