Viewing a single comment thread. View all comments

imminent wrote

Mate, there's nothing stopping you from copying hooktube's whole html and css source code and make some necessary modifications to it to adapt it to the youtubedl server instance view-source:https://hooktube.com/ and view-source:https://hooktube.com/watch?v=NotReallyaCorrectValue

2

leftous OP wrote

I can certainly do that, but I'd have to take a closer look to make sure it's safe

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?

2

leftous OP 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.

1

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.

2

imminent wrote

By the way are you still planning to implement my proposal about hooktube?

2