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

https://github.com/aryan10/ggfy-cli

CLI for ggfy, its just a url shortener
https://github.com/aryan10/ggfy-cli

npm

Last synced: 3 months ago
JSON representation

CLI for ggfy, its just a url shortener

Awesome Lists containing this project

README

          

# ggfy-cli

`ggfy-cli` is a command-line interface tool for shortening URLs using the `ggfy` URL shortener API.

The API can be found at [Aryan10/ggfy](https://github.com/Aryan10/ggfy)

## Installation

1. **Clone the repository**:

```bash
git clone https://github.com/Aryan10/ggfy-cli.git
cd ggfy-cli
```

2. **Install dependencies**:

```bash
npm install
```

3. **Link the CLI tool**:

```bash
npm link
```

This will make the `ggfy` command available globally.

## Usage

### Shorten a URL

To shorten a URL, use the following command:

```bash
ggfy
```

Replace `` with the URL you want to shorten. For example:

```bash
ggfy http://example.com
```

The CLI tool will output the shortened URL.

![image](https://github.com/user-attachments/assets/1775d918-056a-4235-b9ad-d07718211bee)