URL shorteners come in handy when you want to share a long link to someone. We implemented a tiny cmdline URL shortener using tny.im in anĀ earlier article. In this article we will explore shortn, another Python cmdline URL shortener supporting 6 more services:
- bit.ly (default)
- j.mp
- t.cn
- is.gd
- v.gd
- tiny.cc
Installation
To install on Ubutu, run:
$ git clone https://github.com/ishu3101/shortn $ cd shortn $ python setup.py install
Usage
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
Webpage: shortn
Git clone failed, RSA key or repositories doesn’t exist
Fixed. Thank you!