Skip to content

πŸ”— Personal URL shortener

License

Notifications You must be signed in to change notification settings

jakejarvis/jrvs.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”— jrvs.io

Netlify Status

Personal link shortener powered by Netlify and a caveman-esque shell script.

Usage

Create a new shortlink

./short.sh https://github.com/jakejarvis git

πŸͺ„ https://jrvs.io/git now points to https://github.com/jakejarvis!

Shell function

Adding this function to .bashrc, .zshrc, etc. lets us run short from anywhere.

short() {
  # parentheses let us cd to this directory without changing our current working directory
  ( cd <LOCAL_PATH_TO_THIS_REPO> && bash -c "./short.sh $*" )
}

View existing shortlinks

See src/_redirects.

License

MIT

About

πŸ”— Personal URL shortener

Resources

License

Stars

Watchers

Forks

Languages