Pluralith / pluralith-cli

A tool for Terraform state visualisation and automated generation of infrastructure documentation
https://www.pluralith.com
Mozilla Public License 2.0
787 stars 54 forks source link

Desktop App? #98

Open Shocktrooper opened 1 year ago

Shocktrooper commented 1 year ago

Hello!

With the Pluralith Plan command deprecated and the new graph command only going to the SAAS version of pluralith from what I can tell, what are the plans for local use only? The docs still mention the closed source desktop app.

DanThePutzer commented 1 year ago

Hi @Shocktrooper

We decided to sunset the Desktop app because the SaaS dashboard does pretty much the same thing and maintaining the desktop app took a significant amount of time. Especially cross-platform support and special cases like WSL made linking the CLI and the desktop app quite messy in many cases. Using our SaaS dashboard made things much simpler for us to maintain and also more straight-forward for people to use.

pluralith graph still processes the state and generates the diagram locally, but pushes the diagram in JSON form to our SaaS dashboard for display. Such local runs are stored for only 48 hours on our backend.

If you don't want the diagram JSON to be pushed to a remote location you can use pluralith graph --local-only to output a PDF. This doesn't send anything to our backend and spits out a PDF straight away.

Is having the diagram JSON pushed to our SaaS dashboard for 48 hours problematic for you?

Shocktrooper commented 1 year ago

Mmmm I was curious as to where my last local run went when I went to go look for it as I was used to them staying around permanently on the desktop app for my local runs. I wonder if a retain period setting should be introduced if SAAS is the only way now.

DanThePutzer commented 1 year ago

We could introduce a dropdown letting you decide how long runs will be retained or to turn deletion off completely