CLI tool and server to minify your URLs.
$ mmini https://github.com/simeg
https://mmini.herokuapp.com/g5ORz_63J
Install mmini
using gem
. If you're on macOS you're not allowed to install gems to the shared
Ruby location. To work around this you have a couple of alternatives.
-
Install the gem using Homebrew. To install gems with Homebrew you first need to install
brew-gem
.brew install brew-gem brew gem install mmini
-
Install the gem locally to your user.
gem install mmini --user-install
-
Use a Ruby version manager such as
rbenv
. If you're writing Ruby code it's probably a good idea to userbenv
anyway.