DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Filipe Herculano
Filipe Herculano

Posted on

A bit of git.io url fun for your sunday

I was bored and browsing around today and happened to find this old gist from GitHub's cofounder for generating a more personalized git.io url

I thought it was cool β€” although for some reason the script wasn't working for me β€” so I just extracted the important part:

curl -i https://git.io -F 'url=<YOUR_GITHUB_URL>' -F code=<YOUR_CODE>
Enter fullscreen mode Exit fullscreen mode

Then it occurred to me I could just use a # identifier used for scrolling to generate a more useless personalized fun url for myself

Try going to https://git.io/fifo

Hopefully you see this cool greeting like I do in Firefox

πŸ‘‹

Anyways, all I had to do was get the url encoded value of the πŸ‘‹ emoji which is %F0%9F%91%8B and use that in the curl request

curl -i https://git.io -F 'url=https://github.com/this-fifo/#%F0%9F%91%8B' -F code=fifo
Enter fullscreen mode Exit fullscreen mode

Hope you enjoy your sunday!

Κ• β€’α΄₯β€’Κ”

Top comments (0)

DEV runs on 100% open source code known as Forem.

Β 
Contribute to the codebase or host your own.
Β 
Check these out! πŸ‘‡