Using Glitch


Glitch is a tool that lets you quickly and easily create web applications. You can run them using Glitch to test them without the trouble of having to set up your own server with a public web address.

This guide provides some basic tips and tricks for working with Glitch.

How do I work with a project on Glitch?

To work with a project on Glitch, do the following:

  1. Go to the project's project page, which will have the structure https://glitch.com/~word-otherword
  2. Click View Source
  3. From the upper right hand side of the screen, click Remix to Edit. You'll be able to change the project however you would like.

You can also sign and then click New Project from the upper righthand corner if you want to work on a new project.

How do I see logs or the console on Glitch?

You can check on your project from a terminal by clicking Tools at the bottom of the page. You'll be able to choose to see an audit log (Logs) and a Full Page Console.

What languages can I use?

Glitch officially only supports javascript. But you can use lots of other languages unofficially. Glitch can be made to work with:

  • C/C++
  • Haskell
  • OCaml
  • Perl
  • Erlang
  • Elixir
  • Lua 5.2
  • PHP
  • Ruby
  • Java
  • Python
  • Go
  • Rust
  • Racket

Glitch and Python

You can add requirements to your Python project on Glitch by including a requirements.txt file containing the modules you want to import.

Sometimes a module you want to import will not import. You can add it using Glitch's console, but be sure to install to your user area using the --user tag.

pip install --user module_name