IFramely alternatives, homebrewed solution, etc.
-
@julian it seems that the
link-preview
package has been deprecated -
@phenomlab ah, well, then it's a good thing I use
-
To take the heat off @julian in lieu of his new arrival to the Lam family I decided to take a stab at this myself, and have a working solution here
https://sudonix.org/topic/495/potential-replacement-for-iframely
It's NOT perfect, and NOT finished, but working for the most part. It's also not a plugin, but raw code.
Let me know if any interest.
-
@phenomlab so it seems like link-preview-js is also deprecated!
Only recently (31 March 2023), though, so I think perhaps if it still working fine, then NodeBB could take it over.
-
I do think using that library is still worth it. The server-side component I think it helpful because then we can leverage caching to reduce noise to queried servers.
I have been fiddling with my own plugin today and hope to have something to demo soon
It's a race!!
-
@julian I'm using a
CORS
proxy with caching for what I'm developing. Currently it's using content headers but tomorrow I will secure it with an API key.The drawback here is that the
CORS
proxy needs to run as a daemon but is very efficient and gets around the cors restrictions nicely.