Get the Most out of Glitch with These Four Pro Tips
Whether you just discovered Glitch or you're a long-time user, here's a rundown of five features everyone should have on their radar. We try to keep things simple and fun, but there's a lot of power under the 'hood that enables all kinds of creators, from beginners to experienced professionals.
Import/Export with Github #
You might have already discovered Rewind, Glitch’s version control system, but did you know that a Glitch project is also its own Git repo?
And it gets better - in addition to giving you a commit system, you can import/export to Github. Import a project from Github for a great starter project experience. Then export your Glitch project to Github if you need an external repository for your code.
Access the Terminal #
Need console access? We’ve got you covered.
Fire up your Glitch project in the editor. Click the “Tools” button located on the left side of the editor to reveal the Tools menu. Then, click “Terminal.” Presto - a fully functional console ready for your commands.
Make Your Code Prettier #
You’ve probably discovered the Glitch editor’s built-in “Format This File.” We use the fabulous Prettier library for this, and have the default options applied.
Want to do even more? Use a .prettierrc JSON configuration file in your project to set your own preferences.
Keep Your Secrets… Well, Secret #
Hosting a project with API tokens, passwords, or other sensitive information? You can (and should!) store private data securely inside the .env file. It’s a secure environment config section of your project, and only invited collaborators are able to see the contents.
If you need help using Glitch or want to see a new feature added, head to the support forum where you'll find some of the friendliest, most creative coders on the web. And after you've made something awesome, share it with us via email or tag on on Twitter @glitch.