Home
Softono
shortn

shortn

Open source MIT Python
16
Stars
2
Forks
0
Issues
1
Watchers
9 years
Last Commit

About shortn

# shortn A command line application written in python that lets you shorten url using bit.ly, j.mp, tiny.cc and more [![Pip version][shield-pip]][info-pip] [![MIT licensed][shield-license]][info-license] ## Table of Contents * [Install](#install) * [Usage](#usage) * [Supported Services](#supported-services) * [License](#license) ## Install ### Method 1 - Using pip ```bash pip install shortn ``` ### Method 2 - Build from source ```bash $ git clone [email protected]:ishu3101/shortn.git $ cd shortn $ python setup.py install ``` ## Usage ##### Shorten URL using bit.ly ```bash $ shortn <url> ``` ##### Shorten URL using j.mp ```bash $ shortn -j <url> ``` ##### See help for more information. ```bash $ shortn --help ``` Usage: shortn [-h] [-j] [-t] [-i] [-v] [-c] [-V] url Shorten URL using the following services: bit.ly, j.mp, t.cn, is.gd, v.gd, tiny.cc. positional arguments: url Enter the URL to shorten here optional arguments: ...

Platforms

Web Self-hosted

Languages

Python

Links

shortn

A command line application written in python that lets you shorten url using bit.ly, j.mp, tiny.cc and more

Pip version MIT licensed

Table of Contents

Install

Method 1 - Using pip

pip install shortn

Method 2 - Build from source

$ git clone [email protected]:ishu3101/shortn.git
$ cd shortn
$ python setup.py install

Usage

Shorten URL using bit.ly
$ shortn <url>
Shorten URL using j.mp
$ shortn -j <url>
See help for more information.
$ shortn --help
  Usage: shortn [-h] [-j] [-t] [-i] [-v] [-c] [-V] url

  Shorten URL using the following services: bit.ly, j.mp, t.cn, is.gd, v.gd,
  tiny.cc.

  positional arguments:
    url            Enter the URL to shorten here

  optional arguments:
    -h, --help     show this help message and exit
    -j, --jmp      use j.mp to shorten url
    -t, --tcn      use t.cn to shorten url
    -i, --isgd     use is.gd to shorten url
    -v, --vgd      use v.gd to shorten url
    -c, --tinycc   use tiny.cc to shorten url
    -V, --version  show program's version number and exit

Supported Services

  • bit.ly
  • j.mp
  • t.cn
  • is.gd
  • v.gd
  • tiny.cc

License

shortn is released under the MIT license. See LICENSE for details.