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.- Copy the repository path after
github.com/. - Open
https://replit.com/github.com/<owner>/<repo>. - Press Enter to start import.
- 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.- Open replit.com/import.
- Select GitHub.
- Connect your GitHub account.
- Choose a repository.
- 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:- Replit Agent: Get help with feature work, debugging, and refactoring
- Make your Replit App Public: Share your app as a Template
- Replit Deployments: Publish your app
- Collaborate: Build with teammates