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

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.

Awesome Lists containing this project

README

          

jedi-gopher



GitHub release
GitHub release
Code Status

# 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.