Keep your emojis sync across different Slack teams! Made using the Slack Events API.
For running the application itself, run:
npm start
For running the tunnel to expose your localhost:
npm tunnel
{
"development" : {
"port": 3000,
"tunnel_domain": "sample.domain",
"download_path": "./emoji_cache/",
"SLACK_VERIFICATION_TOKEN": "sampleToken",
"teams": {
"sampleID": {
"name": "sampleName",
"domain": "sampleDomain",
"cookie": "sampleCookie"
}
}
}
}
The default port for the Slack Events API is 3000
.
For testing locally, localtunnel
is being used. You can set your own tunnel domain (for free) by setting tunnel_domain
variable and running npm tunnel
.
Specify the download path for the emojis. Default: ./emoji_cache/
You can get the verification token once you have created the Slack App at the Basic Information
screen.
You can get the team information from the SlackWebAPI team.info.
Warning: this is not a permanent solution. For getting the cookie:
- Visit the Emoji Page under https://{team}.slack.com/customize/emoji.
- Open the
Developer tools
. - Navigate to the
Network
tab. - Refresh the page.
- Click on the
emoji
cookie item and scroll down in theHeaders
tab until theRequest Headers
section. - Copy the
Cookie
content.
- OAuth2 Support for
Add to Slack
button. - Use the Slack API for uploading emojis (feature not available yet).