Skip to content

A slack self-invite service written in PHP with random and fancy background

License

Notifications You must be signed in to change notification settings

phpaustralia/Slack-Inviter

 
 

Repository files navigation

Slack-Inviter

A slack self-invite service written in PHP with random and fancy background

Screenshots

screenshot 1

screenshot 2

Building

Deploy on Heroku

Deploy Button

Or you can set up it by yourself

  1. Just clone this repo: git clone ssh://git@github.com/fateyan/slack-inviter.git
  2. Then run composer install
  3. Set up environment variables

For Nginx:

fastcgi_param SLACK_TOKEN yourtoken;  
fastcgi_param SLACK_DOMAIN yourdomain;  
fastcgi_param SLACK_CHANNELS channel1,channel2,channel3;  
fastcgi_param SLACK_HEADER "Join our Slack";  
fastcgi_param SLACK_SUB_HEADER "Welcome";
fastcgi_param SLACK_INVITE_SUCCEED "Congratulations";
fastcgi_param SLACK_INVITE_FAIL "Error";
fastcgi_param RECAPTCHA_SITEKEY "key";
fastcgi_param RECAPTCHA_SECRET "key";

For Apache:

SetEnv VariableName VariableValue

Environment Variables:

Key Description
SLACK_TOKEN slack token, it can be found on https://api.slack.com/web
SLACK_DOMAIN
SLACK_CHANNELS divide by comma[,], it can be found on https://api.slack.com/methods/channel.list/test
SLACK_HEADER title of invite form
SLACK_SUB_HEADER sub title of invite form
SLACK_TITLE title of html
RECAPTCHA_SITEKEY Site key for reCaptcha, you can get it from https://www.google.com/recaptcha/admin
RECAPTCHA_SECRET Secret key for reCaptcha, you can get it from https://www.google.com/recaptcha/admin
  1. There You Go~

Good Luck >_>~

About

A slack self-invite service written in PHP with random and fancy background

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%