https://github.com/moussetc/mattermost-plugin-emoticon2emoji
A Mattermost plugin to transform old time text emojis like XD to picture emoji like :laughing: by adding the Slack-like mappings and some other custom mappings.
https://github.com/moussetc/mattermost-plugin-emoticon2emoji
go mattermost-plugin
Last synced: 4 months ago
JSON representation
A Mattermost plugin to transform old time text emojis like XD to picture emoji like :laughing: by adding the Slack-like mappings and some other custom mappings.
- Host: GitHub
- URL: https://github.com/moussetc/mattermost-plugin-emoticon2emoji
- Owner: moussetc
- License: apache-2.0
- Created: 2018-07-05T10:47:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-26T23:44:14.000Z (over 5 years ago)
- Last Synced: 2025-03-12T22:24:41.907Z (about 1 year ago)
- Topics: go, mattermost-plugin
- Language: Go
- Homepage:
- Size: 10.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mattermost-plugin-emoticon2emoji [](https://travis-ci.com/moussetc/mattermost-plugin-emoticon2emoji)
A plugin that completes the automatic conversion from emoticon to emoji (:) to :smile:) in Mattermost messages, by adding [Slack mappings](https://get.slack.help/hc/en-us/articles/202931348-Use-emoji-and-emoticons#use-emoticons) and some other (see `matches.go` for the default list) which can be configured.
## Compatibility
- for Mattermost 5.2 or higher: use v2.x.x release
- for Mattermost 5.0: use v1.0.0 release
- for Mattermost below: unsupported versions (plugins can't intercept posts)
## Installation and configuration
1. Go to the [Releases page](https://github.com/moussetc/mattermost-plugin-emoticon2emoji/releases) and download the package for your OS and architecture.
2. Use the Mattermost `System Console > Plugins Management > Management` page to upload the `.tar.gz` package
3. Go to the plugin configuration page to edit the custom mappings if needed
4. **Activate the plugin** in the `System Console > Plugins Management > Management` page
## Manual configuration
If you need to enable & configure this plugin directly in the Mattermost configuration file `config.json`, for example if you are doing a [High Availability setup](https://docs.mattermost.com/deployment/cluster.html), you can use the following lines:
```json
"PluginSettings": {
// [...]
"Plugins": {
"com.github.moussetc.mattermost.plugin.emoticon2emoji": {
"CustomMatches": "" // custom emoticons->emoji mappings in JSON format, see plugin.yaml for the default value
},
"PluginStates": {
// [...]
"com.github.moussetc.mattermost.plugin.emoticon2emoji": {
"Enable": true
},
}
}
```
## Usage
Use the usual emoticons and the post will be automatically updated to replace the emoticon by the emoji code.
## Development
Run make vendor to install dependencies, then develop like any other Go project, using go test, go build, etc.
If you want to create a fully bundled plugin that will run on a local server, you can use `make mattermost-plugin-emoticon2emoji.tar.gz`.