Code Monkey home page Code Monkey logo

mm-emoji's Introduction

Slack to Mattermost Emoji Transfer Tool

Transfer emojies from Slack to Mattermost

Usage

The Docker image will download all emoji's from Slack and upload them to Mattermost.

  • Copy the defaults.env file to .env in your local directory and edit it to include your Slack and Mattermost credentials

    cp defaults.env .env
    vi .env
    docker run -it --rm --name mm-emoji --env-file=.env ghcr.io/maxwellpower/mm-emoji

Create Slack App

  • https://api.slack.com/apps

  • Use Manifest

    display_information:
      name: mmemoji
    oauth_config:
      scopes:
        user:
          - emoji:read
    settings:
      org_deploy_enabled: false
      socket_mode_enabled: false
      token_rotation_enabled: false
  • Navigate to "OAuth and Permissions"

  • Install App to Workspace

  • Copy "OAuth Tokens for Your Workspace", "User OAuth Token"

Based on

mm-emoji's People

Contributors

jlandells avatar maxwellpower avatar thestu avatar

Watchers

 avatar

Forkers

jlandells thestu

mm-emoji's Issues

Nice to Have: Gracefully warn and skip invalid emoji names

Thank you for this tool, it works great!

I had a custom "clown" emoji named calculated-decision-to-leave-tech-debt-for-now-and-clean-it-up-later which terminated the process after only uploading ~160/400 emojis. There weren't any obvious errors showing what caused it other than "invalid emoji name".

It'd be awesome for the next people to use this tool if the script can either continue processing the remaining emojis and log out which ones failed at the end, or, behave as-is but at least log which emoji caused the issue.

https://docs.mattermost.com/collaborate/react-with-emojis-gifs.html#upload-custom-emojis

Specify an emoji name that's up to 64 characters. It can contain lowercase letters, numbers, and the symbols -, '+' and'_.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.