Skip to main content

Import from GitHub

Estimated time: two minutes Import a GitHub repository into Replit to run, test, and publish faster. For comprehensive import options including other platforms like Figma, Bolt, and Lovable, see the Import feature documentation.

Before you start

  • A GitHub repository URL
  • Access to the repository (public or private)
  • A Replit account

Option one: rapid import

Rapid import works for public repositories.
  1. Copy the repository path after github.com/.
  2. Open https://replit.com/github.com/<owner>/<repo>.
  3. Press Enter to start import.
Example
  • GitHub URL: https://github.com/exampleUser/my-app
  • Replit import URL: https://replit.com/github.com/exampleUser/my-app

Option two: guided import

Guided import supports public and private repositories.
  1. Open replit.com/import.
  2. Select GitHub.
  3. Connect your GitHub account.
  4. Choose a repository.
  5. Select Import.

What gets imported

  • Repository files and folders
  • Dependency files
  • Common run and build configuration

What is not imported

  • Existing secret values and environment variable values
  • Platform-specific services that do not run in Replit by default

Configure and run your app

During import, . If your app needs changes, use these Workspace tools:
  • Agent: Refine features, debug issues, and make code changes
  • Secrets: Add API keys and environment variables
  • Workflows: Set the Run command for your app

Continue your journey

Now that you’ve imported your , explore these next steps: