The bit.ly roulette app displaying a randomly generated URL "bit.ly/SQJG" centered on a purple-to-pink gradient background, with "a random bit.ly" header text

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;
},