Giter Site home page Giter Site logo

slack-emoji-upload's Introduction

Slack Emoji Upload

This puppeteer script automatically adds new Emojis to your Slack team.

On the initial run you have to enter your Slack credentials. The team name is taken from your E-Mail domain. After logging in, a cookie file is stored locally to avoid entering your credentials over and over again. The script currently processes filesimage files from the invoked folder and try to upload them via the Emoji upload formular.

Install

$ npm install -g @fabianmarz/slack-emoji-upload

or

$ yarn add -g @fabianmarz/slack-emoji/upload

Usage

To upload emojis:

$ slack-emoji-upload <path/to/your/emojis>

Use --debug to show Chromium while running the script:

$ slack-emoji-upload <path/to/your/emojis> [--debug]

Todo

  • Check for cookie expiry.
  • Check if the login was actually successfull.
  • Remove first line of success message.
  • Remove processed file after successfull upload?
  • Accept Team name from CLI rather using the E-Mail domain.
  • etc.

slack-emoji-upload's People

Contributors

fabianmarz avatar

Stargazers

 avatar

slack-emoji-upload's Issues

Upload script is not working anymore

Problem:

  • Slack changed their upload mask for adding new emojis by implementing a modal window. New emojis can't be uploaded by this script anymore.

Goal:

  • Adjust this Puppeteer script to use the new Slack Emoji upload markup.

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.