cncf / landscapeapp

🌄Upstream landscape generation application
https://landscapes.dev/
Apache License 2.0
255 stars 125 forks source link

Convert landscape app to static website #847

Open Boojapho opened 1 year ago

Boojapho commented 1 year ago

Proposal:

Convert the landscape app to generate a static website (client-side scripting only). Currently, the app has an API call for filtering the cards shown on the landscape. The API generates a JSON list of objects that is used by the client-side scripts to update what is shown. If this API call is converted to a client-side function, it would make the landscape a static website. (I don't see any other API calls other than the filtering).

Justification:

Static websites are easier to serve using basic web servers (e.g. http-server) and reduce possible attack vectors by eliminating code running on the server. Some organizations require static websites.

Boojapho commented 1 year ago

There is a second API call for exporting to CSV that would also need to be updated.

wjsvec commented 1 year ago

I also want this feature.

stekershaw commented 9 months ago

Commenting as I've looked at this ticket before and have since found https://github.com/cncf/landscape2, which generates a static website.

Note the warning from the repo README about being in early development, but it has been great for me for a simple static landscape.