You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
Home > Project Editor > Importing & Exporting Code > Importing Code from GitHub
Importing Code from GitHub
print icon

You can import your code from GitHub into either:

  • A new project, or
  • An existing project


New Project

If you would like to create a new project by importing an existing GitHub repo:



Here's how:

  1. Go to the Create Project page and scroll down until you see the Import from GitHub button, or click the New Project button and then click the Import from GitHub button.
  2. Copy the GitHub URL for your repo and paste it into the box and then click Let's go.




Existing Project

If you would like to import a GitHub repo into an existing Glitch project:



Here's how:

  1. In the project editor, click Tools at the bottom of the page.
  2. In the Tools menu, click Import and Export.
  3. Now, click Import from GitHub.
  4. In the popup, enter the GitHub repo that you want to import code from, and then click OK.


Your import will include all the files and full commit history, which is viewable in Glitch Rewind.

  • Public repos should work without issue.
  • Private repos require authentication.


Note the following:

  • If you're trying to import from a GitHub organization's repo, be sure that the organization admin approves third-party access for Glitch.
  • While other languages may work on Glitch, we only support javascript.  If you are importing code in another language, you may receive an error.
  • The disk space limit for free projects is 200MB and 400MB for boosted apps.  If you are importing a project that is larger than this, you may receive an error.



Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
275 out of 280 found this helpful

scroll to top icon