Viewing a single comment thread. View all comments

2

imminent wrote (edited )

Here's something that may be better (for the time being),

  • Download all hooktube public source
  • Change all instances of https://hooktube.com/api to https://web.archive.org/save/_embed/https://hooktube.com/api
  • Delete the entry for popular videos on the front page
  • Edit marketing, delete fascist stuff
  • Harden it by adding security headers (no referrer policy, ...) and hashes checks for 3rd party scripts (change cloudflare's cdnjs with jsdeliver which is faster - but the best is to have the Decentraleyes addon installed)
  • Host it on github pages or gitlab pages,

That way while it still invokes the hooktube API there's the internet archive that acts as a proxy which is better than the current situation.

What do you think?

1

leftous wrote (edited )

It could be an issue with the way the code is licensed and I have no idea what is going on with their servers. It might be preferable to get the info myself from youtubes API to keep it free and safe.

2

imminent wrote

It could be an issue with the way the code is licensed and I have no idea what is going on with their servers. It might be preferable to get the info myself from youtubes API to keep it free and safe.

I only meant that as a temporary solution, you could then change the video API that is used to yours when it gets more advanced.