n-ce / ytify

Opus Audio Streaming Web App for YouTube. Stop watching, Listen & Save Data.
https://ytify.netlify.app
GNU General Public License v3.0
131 stars 47 forks source link

Post audio data to an API #164

Closed shailendramaurya closed 5 months ago

shailendramaurya commented 6 months ago

It would be cool to display what one is listening on ytify.......

Implementing a feature that posts audio data or just the youtube I'd to an API specified by the user would be great !!!!!!

n-ce commented 5 months ago

Rough Sketch So first things first. This definitely requires a backend server. Our ytify client here would send a POST request to this server with the { id , streamLength, currentTime } everytime the user undergoes audio event changes. So when you access the backend api it would return your current listening stream data. It seems we need an API key to sync the sender and the receiver, which can be accessed post authentication on the backend.