Giter VIP home page Giter VIP logo

badgy's Introduction

Twitter Follow

Hi there ๐Ÿ‘‹ Iโ€™m Arthur Alves.

I live in The Netherlands ๐Ÿ‡ณ๐Ÿ‡ฑ, originally from Brazil ๐Ÿ‡ง๐Ÿ‡ท

I could describe myself as Mobile and macOS Engineer with a strong passion for automation, tooling, open source, FRP and other cool stuff you hear nowadays. This space is especially for my projects and software development.

Besides coding I do love football โšฝ, video games ๐ŸŽฎ and many other things, so follow me on social media if youโ€™d like to connect.

Open Source

Iโ€™ve always wanted to be more active in the open source community, but you know, the old "I don't have time for it right now" excuse kept me away for too long. Not anymore! Be sure you follow me on Github ๐Ÿš€

Gaming Industry

Iโ€™m venturing myself in game development, slowly but surely building a story driven RPG for console. It will take years. Check that work on Redslash.

What I do for a living?

Currently Principal iOS Engineer at ๐Ÿ‘‰ @Backbase

Previously, iOS Engineer at @Vinted

badgy's People

Contributors

arthurpalves avatar bb-arthuralves avatar elfenlaid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

badgy's Issues

Query ImageMagick for a valid color names

While reviewing #14 @BenLeggiero raised an interesting opportunity I can't miss discussing :)

Badgy carries a hardcoded color names for --color and --tint-color properties.
Alternatively, we could query ImageMagick for the list with convert -list color | awk '{ print $1 }'.

Each solution has its pros and cons. Unfortunately, both are prone to get out of sync with the end-user scripts, as we have an unpinned dependency on ImageMagick.

All in all, it seems like a hardcoded list looks like a bit easier to reason about considering runtime and dependency validation.
Even as Badgy is destined to go out of sync with ImageMagick named colors right now, we always have an escape hatch with hexed color codes.

Switch to ArgumentParser

ArgumentParser is Swiftโ€™s open source library to parse command-line arguments.

Consider the switch from SwiftCLI to ArgumentParser as an improvement, for something that has more contribution, stability and support from the community.

Remove dependency on SwiftCLI.Task

During the final stages of migration to ArgumentParser #10, we stumbled upon a problem of a somewhat side dependency on SwiftCLI.Task as an OS command handling interface.

Though the last try wasn't a direct success #20, the overall concept is clear.

Problem while installing...

When I try to install Badgy using Homebrew and following the steps on ReadMe, I got this error:

brew install badgy
Updating Homebrew...
Error: No available formula with the name "badgy"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

Add --replace *.appiconset | *.png

Add option to replace a specific icon set or png.

This will not output the files to folder ./Badgy and will override the icon set with images of the same sizes and names.

Installation instructions

When I followed the installation instructions for SPM (Swift), it not worked as expected. I needed to run the followed commands to install it and enable it to be run from anywhere on the command line on my Mac:

$ swift build -c release
$ cd .build/release
$ cp -f badgy /usr/local/bin/badgy

Add support for shorthand hex notation

Background

Both --color and --tint-color support hexadecimal colors (RRGGBB) but not its 3-character shorthand notation (RGB).

What to do

Adjust the argument validators to accept either 3 or 6-character hex code.
There is nothing to be done in Factory as ImageMagick already supports these.

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.