@hackage / bitly-cli

A command line tool to access bit.ly URL shortener.

Version Deprecated package0.1.2

About

Metadata

  • Last updated , by SergeyAstanin
  • License BSD-3-Clause
  • Categories Web Development
  • Maintained by: Sergey Astanin <s.astanin@gmail.com>

  • Lottery factor: 0

Links

Installation

This package has been deprecated

Readme

This package provides a command line utility to shorten and expand URLs using bit.ly/j.mp service. To use this tool, an API key is required. Please find yours at https://bitly.com/a/account.

Configuration file (`~/.bitly`) format:

login = your_bit.ly_login
apikey = your_API_key

Usage examples:

$ echo "Text with an URL: http://example.com/" | bitly
Text with an URL: http://bit.ly/2eSq1z
$ bitly shorten http://example.com
http://bit.ly/2eSq1z
$ bitly expand http://bit.ly/2eSq1z
http://example.com/