https://github.com/guyfedwards/emoji
Continuous emoji deployment
https://github.com/guyfedwards/emoji
Last synced: 6 months ago
JSON representation
Continuous emoji deployment
- Host: GitHub
- URL: https://github.com/guyfedwards/emoji
- Owner: guyfedwards
- Created: 2016-08-24T11:38:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-19T12:58:35.000Z (almost 2 years ago)
- Last Synced: 2025-05-08T00:32:09.747Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 8.95 MB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# emoji
continuous emoji deployment
### Configuration
```
SLACK_TOKEN
SLACK_SUBDOMAIN # the first part of domain .slack.com
```
### Importing
```
$ ./import
```
### Getting a Slack Token
Open any signed in slack window, e.g. subdomain.slack.com/messages, right click
anywhere > inspect element. Open the console and paste:
```
window.prompt("your api token is: ",/api_token: "(.*)"/.exec(document.body.innerHTML)[1])
```
> You will be prompted with your api token! From what I can tell these last
> anywhere from a few days to indefinitely. Currently, user tokens follow the
> format: xoxs-(\w{12}|\w{10})-(\w{12}|\w{11})-\w{12}-\w{64}
### Weechat autocompletion
Copy the existing file from `./weechat` to your weechat config directory, most likely:
```
$ cp ./weechat/weemoji.json ~/.weechat/
```
To generate new autocomplete file, run the script in `./weechat`. With the new file generated you can copy with the command above.
```
$ ./weechat/generate_json
```