Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dastanozgeldi/shortify
- Owner: dastanozgeldi
- License: mit
- Created: 2021-07-05T17:11:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-18T17:47:05.000Z (over 3 years ago)
- Last Synced: 2024-08-11T00:47:31.909Z (4 months ago)
- Topics: cli, python, shortener, url
- Language: Python
- Homepage: https://shortify.readthedocs.io/en/latest/
- Size: 214 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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} urlShortify CLI!
.....
```Generating a shortened URL using git.io:
```console
$ shortify git https://www.github.com/Dositan/Boribay/
https://git.io/JBsPu
```