u

URL Shortener

u

u is a simple URL Shortener for GitHub-Pages.

How it works

“u” will create a markdown file with the shorten URL as file name:

1
2
3
4
---
layout: redirect
redirect: 'https://github.com/pandermatt/u'
---

And directly push it to GitHub.

How to use (macOS)

Work in progress:

URL Shortener

How to use (Terminal)

1
2
3
4
5
6
7
ruby url.rb https://github.com/pandermatt/u
> https://pandermatt.ch/u/3124759487

or

ruby url.rb https://github.com/pandermatt/u name
> https://pandermatt.ch/u/name