Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dastanozgeldi/shortify

Shortify - a simple URL-shortening library with CLI support.
https://github.com/dastanozgeldi/shortify

cli python shortener url

Last synced: about 1 month ago
JSON representation

Shortify - a simple URL-shortening library with CLI support.

Awesome Lists containing this project

README

        


Shortify - shorten your URL.


~ A simple URL-shortening library with CLI support.









## Why to use?
**Simplicity.** Shortify's library is really easy to use and you can keep your code as shorter as you want.

![Usage example](./examples/tinyurl.png)

-----

## Supported services
1. [TinyURL](https://tinyurl.com)
2. [Git.io](https://git.io)
3. [Shrtco.de](https://shrtco.de)
4. [Is.gd](https://is.gd)
5. [Clck.ru](https://clck.ru)
6. [TinyUID.com](https://tinyuid.com)
7. [CleanURI.com](https://cleanuri.com)

-----

## Installing
```console
$ pip install shortify
---> 100%
```

After pressing enter, pip will install all the required packages for the project.

-----

## CLI usage
Like all CLIs, `shortify` supports `--help` flag.
```console
$ shortify --help
usage: shortify [-h] {tinyurl,git,shrtcode,isgd,clck,tinyuid,cleanuri} url

Shortify CLI!

.....
```

Generating a shortened URL using git.io:
```console
$ shortify git https://www.github.com/Dositan/Boribay/
https://git.io/JBsPu
```