Switcheroo is a recent project I have been working on. It is a bookmarklet that lets you toggle between the various environments of your site. The idea was brought to me by a coworker who was having to frequently toggle between our various dev, staging and production environments. I will most likely never recoop the time it took to develop but whatever, its cool and hopefully someone else can get some use out of it, right?
Basically all you do is stick an environments.json file into the root of your site and use this bookmarklet to toggle between them. Pretty simple, and here’s what the environments.json file should look like.
[{
"environments": [
"site.dev",
"site.staging",
"site.com"
]
}]
And the link to the github repo https://github.com/eriksundahl/switcheroo