Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/code-hex/go-emojipacks
https://github.com/lambtron/emojipacks has been stopped. A new emojipacks has been implemented by Go
https://github.com/code-hex/go-emojipacks
cli emoji emojipacks go golang slack
Last synced: 13 days ago
JSON representation
https://github.com/lambtron/emojipacks has been stopped. A new emojipacks has been implemented by Go
- Host: GitHub
- URL: https://github.com/code-hex/go-emojipacks
- Owner: Code-Hex
- License: mit
- Created: 2019-10-20T04:03:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-16T19:44:46.000Z (over 2 years ago)
- Last Synced: 2024-10-04T18:41:47.871Z (about 1 month ago)
- Topics: cli, emoji, emojipacks, go, golang, slack
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# emojipacks
[![CircleCI](https://circleci.com/gh/Code-Hex/go-emojipacks.svg?style=svg)](https://circleci.com/gh/Code-Hex/go-emojipacks)
> CLI to bulk upload emojis to your Slack!
## Install
### binary
You can get binary from [releases](https://github.com/Code-Hex/go-emojipacks/releases)
### go get
```bash
$ go get github.com/Code-Hex/go-emojipacks/cmd/emojipacks
```## Usage
There is only one command:
```bash
$ emojipacks
```It'll ask you a few questions:
```bash
Slack subdomain: helloworld
Email address login: [email protected]
Password: *********
2FA Code: 123456 # if 2FA is enabled
Path or URL of Emoji yaml file: ./packs/futurama.yaml
```Almost this command usage the same as https://github.com/lambtron/emojipacks
## Optionally Pass Command Line Parameters
This will allow for easier batch uploading of multiple yaml files
```bash
$ emojipacks -s -e -p -y
```## Emoji Yaml File
Also note that the yaml file must be indented properly and formatted as such:
```yaml
title: food
emojis:
- name: apple
src: http://i.imgur.com/Rw0Vlda.png
- name: applepie
src: http://i.imgur.com/g4RU1fM.png
```..with the `src` pointing to an image file. According to Slack:
- Square images work best
- Image can't be larger than 128px in width or height
- Image must be smaller than 64K in file size### Emoji Aliases
It hasn't supported yet.
## Emoji packs
[See here](https://github.com/lambtron/emojipacks/blob/master/README.md#emoji-packs)