Ai coding tool guides
Replit
3 min read
Overview
Replit is a browser-based IDE with built-in AI coding assistance, hosting, and collaboration. Replit supports many languages and frameworks, and projects can be exported to Lunadeck for native mobile deployment.
To get your Replit project into Lunadeck, you have two options:
- Connect via GitHub — Replit can push your project directly to a GitHub repository, which Lunadeck then imports. This is the recommended approach since it keeps your project in sync as you continue iterating in Replit.
- Download a ZIP — Replit can export your project as a ZIP archive that you upload directly to Lunadeck. Use this if you prefer not to involve GitHub.
GitHub
Step 1: Push to GitHub from Replit
- Open your Repl
- Click the + button in the tab bar to open a new tab
- Search for Git and select Git — Version control your App
Replit new tab search showing the Git tool result
- In the Git tab, click Settings and sign in to your Git provider (GitHub, GitLab, or Bitbucket) under Connections
Replit Git settings panel showing Remote URL field and Connections for Bitbucket, GitLab, and GitHub
- Enter a remote URL or create a new repository, then push your code
Step 2: Connect the repo in Lunadeck
- In the Lunadeck dashboard, click Start a new project
- Select Connect Git Repository
- Authorize Lunadeck to access your GitHub account
- Select the repository you pushed from Replit
- Click Import
Step 3: Build
Click Build and Lunadeck will detect your framework and compile a native mobile app.
ZIP
If you prefer not to use GitHub, you can download your project as a ZIP file and upload it directly.
Step 1: Download from Replit
- Open your Repl
- Click the side panel button in the top-right corner of the editor
- Click File tree to open the file browser
- Click the three-dot menu (⋯) at the top of the file tree
- Select Download as zip
- Save the file to your computer
Replit file tree panel showing the three-dot menu open with "Download as zip" highlighted
Step 2: Upload to Lunadeck
- In the Lunadeck dashboard, click Start a new project
- Select Upload a ZIP
- Drag and drop the ZIP file or click to browse
- Click Import
Common issues
- Replit-specific config — files like
.replitandreplit.nixare ignored by Lunadeck and won't affect your build - Port configuration — Replit projects often listen on port 0.0.0.0 or use Replit-specific environment variables for ports. Lunadeck handles port configuration automatically, so no changes are needed
- Database dependencies — if your Replit project uses Replit's built-in database, you'll need to switch to an external provider (e.g., Supabase, Firebase) before deploying with Lunadeck