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
- Host: GitHub
- URL: https://github.com/aryan10/ggfy-cli
- Owner: Aryan10
- Created: 2024-08-24T17:47:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T17:52:35.000Z (almost 2 years ago)
- Last Synced: 2025-01-29T15:12:33.853Z (over 1 year ago)
- Topics: npm
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
