Projects

bit.ly roulette

Generate a random http://bit.ly/ url, let the internet surprise you!

Published December 23, 2017

Screen Shot 2022-02-19 at 18.53.19.png

Links
Github →Website →

How it Works

Hackity hack hacks. Get four random characters, add it to the bit.ly domain, and hope that it’s a real site.

getBitly() {
const numChars = 4;
let bitlyUrl = 'bit.ly/';
for (let i = 0; i < numChars; i += 1) {
bitlyUrl += this.getRandomChar();
}
return bitlyUrl;
},