Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert landscape app to static website #847

Open
Boojapho opened this issue Nov 1, 2022 · 3 comments
Open

Convert landscape app to static website #847

Boojapho opened this issue Nov 1, 2022 · 3 comments

Comments

@Boojapho
Copy link

Boojapho commented Nov 1, 2022

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
Copy link
Author

Boojapho commented Nov 1, 2022

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

@wjsvec
Copy link

wjsvec commented Jul 5, 2023

I also want this feature.

@stekershaw
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants