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

Permalink for generating svg/png files #128

Open
meichhorn-conet opened this issue Oct 31, 2022 · 4 comments
Open

Permalink for generating svg/png files #128

meichhorn-conet opened this issue Oct 31, 2022 · 4 comments
Labels
feature request Ask for new feature or feature evolution

Comments

@meichhorn-conet
Copy link

Hi,

first, great tool. thx.

One feature that i missed is to generate permalinks for generating svg/png files.

https://azimutt.app/embed?project-id=...&layout=initial&format=png

With this, the link to the png can be used in some markdown wikis for documenting

@loicknuchel
Copy link
Contributor

Hi @meichhorn-conet

Indeed that's a very good idea 😄

I'm not really sure how to do it but will give some thoughts.
Naively, this seems huge work as the UI is fully rendered client-side.
Did you already do that for an app?

@meichhorn-conet
Copy link
Author

I dont know your infrastructure behind your azimutt.app. As cloud developer, I would push generating png files into a docker/kubernetes/fargate (Aws) container. Inside the container I would use playwright for creating screenshots.

@loicknuchel
Copy link
Contributor

Thanks.
Will investigate that.

@loicknuchel loicknuchel added the feature request Ask for new feature or feature evolution label Nov 14, 2022
@loicknuchel
Copy link
Contributor

Have a look at: https://www.npmjs.com/package/html-to-image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Ask for new feature or feature evolution
Projects
None yet
Development

No branches or pull requests

2 participants