IFramely alternatives, homebrewed solution, etc.
-
@crazycells wait, that's not my baby...
-
ha ha Congratulations @julian
@julian said in IFramely alternatives, homebrewed solution, etc.:
Yes, my wife had a baby and so I'm getting less sleep than usual
It is sure that less and chopped sleep, it will last some time
@julian said in IFramely alternatives, homebrewed solution, etc.:
But this is definitely on my radar as something to address...
This is a good thing because If iframely is so messed up on V3, it's a brake on the switch to V3 for me.
-
@DownPW said in IFramely alternatives, homebrewed solution, etc.:
This is a good thing because If iframely is so messed up on V3, it's a brake on the switch to V3 for me.
Yes, I have to admit it's been something of a bumpy ride for me and it either works well, or not at all. I don't think it's a NodeBB issue though.
-
@DownPW said in IFramely alternatives, homebrewed solution, etc.:
This is a good thing because If iframely is so messed up on V3, it's a brake on the switch to V3 for me.
Good to know. I hope it can be fixed soon.
-
@crazycells said in IFramely alternatives, homebrewed solution, etc.:
Good to know. I hope it can be fixed soon.
I don't think it's going to be a fix - more of a departure from iFramely altogether with a home-brew solution
-
@julian it seems that the
link-preview
package has been deprecatedjs-link-preview
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.. Latest version: 1.0.0, last published: 7 years ago. Start using js-link-preview in your project by running `npm i js-link-preview`. There are no other projects in the npm registry using js-link-preview.
npm (www.npmjs.com)
-
@phenomlab ah, well, then it's a good thing I use
link-preview-js
Javascript module to extract and fetch HTTP link information from blocks of text.. Latest version: 3.0.12, last published: 25 days ago. Start using link-preview-js in your project by running `npm i link-preview-js`. There are 50 other projects in the npm registry using link-preview-js.
npm (www.npmjs.com)
-
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
OGProxy - a replacement for iFramely
Hi all, I’ve been working on a self-coded replacement for iFramely, and I now have a workable solution that Is able to bypass CORS restrictions Gets data as...
Sudonix | A one-stop-shop for all your technology questions (sudonix.org)
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.