Replit alternative hosting: how do I move my Replit app?

Published By the Rehome team

The short answer

Download your Replit project as a ZIP or push it to GitHub, export the database with pg_dump, then deploy the code to a host that runs the same language and gives you Postgres. Set the environment variables from Replit's Secrets, restore the database, test, and move your domain. Rehome has no Replit importer yet, but it hosts the app once Claude has it.

Replit makes it easy to build and publish in one place. People move off it to cut costs, to keep building in Claude Code on their own computer, or to get a host that suits one app better.

What you’re moving

  • Code. Replit lets you download the project as a ZIP (three-dot menu at the top of the file tree, then Download as zip) or connect GitHub from the Git pane. The ZIP leaves out Git history.
  • Database. Replit apps come with a Postgres database. It’s standard Postgres, so pg_dump works.
  • Secrets. Copy every key name and value from Replit’s Secrets tool into a password manager. You’ll set them again on the new host.
  • How it runs. Replit offers four deployment types: Autoscale, Static, Reserved VM and Scheduled. Note which one you use: a Reserved VM runs all the time, which matters for websockets and background jobs.

Steps

  1. Export the code to GitHub or as a ZIP, and open it in Claude Code.
  2. Check the run and build commands in the .replit file. Ask Claude to add the same commands to package.json or your Python project so any host can use them.
  3. Remove Replit-only parts. Replit-specific packages, the Replit database client (if you used Replit’s key-value store) and hard-coded Replit addresses.
  4. Make the app read its port from the PORT environment variable and listen on 0.0.0.0.
  5. Dump the database with pg_dump.
  6. Deploy to the new host, create Postgres there and restore the dump.
  7. Set the secrets on the new host.
  8. Test on the new address, then move your domain. Keep the Replit app running until the new one has served real traffic.

How Rehome does it

Rehome doesn’t import Replit apps automatically yet. Once the code is on your computer, say “deploy” in Claude:

  • Rehome works out how to build and run it: Node, Python, Go, Rust, Deno, static sites, or anything with a Procfile or Dockerfile. A .replit run command is a good hint for Claude when adding one.
  • It creates Postgres and connects it. Restore your pg_dump file into it, and Claude can help with that step.
  • Keys go in through a secure link with the names filled in.
  • Websockets and background jobs work as Claude built them.

The free plan covers 1 full-stack app and 10 static sites, and allows commercial use. For a large app, the done-for-you move covers Replit too.

Questions

Do I need a paid Replit plan to keep my app online?

For most people, yes. As of November 2026, Replit's free Starter plan is closed to new users, who get a short Core trial. Existing Starter users keep one free published app, which goes down after 30 days. Core costs $20 a month, or $18 billed annually.

How do I get my database out of Replit?

Replit apps come with a Postgres database. Copy its connection address from the database tool and run pg_dump against it to get a backup file you can restore anywhere.

Does Rehome import Replit apps?

Not yet. A Replit importer is planned. Today you export the code and database as described here, and Claude deploys them to Rehome.