This repository is no longer maintained.
Count posts/stocks of your Qiita organization, and post counting to your Slack.
- Node.js v6.9 LTS ~
- Redis 2.6.12 ~
$ git clone https://github.com/pine/slack-qiita-organization-counter.git
$ cd slack-qiita-organization-counter
$ npm install
$ QIITA_ORGANIZATION=xxx SLACK_API_TOKEN=XXX SLACK_CHANNEL=xxx \
bin/slack-qiita-organization-counter
You can set any options uses environment variables.
QIITA_ORGANIZATION
Qiita organization name (required)SLACK_API_TOKEN
Slack API token (required)SLACK_CHANNEL
Slack channel/group name (required)SLACK_USERNAME
Slack username- Default:
'Qiita'
- Default:
SLACK_ICON_URL
Slack icon URL- Default:
''
- Default:
REDIS_PORT
Redis port number- Default:
6379
- Default:
REDIS_HOST
Redis host name- Default:
'127.0.0.1'
- Default:
REDIS_DATABASE
Redis database number- Default:
0
- Default:
REDIS_PREFIX
Redis key prefix- Default:
''
- Default:
HISTORY_REPAIR_DAYS
repair counter of Qiita if it not run in holidays.- Default:
5
- Default:
Public Domain