Glitch's Remix Button: Forking a Whole Running App, Not Just Its Code
Glitch's Remix clones a running app, not just its code. Here's what gets copied, how to verify isolation, and the secrets pitfall to check first.
25 Jun 2026, 18:43 UTC

You find a Glitch project that does almost exactly what you want — a small Node.js API, a Discord bot skeleton, a webhook receiver. The usual path is: clone the repo, install Node, run npm install, figure out which environment variables it expects, and only then see if it even boots. Glitch's Remix feature collapses all of that into one click, and understanding what it actually copies — and what it doesn't — is the difference between a fast prototype and a leaked API key.
What Remix actually duplicates
Remixing is closer to forking a running server than forking a Git repository. When you click Remix on a public project, Glitch creates a new, independent project containing a full copy of the file system — source code, package.json, static assets — plus a fresh container to run it in. Each Glitch project runs in its own isolated container, so dependency installation (node_modules) happens per-project. Your remix gets its own dependencies, its own logs, its own project URL, and its own deployment history. Nothing you do touches the original.
Because the editor is built into the browser and the container rebuilds as you type, you go from "I found this project" to "I have a modified, running copy" without installing anything locally. For onboarding a teammate or teaching a workshop, that removes the two steps where beginners most often get stuck: environment setup and dependency management.
A worked example: forking an Express starter
Say you remix a typical Express starter whose server.js looks like this:
const express = require("express");
const app = express();
app.get("/", (req, res) => {
res.json({ message: "hello from the original" });
});
const listener = app.listen(process.env.PORT, () => {
console.log("Listening on port " + listener.address().port);
});After remixing, you edit the response text in the web editor — no save button needed; Glitch writes changes as you type and restarts the app. Now verify the isolation, which is the whole point:
- Open the remixed project's URL and confirm it returns your new message.
- Open the original project's URL and confirm it still returns
hello from the original. - Check the Logs panel in each project: they show separate boot and request histories.
If all three hold, you have a genuinely independent copy. This takes under a minute and requires no local tooling at all.
The secrets problem you must check first
Here is the trade-off that bites people. Glitch projects normally keep secrets in a .env file, which is not shown to other users and is handled specially. But if the original author hardcoded an API key in a source file, or stored configuration in a regular file instead of .env, that content rides along into every remix. Before building on a remixed project, open the Environment Variables section (the .env file in the editor) and grep the codebase for anything that looks like a token:
- Search for strings like
key,token, orsecretin the editor's file search. - Rotate any credential of your own that you paste in, and only ever put it in
.env, referenced asprocess.env.MY_KEY. - If you plan to share your project publicly later, audit it the same way before you do.
Two more limitations worth knowing
First, a remix is a snapshot, not a subscription. There is no live link back to the source project — if the original author fixes a bug next week, your copy stays as it was. If you need upstream changes, you re-remix or port the diff by hand. Second, size matters: projects with large dependency trees take noticeably longer to copy and cold-boot, so a heavyweight starter can undercut the "instant" promise that makes Remix attractive in the first place.
When to reach for it
Remix shines when the goal is learning by modifying something that already runs: prototypes, class exercises, evaluating a library against a live endpoint. It is the wrong tool when you need version-controlled collaboration or a path to production — export to Git for that. The practical habit to adopt: remix, verify the original is untouched, audit .env and the source for stray secrets, then start editing. Three checks, under five minutes, and you have a safe, running sandbox.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.