We just released a new feature that will let you experience a terminal with flyctl from your browser: fly.io/terminal
Behind the scene, it does some machines magic and deploys your own private terminal so you can clone repositories and fly launch them. After 10 minutes of inactivity, it will automatically shut down (just like our Code Server recipe) and reset to a blank state.
Initially, it comes with Elixir, PHP, and Ruby (Rails) built in to help users get unblocked if they face language-specific issues but we want to improve this in the future plus it’s also possible to apt-get things as needed.
Gotta say, this was immensely useful this morning! I pushed out a change to one of my projects, which broke part of the api. Not too much, but enough that some users emailed me.
Unfortunately, shortly after I deployed my laptop went “pop” and I was left without any way to resolve the problem.
Working from my iPad, using this new CLI, I was able to fly deploy -i {img} to roll back to the previous version. (btw, we really need a rollback feature! especially from the web UI)
Some comments/improvements:
please try using this from an iPad/tablet during development. Not being able to repeat commands is quite annoying. Eg, pressing the “up” cursor isn’t possible.
being able to collapse the sidebar would be good to get more screen real estate. Also being able to set the text size.
some way to not have to repeat -a arg for all commands would be nice. Maybe that could be suggested in the welcome message when starting up the CLI?
Other than that, it was really useful, and saved my users some headaches while I’m unable to resolve the issue.
This sounds really cool! Does it still work? When I go to https://fly.io/terminal/ and click the “Launch WebCLI” button, I see a progress spinner for “Finishing Checking if machine is reachable.” that never finishes.
I have the same issue today. Clicking the “Launch WebCLI” button, I see a progress spinner for “Finishing Checking if machine is reachable.” that never finishes.