Meme Creator - JS Based

20250720_144302_dekh-bhai.png

Back in 2016, before I moved to New Zealand ๐Ÿ‡ณ๐Ÿ‡ฟ, I decided to challenge myself with a lilโ€™ side project ๐Ÿ’ป.

At the time, โ€œDekh Bhaiโ€ memes were EVERYWHERE in India โ€” if you know, you know ๐Ÿ˜Ž.

(Dekh Bhai = โ€œLook, brotherโ€ for my non-desi friends ๐Ÿ‘€๐Ÿง”)

So I thought, why not try building something around it? I was just learning JavaScript and wanted to turn the memes into a fun web app.

Spoiler alert: it took me a whole month to build ๐Ÿ˜… (yes, I was a total beginner).

The project was built entirely with HTML, CSS, and JavaScript โ€” no fancy stacks, just good old basics ๐Ÿ”ง๐Ÿงฑ

๐Ÿ‘‰ Check it out here: Git.hsinghhira.me/LookBro/

For styling, I used my comfort blanket โ€” Bootstrap ๐Ÿงถ.

At that point, I had already used it in most of my mini projects, and it made responsive design way easier ๐Ÿ“ฑ๐Ÿ’ป

I also threw in Normalize.css by Nicolas Gallagher to make sure the site didnโ€™t look like a mess on different browsers ๐Ÿงน๐Ÿ–ฅ๏ธ

For turning text into image (yup, like meme magic ๐Ÿง™โ€โ™‚๏ธโœจ), I used Fabric.js โ€” a super handy HTML5 canvas library with all kinds of cool interactive features.

It even supports SVG-to-canvas conversions, which made things feel extra pro ๐Ÿ’ผ

Changing text colors? That was powered by Prism.js by Lea Verou ๐ŸŒˆ

(Technically meant for syntax highlighting, but hey, we adapt ๐Ÿ˜Ž)

For the character selection box on the side, I used nanoScroller.js by James F.

Think Mac-style scrollbars, but for us mere mortals ๐Ÿ–ฑ๏ธ๐Ÿ

Picking colors was made easy with JSColor.js by Jan Odvarko โ€” a cute little color picker that just worked ๐ŸŽจ๐Ÿ‘Œ

And lastly, I tried to make things social by using socialShare.js by Ritesh Kumar โ€” sadly, itโ€™s now deprecated (RIP ๐Ÿชฆ), but it used to let you control social buttons like a boss.

Of course, holding all this together was good olโ€™ jQuery v2.1.0. A classic. Canโ€™t forget the OG ๐Ÿ’พ๐Ÿ’™

Moral of the story? I started small, learned a ton, and had a blast building something people could actually use (and laugh at ๐Ÿ˜„).

Still one of my fav beginner projects to date ๐Ÿ’ฏ


Made with โค๏ธ in Aotearoa.