Introducing the Replit Desktop App
Replit now ships a native desktop app for macOS, Windows and Linux, centered on the IDE workspace, with multiple windows, editor shortcuts the browser would intercept (Cmd/Ctrl+T/W), deep linking and native Chromium devtools. It is built on Electron rather than React Native, which lacked Linux support, or Tauri, which was missing deep linking and native APIs for remotely loaded URLs and brought cross-platform rendering differences and Rust iteration costs. The app remotely loads part of the website, exposes Node APIs to the web client, and is packaged and signed per platform and architecture with Electron Forge in GitHub Actions. Auto-updates go through a Hazel-based release server deployed on Replit.
Related posts
- Growing Pains: Migrating Slack’s Desktop App to BrowserView
Slack Engineering mediumAdeptSlack rewrote its Electron desktop app (Slack 3.0) to replace the buggy Chromium webview, which sometimes failed to render after being hidden, with BrowserView, a window-like API that can only be created from the main process. A per-process Redux store synchronized via electron-redux IPC kept actions process-agnostic, redux-observable epics acted as a cross-process event bus for side effects, and TypeScript made the large refactor safe. Moving the lightweight 'slim-Slack' pages for unloaded workspaces into the main process cut process count and memory. The team reused over 70% of the existing code and doubled test coverage, and the post includes examples of testing epics with marble diagrams.
- Deploying Django to Replit
Replit mediumAdeptReplit can host a Django app either from its built-in Django App Template or by importing an existing project from GitHub, with the .replit run command (python manage.py runserver 0.0.0.0:3000) starting the server on a Replit-supplied domain. The walkthrough builds a simple tasks app with a view, URL route and Bootstrap template. GitHub imports also need X_FRAME_OPTIONS set and the repl domain added to ALLOWED_HOSTS. Production use still calls for a sturdier database than the default SQLite and a friendlier domain.
- How we went from supporting 50 languages to all of them
Replit easyNoviceReplit replaced its ever-growing monolithic Docker OS image with Nix, giving every repl access to over 30,000 OS packages through a declarative `replit.nix` file. The packages are prebuilt into a roughly 1 TB shared Nix store disk image that is mounted at `/nix` in every repl, so nothing needs to be downloaded. Nix's content-addressed store lets many versions coexist without conflicts, and each environment exposes only the packages it declares. Planned work includes `.replit` configuration for things like LSP and caching nix-shell environments to remove rebuild delay on run, which an edit notes has since shipped.
- Replit²
Replit mediumAdeptA Replit Nix repl can act as a code-execution backend: a Koa.js server spawns a Python child process and feeds user code through stdin, using code.InteractiveInterpreter, which avoids shell injection and keeps crashes from taking down the server. A second repl works as a proxy that load-balances across forked compute nodes, tracking per-node concurrent calls in Replit Database with a usage threshold and HTML-escaping input. A simple web component front end calls the cluster's API. A security section notes the limits of this sandboxing approach.
- Why We Switched From Webpack To Vite
Replit easyNoviceReplit rebuilt its React template on Vite instead of Create React App and Webpack, and it starts far faster: Vite was running before the old container had even booted the CRA files. Vite pre-bundles rarely changing dependencies with esbuild, which is written in Go and claimed to be 10-100x faster than JavaScript bundlers. It serves source code as native ES Modules so the browser does the bundling, and its hot module replacement invalidates only the affected modules, so update times stay constant as the app grows. Vue and vanilla JS templates are also available.