Skip to content

This "shoris" command-line tool is mainly used to shorten a long URL.

License

Notifications You must be signed in to change notification settings

borischen0203/shoris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

brew tap borischen0203/shoris

Step2:

brew install shoris

Or

One line command

brew install borischen0203/shoris/shoris

How to use

Demo example

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

  • Custom alias.
  • Auto write to clipboard.