Git Product home page Git Product logo

slack-emoji-swag's Introduction

Take your Slack emojis and make patterns for stickers, mugs, whatever!

alt tag

Use this repo to download all of the custom emojis for your slack team and transform them into various patterns for SWAG!

Usage

  1. Make sure you have a Slack api token (test is fine)
  2. Set that token to an env var called SLACK_API_TOKEN
  3. Call the download.js script from this repo
  4. Watch all your little custom slack emojis pile into './generated/'
  5. Use the various imagemagick scripts provided to make patterns with your emojis

Grid

Use './src/grid.sh' to produce a simple N by M grid of emojis. Great for mugs or t-shirts!

Spiral

Use './src/spiral.sh' to produce various spiral shapes. Awesome for circular stickers!

Some helpful imagemagick commands for generating fun patterns

Center an image within another image and output a composite. Note that the output doesn't require a file extension.

composite -gravity center path/to/image path/to/background path/to/output

Convert a gif to a sequence of pngs and scale them all to 100x100 pixels (preserving aspect ratio). This is helpful if you want to make a pattern out of a few gifs and youw want all the emojis to be of the same size. Note that the name of the pngs will be something like meme.gif --> [meme-1.png, meme-2.png, ... meme-N.png]

convert path/to/meme.gif -scale 100X100 path/to/output/meme.png

Examples

Stickers

alt tag

Grid (done with grid.sh)

alt tag

Spiral (done with spiral.sh)

alt tag

Star (done with spiral.sh)

alt tag

slack-emoji-swag's People

Contributors

scottyantipa avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

ilyalibin

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.