Ytmdl Web Will Now Have Ads

Deepjyoti Barman @deepjyoti30
Apr 1, 2021 6:51 AM UTC
Post cover

As of today (01/04/2021), Ytmdl Web will show ads. This was not intentional in any way and I honestly wanted to keep the app totally free for everyone. However, off late, the traffic that it has been getting, it has been very hard to handle the server costs for the app.

Some backstory

Ytmdl Web V2 was released about a month ago. After release, I shared it on various places like Reddit and over night, it got a lot of hits. I got about 75k hits on my API within 1 and a half day. This hits were, obviously, not anticipated for and my server went out of space. I instantly fixed that issue by increasing the storage of the server and it was fixed. However, within a few hours after that, the server started responding with 500 Internal Server Error while trying to download songs.

I took a look at the logs and as it turns out, because of so many requests in such a short time, my servers IP address was blocked by YouTube servers. This meant, I had to change servers. This is when I figured I had some free Heroku credits so within a few minutes I made some changes to the API and deployed it to Heroku. Since then, the traffic slowed down and the Youtube IP blocking issue has not occurred.

It was going fine until a few days ago when users started facing issues again. As it turns out, the Heroku servers were going out of RAM and I didn't have enough credits to use a production server with like 8Gb of RAM. Thus, there was no way out. Even though the API worked, sometimes it stopped (usually when it gets a lot of subsequent requests at the same time).

Why Ads

I wanted to keep the web app self dependent and being able to get enough donations in order to handle the server costs. I was strictly against ads. You can see my comments on my Reddit post.

However, a lot of people, after finding out about the server issues, suggested that I add basic banner ads. Some people even went as far as asking me to add ads and that they will specifically stop their ad blocker for my site (and people say Reddit people are hostile!). Anyway, at the time, I did not give it much thought since ads would ruin the look of the app.

However, it has been a whole month since the release. The donations are almost non existent. The traffic reports show that I am still getting about 4.2k active users for the blog (even after a month of release). Thus, I thought, there was no other way but to enable ads in order to handle the costs.

Whats next?

Well, if you are an user of the app, you can consider disabling your ad blocker. I promise, it won't obstruct the flow of the app. If it does, feel free to enable it again. Also, if it does, you can reach out to me and inform me about that.

I am planning to get a dedicated domain for the app as well. Let's just hope we get enough ad revenue. Fingers are crossed!

Thanks for all the support till now! Really appreciate it. You can check the app here and it's source code here