Git Product home page Git Product logo

Comments (2)

d-gubert avatar d-gubert commented on June 12, 2024

Apps can currently intercept the URLs from messages, do their own request, and modify the original message to include either attachments or UIKit blocks to enrich the content.

The Engine shouldn't need to provide any other special functionality for this to be possible

from rocket.chat.apps-engine.

porg avatar porg commented on June 12, 2024

@d-gubert Could you please provide link(s) to relevant documentation how to set this up?

How does Rocket Chat's Link Preview work?

And in what aspects can a RC admin or user one influence its behavior?

  1. Server-side: RC Server (consumer) via an embed mechanism (oEmbed, OpenGraph, etc) gets the data from the provider (e.g. Jira or Github) and integrates that into the markup of the message.

    • Then you could set up one API-key or pseudo-user per each external website requiring login and this one fetches everything needed for the Link Preview, stores the assets in copy on the server, and embeds the markup into the message.
  2. Cient-side: The message contains the URL as-is, and then the client fetches it?

    • Then each user would need to set up his credentials per service for link preview fetching.

from rocket.chat.apps-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.