kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
10.13k stars 850 forks source link

Render HTML file outputs in the Outputs preview #5332

Open anna-geller opened 1 week ago

anna-geller commented 1 week ago

Feature description

Adding this inside an iframe with good restrictions will allow us to add it without compromising security

id: html
namespace: company.team
tasks:
  - id: get
    type: io.kestra.plugin.core.http.Download
    uri: https://huggingface.co/datasets/kestra/datasets/resolve/main/html/forecast.html
MilosPaunovic commented 6 days ago

The problem here is that the link form uri example, when opened on itself in the browser, renders raw html text instead of content. Example of plotly chart from here renders in both browser by itself and in the iframe. Is there any specific to the file stored here?

Chhaya-g commented 1 day ago

@anna-geller can I work on this feature?

MilosPaunovic commented 1 day ago

Go for it @Chhaya-g! :rocket: