Hey everyone,

A while ago I built a small web app that you could feed raw bundle.yaml
files to and get back SVG images of the deployment like you would in the
Charm Store or Juju GUI. This was built for things like Juju Benchmarking
which shows an image representing the Juju deployment under test. Now it's
become a resource for those building slides, presentations, blog posts, and
readme files. However, SVG is not the most approachable format for some of
these new use cases.

As a result of this, I've added a raster converter as part of the
application making bundle.yaml and transform them into transparent PNGs,
PDF, or XML. The service will continue to default to SVG.

Here's a few live examples:

PNG: svg.juju.solutions/?bundle-file=https://[snip]/bundle.yaml&output=png
<http://svg.juju.solutions/?bundle-file=https://raw.githubusercontent.com/marcoceppi/bundle-observable-kubernetes/8681c21a5592806ea90fc56825eee488ac0541d1/bundle.yaml&output=png>
PDF: svg.juju.solutions/?bundle-file=https://[snip]/bundle.yaml&output=pdf
<http://svg.juju.solutions/?bundle-file=https://raw.githubusercontent.com/marcoceppi/bundle-observable-kubernetes/8681c21a5592806ea90fc56825eee488ac0541d1/bundle.yaml&output=pdf>

The landing page has been updated to include a quick submission form, no
more need to hack URLs manually. https://svg.juju.solutions

Finally, this is an open source project with an accompanying charm:

* https://github.com/marcoceppi/svg.juju.solutions
* https://github.com/marcoceppi/layer-charmsvg
* https://jujucharms.com/u/marcoceppi/charm-svg

The site is, of course, deployed and managed by Juju.

Thanks,
Marco Ceppi
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to