A quick update: You can now put in a bundle URL from the charm store in
addition to a raw HTTP address to get an SVG/PNG/PDF/XML render.

Examples on the homepage have been updated, they're repeated here for your
convenience:

http://svg.juju.solutions/?bundle=openstack-telemetry
http://svg.juju.solutions/?bundle=cs:~bigdata-dev/bundle/apache-analytics-sql-15&output=png

Thanks,
Marco Ceppi

On Thu, Dec 1, 2016 at 9:48 AM James Donner <james.don...@canonical.com>
wrote:

> This is a godsend.
>
> It used to be incredibly difficult to gather images of Juju bundles, but
> this tool removes so many steps from the process I used to have to take.
>
> Awesome work Marco!
>
> On Wed, Nov 30, 2016 at 9:37 PM, Marco Ceppi <marco.ce...@canonical.com>
> wrote:
>
> 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
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to