Compare
EN
Get started free
All comparisons
Replit alternatives

Replit Alternatives Open Source: 9 Projects You Can Run Yourself

Open-source Replit alternatives compared: bolt.diy, Dyad, OpenHands, Cline, code-server and more, with licenses, stars and setup. Plus Leanfinit, free in beta.

Leanfinit · 12 min read · Disclosure: Leanfinit is our product.Updated November 2026

The main open-source Replit alternatives in November 2026 are bolt.diy and Dyad for building apps from prompts, OpenHands, Cline and OpenCode for agent-style coding, Open Lovable and Onlook for front-end work, and code-server and Coder for a self-hosted cloud IDE similar to classic Replit. All nine are free to download, but you supply the model API keys, the computer or server, and the deployment.

Is there an open-source version of Replit?

There is no open-source project that reproduces all of Replit, which combines an AI agent, a browser IDE, managed PostgreSQL and four types of hosting in one product (Replit deployments). Open-source Replit alternatives cover one or two of those layers each:

  • Prompt-to-app builders (closest to Replit Agent): bolt.diy, Dyad, Open Lovable.
  • Coding agents for developers: OpenHands, Cline, OpenCode.
  • Visual front-end editing: Onlook.
  • Self-hosted cloud IDEs (closest to classic Replit): code-server, Coder.

Combining layers, for example code-server on a server with Cline inside it, gets closer to the full Replit experience, at the cost of more setup.

Do open-source Replit alternatives cost anything?

Open-source Replit alternatives are free to download and use, but running them usually isn't free. Most are "bring your own key": you connect an account with a model provider and pay that provider for usage. bolt.diy can avoid that bill by running local models through Ollama or LM Studio, if your computer can handle them (bolt.diy on GitHub). Open Lovable needs three accounts: Firecrawl, a sandbox provider (Vercel or E2B) and an LLM provider (Open Lovable on GitHub). Self-hosted tools such as code-server and Coder also need a server, and any app you build still needs hosting.

For comparison, Replit Core costs $20/month as of November 2026, and Replit Agent work is billed by effort on top of included credits (Replit pricing; Replit AI billing).

Open-source Replit alternatives compared

The table compares the nine open-source projects by license, GitHub stars and how they run.

ProjectWhat it isLicenseGitHub stars (as of November 2026)Runs onModels
bolt.diyFull-stack web app builder in the browserMIT~20kLocal, Docker, ElectronYour keys; Ollama, LM Studio
DyadLocal AI app builderApache 2.0 (pro folder FSL 1.1)~22.2kMac, WindowsYour keys
OpenHandsControl center for coding agentsMIT~92.6kSelf-hostedYour model
ClineCoding agentApache 2.0~70.9kVS Code, JetBrains, CLIYour keys
OpenCodeTerminal coding agentMIT~225kTerminalYour keys
Open LovableClones a website into a React appMIT~28.8kNeeds Vercel or E2B sandboxFirecrawl key + LLM key
OnlookVisual AI editor for Next.js + TailwindApache 2.0~27kSee repoSee repo
code-serverVS Code in the browserMIT~79.6kYour serverNo AI built in
CoderSelf-hosted dev environments + AI agentsAGPL-3.0~14.1kYour infrastructureYour agents/models

Star counts and licenses from each project's GitHub page, checked November 2026.

How do hosted Replit alternatives compare with open source?

Hosted Replit alternatives are not open source, but several have free tiers that cost less effort than running an open-source stack. The market leaders compare as follows.

ToolOpen source?Free tierPaid from
LeanfinitNoCompletely free in beta, no cardNo paid plans
ReplitNo1 app, removed after 30 daysCore $20/mo
LovableNo5 credits/day, max 30/monthPro $25/mo
Bolt.newNo300K tokens/day, 1M/monthPro $25/mo
Base44No25 message credits (max 5/day)Starter $16/mo (annual)
v0No7 messages/day$30/user/mo
EmergentNo10 creditsStandard $20/mo
Google AI StudioNoFree unless you link a paid API keyPay for API usage
CursorNoLimited agent/chat requests$8/mo
Claude CodeNoNot on Claude's Free planPro $20/mo

Prices from each vendor's pricing page, checked November 2026.

The best open-source Replit alternatives, ranked

The ranking starts with Leanfinit, the one entry that isn't open source, for readers whose goal is a free app rather than self-hosting. The nine open-source projects follow, ordered by how close they come to Replit Agent's prompt-to-app workflow.

1Leanfinit — not open source, but free with no setup

Leanfinit is not open source. It is included because many people search for open-source tools mainly to avoid subscription fees, and Leanfinit removes that cost without the setup: it is completely free during its beta, with no paid plans, no credit card and no API keys. You describe an app in plain language, Leanfinit builds it in seconds, and the Publish button puts it on the web, where it opens in any phone browser. There are no servers, databases or hosting to configure. Code export is available, and apps keep user data on the device with no backend.

  • Best for: Non-developers who want a free app now and have no interest in running infrastructure.
  • Watch out for: You can't inspect or self-host Leanfinit itself, and apps that need a shared multi-user database are outside what it builds.

2bolt.diy — closest open-source match to a hosted app builder

bolt.diy is a browser-based, full-stack web app builder under the MIT license, with about 20k GitHub stars as of November 2026 (bolt.diy on GitHub). It runs locally, in Docker or as an Electron desktop app, and you bring your own API keys or point it at local models through Ollama or LM Studio. That makes it the only builder here that can run with no API bill at all.

  • Best for: Developers who want a prompt-to-web-app workflow under their own control.
  • Watch out for: Local models need capable hardware, and deployment of the finished app is up to you.

3Dyad — easiest open-source builder to install

Dyad is a local AI app builder for Mac and Windows that presents itself as an alternative to Lovable, Replit and Bolt (Dyad on GitHub). It is licensed Apache 2.0, with its src/pro folder under FSL 1.1, and had about 22.2k stars as of November 2026. Dyad is free forever with your own API key (the Basic Agent allows 20 messages a day), and an optional Pro plan costs $20/month for 200 credits (Dyad pricing).

  • Best for: People who want a desktop app rather than a Docker setup, with projects stored on their own computer.
  • Watch out for: Not all of the code is Apache 2.0, and paid credits are needed if you don't want to manage your own key.

4OpenHands — best self-hosted coding agent platform

OpenHands is a self-hosted control center for coding agents, released under MIT, with about 92.6k GitHub stars as of November 2026 (OpenHands on GitHub). You bring your own model. It is the closest open-source answer to the "agent that does the work" part of Replit Agent for teams with an existing codebase.

  • Best for: Developers and teams who want autonomous coding agents on infrastructure they run.
  • Watch out for: It manages agents and code, not app hosting; you still deploy what it builds.

5Cline — best open-source agent inside your editor

Cline is a coding agent for VS Code, JetBrains IDEs and the command line, licensed Apache 2.0, with about 70.9k GitHub stars as of November 2026 (Cline on GitHub). It works with your own API keys. Running Cline inside code-server can give a browser-based setup that resembles Replit's IDE with an agent built in.

  • Best for: Developers who already work in VS Code or JetBrains and want an agent there.
  • Watch out for: Model costs depend on your provider and how much the agent runs.

6OpenCode — open-source terminal coding agent

OpenCode is an open-source coding agent that runs in the terminal, licensed MIT, with roughly 225k GitHub stars as of November 2026 (OpenCode on GitHub). It fills the same role as Claude Code for developers who want an open-source agent and their choice of model provider.

  • Best for: Developers comfortable in the terminal who want an open alternative to proprietary coding agents.
  • Watch out for: No visual interface or hosting; it assumes you know your way around a codebase.

7Open Lovable — best for turning an existing website into a React app

Open Lovable, from Firecrawl, clones a website into a React app; it is MIT-licensed, with about 28.8k GitHub stars as of November 2026 (Open Lovable on GitHub). It needs a Firecrawl API key, a Vercel or E2B sandbox and an LLM key.

  • Best for: Rebuilding or redesigning an existing site as a React codebase.
  • Watch out for: Three separate service accounts, and its focus is cloning sites rather than building apps from scratch.

8Onlook — best open-source visual editor

Onlook is a visual AI editor for Next.js and Tailwind projects, licensed Apache 2.0, with about 27k GitHub stars as of November 2026 (Onlook on GitHub).

  • Best for: Designers and front-end developers who want to edit a Next.js interface visually.
  • Watch out for: It targets one stack, Next.js with Tailwind, and doesn't replace a backend or hosting.

9code-server — self-hosted version of the classic Replit IDE

code-server runs VS Code in the browser on your own server. It is MIT-licensed, has about 79.6k GitHub stars as of November 2026, and has no AI built in, which makes it the closest open-source match to Replit's original cloud IDE (code-server on GitHub).

  • Best for: Learners, schools and developers who want a browser IDE with no subscription and no AI.
  • Watch out for: You maintain the server, and AI features require adding an agent such as Cline.

10Coder — self-hosted development environments for teams

Coder provides self-hosted development environments with support for AI agents, licensed AGPL-3.0, with about 14.1k GitHub stars as of November 2026 (Coder on GitHub). It is the team-scale counterpart to code-server.

  • Best for: Companies that want Replit-style cloud workspaces on their own infrastructure.
  • Watch out for: AGPL-3.0 has stricter terms than MIT or Apache 2.0 if you modify and offer it as a service; review the license first.

What users report about hosted builders' costs

Billing is the most common complaint about hosted Replit alternatives, and it is the main reason open-source tools come up in comparisons. Trustpilot does not verify reviews, so read these as individual reports.

  • Replit (2.8/5, 1,559 reviews): a September 2026 reviewer said the advertised "hours" of Agent work didn't correspond to real working time under effort-based billing (Trustpilot).
  • Emergent (2.7/5, 659 reviews): an October 2026 reviewer said a task estimated at 6–9 credits used 37.08 (Trustpilot).
  • Base44 (2.7/5, 925 reviews): an October 2026 reviewer described spending about 50K integration credits for one usable result (Trustpilot).

Open-source tools don't remove model costs; they move the bill to your own provider account, where you can see and cap it.

Why Leanfinit fits people who looked at open source to avoid paying

Leanfinit is not open source, but for non-developers whose real goal is a free app, it removes the costs and the setup that open-source tools leave behind.

  • Free without API keys. Leanfinit is completely free during its beta, with no paid plans, no credit card and no model provider account to connect.
  • No installation. There is no Docker, desktop install, server or sandbox account; you describe the app and Leanfinit builds it in seconds.
  • Hosting included. The Publish button puts the app on the web, where it opens in any phone browser. With open-source builders, hosting is a separate job.
  • Your code is exportable. Code export is available, so the app isn't tied to Leanfinit.

If you need to audit or self-host the builder itself, choose bolt.diy or Dyad. If you're a developer who wants an open agent, choose OpenHands, Cline or OpenCode.

FAQ

Is there an open-source Replit?No open-source project replicates all of Replit. The closest matches split by layer: bolt.diy (MIT) and Dyad (Apache 2.0) build apps from prompts like Replit Agent; code-server (MIT) and Coder (AGPL-3.0) provide a self-hosted browser IDE like classic Replit; OpenHands, Cline and OpenCode are open-source coding agents for developers.
Can I self-host a Replit alternative?Yes. code-server runs VS Code in the browser on your own server, and Coder provides self-hosted development environments for teams. bolt.diy runs locally or in Docker, and OpenHands is designed to be self-hosted. You'll need to maintain the server, connect your own model API keys, and host the apps you build separately.
What's the open-source alternative to Replit Agent?For building apps from a prompt, bolt.diy and Dyad are the closest open-source alternatives to Replit Agent; both use your own API keys, and bolt.diy also works with local models via Ollama or LM Studio. For agent-driven coding on an existing project, OpenHands, Cline and OpenCode are the main open-source options.
Do open-source app builders cost anything?The software is free, but most open-source app builders need your own API key, so you pay the model provider for usage. Dyad is free with your own key; bolt.diy can run local models at no API cost if your hardware allows. Hosting the finished app is a separate cost unless you use a service with free hosting.
Is Leanfinit open source?No, Leanfinit is not open source. It is a hosted builder that is completely free during its beta, with no paid plans, no credit card and no API keys. Code export is available, so you can take the generated code with you. If you need an open-source builder you can self-host, bolt.diy and Dyad are better fits.
Which Replit alternatives are on GitHub?All nine projects in this guide are on GitHub: OpenHands (~92.6k stars), code-server (~79.6k), Cline (~70.9k), Open Lovable (~28.8k), Onlook (~27k), Dyad (~22.2k), bolt.diy (~20k) and Coder (~14.1k), as of November 2026. OpenCode has the most of all, roughly 225k. Licenses are MIT, Apache 2.0 or AGPL-3.0.
Sources

Try Leanfinit free

Describe your app, get it in seconds. Free during the beta, no credit card.

Start building →

More comparisons