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.
| Project | What it is | License | GitHub stars (as of November 2026) | Runs on | Models |
|---|---|---|---|---|---|
| bolt.diy | Full-stack web app builder in the browser | MIT | ~20k | Local, Docker, Electron | Your keys; Ollama, LM Studio |
| Dyad | Local AI app builder | Apache 2.0 (pro folder FSL 1.1) | ~22.2k | Mac, Windows | Your keys |
| OpenHands | Control center for coding agents | MIT | ~92.6k | Self-hosted | Your model |
| Cline | Coding agent | Apache 2.0 | ~70.9k | VS Code, JetBrains, CLI | Your keys |
| OpenCode | Terminal coding agent | MIT | ~225k | Terminal | Your keys |
| Open Lovable | Clones a website into a React app | MIT | ~28.8k | Needs Vercel or E2B sandbox | Firecrawl key + LLM key |
| Onlook | Visual AI editor for Next.js + Tailwind | Apache 2.0 | ~27k | See repo | See repo |
| code-server | VS Code in the browser | MIT | ~79.6k | Your server | No AI built in |
| Coder | Self-hosted dev environments + AI agents | AGPL-3.0 | ~14.1k | Your infrastructure | Your 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.
| Tool | Open source? | Free tier | Paid from |
|---|---|---|---|
| Leanfinit | No | Completely free in beta, no card | No paid plans |
| Replit | No | 1 app, removed after 30 days | Core $20/mo |
| Lovable | No | 5 credits/day, max 30/month | Pro $25/mo |
| Bolt.new | No | 300K tokens/day, 1M/month | Pro $25/mo |
| Base44 | No | 25 message credits (max 5/day) | Starter $16/mo (annual) |
| v0 | No | 7 messages/day | $30/user/mo |
| Emergent | No | 10 credits | Standard $20/mo |
| Google AI Studio | No | Free unless you link a paid API key | Pay for API usage |
| Cursor | No | Limited agent/chat requests | $8/mo |
| Claude Code | No | Not on Claude's Free plan | Pro $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.