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!
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.