@Bri Beaut. This looks like the exact kind of thing to crib from.
Thank you.
I've put a bit of work into transfering the work done in the Youtube Lite plugin from the client to the server:
https://github.com/boomzillawtf/nodebb-plugin-youtube-lite/tree/server-side
For one, the API key wasn't being sent to the client, and for two, it shouldn't be. It gracefully degrades if you don't have an API key and uses an LRU cache to keep API usage to a minimum.
Seems good to me
Pull request maybe?
I'm sure he's still there. Nothing wrong with forking though, you could always merge later.