https://github.com/gogurgaon/joinslack
Automatic slack sign up
https://github.com/gogurgaon/joinslack
golang slack slack-api workspace-invite
Last synced: 2 months ago
JSON representation
Automatic slack sign up
- Host: GitHub
- URL: https://github.com/gogurgaon/joinslack
- Owner: gogurgaon
- License: mit
- Created: 2018-12-19T03:26:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T05:29:10.000Z (over 7 years ago)
- Last Synced: 2025-07-03T22:02:30.560Z (12 months ago)
- Topics: golang, slack, slack-api, workspace-invite
- Language: Go
- Size: 164 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# joinslack 
Automatic slack sign up
## Installation
```sh
go get github.com/gogurgaon/joinslack
cd $GOPATH/src/github.com/gogurgaon/joinslack
dep ensure #if you want to use dep tool.
go install
joinslack
```
## Help
Run the following command to get help on how to use the application.
```sh
joinslack --help
```
## Configuration
The application requires few configurations. It can be configured via a config.json file at the location from which the application is run.
These configurations can also be set from command line.
* **Token** (mandatory) - Token with which the application has to authenticate with slack. It can be generated via this [link](https://api.slack.com/custom-integrations/legacy-tokens).
* **Workspace** (mandatory) - Name of your workspace which is used in the sub-domain of slack. Eg. testingdevgroup.slack.com. testingdevgroup is the workspace name
* **WorkspaceName** (mandatory) - Display name of your workspace
* **InviteURL** (mandatory) - Custom invite url
* Static - Relative directory where the static asset files are kept
* Port - Port on which application has to run
* ConfigFile - Relative location of the config file
An example configuration looks like this :-
```json
{
"Port": 9090,
"Workspace": "gogurgaon",
"WorkspaceName": "Gurgaon Golang Meetup",
"Token": "2349d3bn90jkkasd9034rj-not-anactualtoken"
}
```