Giter VIP home page Giter VIP logo

badgy's Introduction

License Language Platform

Badgy is a command line tool that creates variants of your icon by adding badge overlays.

Features

  • ✅ Small (square) and long (rectangular) labels
  • ✅ Position it on top, left, bottom, right, topLeft, topRight, bottomLeft, bottomRight, center
  • ✅ Supports rotation (long badge only)
  • ✅ Converts your icon to different sizes already

Disclaimer

This tool is NOT meant to create production ready icons. As I see myself constantly using at least 4 variants of the same application for B2B customers (think of 1 environment for DEV, QA, UAT, PROD and more), I quickly created this tool to differentiate the application icon for those variants.

There are many things that might not work as you expect, and there are many others that you wish this could do. Feel free to contribute to the project and make it better.

Dependency

This tool depends on ImageMagick. If not installed with brew make sure to install this dependency yourself:

brew install imagemagick

Installation

Homebrew (recommended)

brew tap arthurpalves/formulae
brew install badgy
mint install arthurpalves/badgy

Make

git clone https://github.com/arthurpalves/badgy.git
cd badgy
make install

Usage

Usage: badgy <command> [options]

A command-line tool to add labels to your app icon

Commands:
  small           Add small square label to app icon
  long            Add rectangular label to app icon
  help            Prints help information
  version         Prints the current version of this app

Small badge

Small is a square badge containing only 1 character.

Usage: badgy small <char> <icon> [options]

Add small square label to app icon

Options:
  -h, --help                Show help information
  -p, --position <value>    Position on which to place the badge
  -v, --verbose             Log tech details for nerds

Example

badgy small B ~/MyIcon.png --position topRight

Long badge

Long is a rectangular badge containing up to 4 characters.

Usage: badgy long <labelText> <icon> [options]

Add rectangular label to app icon

Options:
  -a, --angle <value>       Rotation angle of the badge
  -h, --help                Show help information
  -p, --position <value>    Position on which to place the badge
  -v, --verbose             Log tech details for nerds

Example

badgy long BETA ~/MyIcon.png --angle 15 --position topLeft

License

Badgy is released under the MIT license. See LICENSE for more information.

badgy's People

Contributors

bb-arthuralves avatar

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.