https://github.com/borischen0203/shoris
This "shoris" command-line tool is mainly used to shorten a long URL.
https://github.com/borischen0203/shoris
command-line-tool corba golang tinyurl-api
Last synced: 11 months ago
JSON representation
This "shoris" command-line tool is mainly used to shorten a long URL.
- Host: GitHub
- URL: https://github.com/borischen0203/shoris
- Owner: borischen0203
- License: apache-2.0
- Created: 2021-09-17T16:17:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-24T01:00:19.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T01:00:23.227Z (over 1 year ago)
- Topics: command-line-tool, corba, golang, tinyurl-api
- Language: Go
- Homepage:
- Size: 4.83 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# shoris
This `shoris` command-line tool is able to shorten a long url.
## Features
- Be able to shorten a long url.
- Be able to custom alias.
- Auto write short URL to clipboard.
## Installation
### On macOS via Homebrew
Step1:
```bash
brew tap borischen0203/shoris
```
Step2:
```bash
brew install shoris
```
Or
One line command
```bash
brew install borischen0203/shoris/shoris
```
## How to use
### Demo example
```bash
# without alias
$ shoris https://www.youtube.com/watch?v=072tU1tamd0
( *・ω・)✄╰ひ╯ https://tiny.one/pm8ap5fx
Short URL has been saved to clipboard!
# with alias
$ shoris https://www.youtube.com/watch?v=072tU1tamd0 hotpot
( *・ω・)✄╰ひ╯ https://tiny.one/hotpot
Short URL has been saved to clipboard!
```
## Tech stack
- Golang
- Cobra
### Todo:
- [X] Custom alias.
- [X] Auto write to clipboard.