Have you ever looked at your GitLab or GitHub contribution graph and thought, “This could be… more exciting?” I know I have. I wanted a fun and creative way to visualize my contributions, especially on GitLab, where I store all my private projects. Unfortunately, I couldn’t find anything online that did the trick.
Solving mobile video issues with `playsinline`
While working on a project that involved building a massive video library, I ran into an interesting issue on mobile devices. On certain pages, we had short video previews that auto-played as soon as the user navigated to the page. While it worked perfectly on desktop browsers, mobile browsers kept forcing the videos into fullscreen mode as soon as they started playing.
Reduce website load and render time
Since last August, I’ve been working on an exciting freelancing project to rebuild and optimize a long-running customer website. The original website had performance issues, with slow loading speeds affecting user experience. My goal was not just to rebuild but to significantly improve the speed and efficiency of the site. Here’s how I approached it.
Implement Basic Authentication Using Cloudflare Workers
When I started working on migrating data from the old website of a project I’m developing for a client to the new website, I felt the need to prevent external users from accessing the site and seeing the migrated data. Only internal users should have access during this phase.
Typically, I implement Basic Authentication through nginx site configurations, which works well. However, I recalled reading that this could also be achieved with Cloudflare Workers—offering a simpler and more flexible solution. In this post, I’ll guide you through implementing Basic Authentication using Cloudflare Workers.
Projects I Worked on in 2024
This past year has been quite active and fun to me as I took part in quite a number of projects for people from different parts of the world. As a matter of fact, I worked with clients from several countries: Norway, Palestine, and the US. Below is a concise outline of the works I did that kept my head spinning.