Self-Hosted Solution #40
Replies: 9 comments 35 replies
-
I thought about it, and it definitely would be way easier to use, but I'd have to do a lot of research to figure out how to do that. Also the YouTube API has a relatively low initial quota and I'm not sure how hard it would be to get it increased sufficiently. I'll look into it, but don't really have any plans for it at the moment. |
Beta Was this translation helpful? Give feedback.
-
FYI, I've gotten my YouTube API quota increased from 25K per month to 500K per month pretty easily. I just had to submit a request explaining what my app did (mine was a simple sub count tracker) and why I needed a higher quota. They took about 3 weeks to get back to me. |
Beta Was this translation helpful? Give feedback.
-
If you do so, I recommend using vercel. It's like plug and play and it has a free plan that is good enough for starter projects. Also I like Next js (that is also from Vercel), but for this you will need learn JavaScript. Anyways, this is not a paid comment, it is just my opinion as a developer. Also, I am a programmer and use js for my projects. If you think I may help with something, you can try to call me out. Also, if I can make one, I will share my example here so you can see it. |
Beta Was this translation helpful? Give feedback.
-
Easy solution is to use multiple API keys from multiple google cloud console projects. |
Beta Was this translation helpful? Give feedback.
-
If you decide you want to go down that route, I'd be happy to help you do it. I've built more than a few webapps. |
Beta Was this translation helpful? Give feedback.
-
Hmm, if that works and does increase the quota, maybe we should make a new issue to request this as a feature? |
Beta Was this translation helpful? Give feedback.
-
@ThioJoe It's actually pretty easy when you think about it. At first. Since you are using Python, using something like Flask would work. All you would have to do is figure out some way to manage users AND how to send them a sign-in link. What I mean in the first one (just to avoid confusion) is how are you going to distinguish different users? If you use something like Flask-Dance, then yeah it's possible. However, Google, for whatever reason, decided to go out and make their own library instead of just allowing us to get a simple Client ID and Secret and then allowing us to make requests to an API where you can delete the comments. I guess it's for security purposes... |
Beta Was this translation helpful? Give feedback.
-
I'll first look into just hosting the Google Cloud project, where I'm imagining the user would still run the script locally and store the credentials on their own computer. Because security-wise, I'm very hesitant to have to maintain custody of login credentials of users myself and host the actual script on my own site, so I would have to spend a lot of time making sure I do that properly. But I think a good balance for now would be if no one had to go through the steps to set up their own cloud dashboard project and could just use one centralized one and I could request bigger quotas, but they'd still run the script locally, it would just call my API project instead of their own. The one thing I have to look up is how they would be authorized to access the project. Right now obviously the user logs into the cloud dashboard and downloads their own client_secrets file, but I have to assume it's a different process for a public project. |
Beta Was this translation helpful? Give feedback.
-
@ThioJoe this indeed would be cool, and much user-friendly. But as you mentioned it will take some research. For people that want to run it without downloading, in the browser any software though, I made a pull request #118 , it's mainly for unsupported devices, android users but it can work for anyone really. I just need @ThioJoe to check it out and to consider merging it in! |
Beta Was this translation helpful? Give feedback.
-
Are there any plans at the moment to make this a self-hosted webapp (i.e. purchasing a domain and hosting a web version of this)? Having this tool available will be great for weeding out spammers but a lot of youtubers might not want to go through all the effort of generating their own API keys and running the console application manually, as well as possibly getting sussed out by all the security warnings that come up when downloading the compiled exe.
Beta Was this translation helpful? Give feedback.
All reactions