• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

IFramely alternatives, homebrewed solution, etc.

Scheduled Pinned Locked Moved Feature Requests
36 Posts 5 Posters 1.3k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to julian on last edited by
    #27

    @julian it seems that the link-preview package has been deprecated 😱

    js-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: 6 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.

    favicon

    npm (www.npmjs.com)

    julianJ 2 Replies Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    replied to phenomlab on last edited by julian
    #28

    @phenomlab ah, well, then it's a good thing I use

    https://www.npmjs.com/package/link-preview-js

    😆

    1 Reply Last reply
    3
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    wrote on last edited by
    #29

    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.

    julianJ 1 Reply Last reply
    2
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    replied to phenomlab on last edited by
    #30

    @phenomlab hehe that's exactly where I am at the moment. Just need to put it into a plugin and add some settings.

    1 Reply Last reply
    3
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    replied to phenomlab on last edited by
    #31

    @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.

    phenomlabP 1 Reply Last reply
    1
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to julian on last edited by
    #32

    @julian I knew I wasn't seeing things 🤭. It's one of the reasons I started to write my own replacement. Not that I'm impatient, but to give something back to the NodeBB Community (once I've finished it)

    1 Reply Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #33

    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!!

    phenomlabP 1 Reply Last reply
    2
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to julian on last edited by phenomlab
    #34

    @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.

    1 Reply Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #35

    Mmm sounds like our camo proxy we use here for images.

    phenomlabP 1 Reply Last reply
    1
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to julian on last edited by
    #36

    @julian yes, exactly.

    1 Reply Last reply
    3

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development