LiveCodes
Feature-rich client-side code playground for React, Vue, Svelte, Solid, Typescript, Python, Go, Ruby, PHP and 90+ other languages.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: We were unable to fetch the official website, so the content below is compiled from existing knowledge of LiveCodes. For deployment details, please refer to the official documentation (https://livecodes.io/docs/features/self-hosting).
Introduction
LiveCodes is a feature-rich, open-source code playground for writing, running, and sharing front-end code in the browser. It supports a large number of languages and frameworks, such as HTML, Markdown, CSS, SCSS, Tailwind CSS, JavaScript, TypeScript, JSX, React, Vue, Svelte, and Python (based on WebAssembly). All compilation and execution happens in the browser, so no backend server is required.
Key Features
- Multi-language support: Write and run a wide range of languages, preprocessors, and frameworks, with compilers loaded in the browser on demand.
- Live preview: Results appear instantly as you edit code, with a built-in console and a compiled-output viewer.
- Embeds and SDK: Embed the playground in blogs, documentation, or tutorial pages and control it programmatically through the SDK, which can be used with popular front-end frameworks.
- Import and sharing: Import code from sources such as GitHub, and share projects via links.
- Templates and project management: Starter templates are provided, and projects can be saved locally in the browser.
Target Users and Use Cases
- Developers who want to quickly experiment with front-end code or prototypes
- Technical writers who need to include interactive code examples in documentation or blogs
- Teachers and training organizations that use it for programming instruction and demos
- Teams who want to offer a private playground on an internal network or their own domain
Self-Hosting
LiveCodes is a purely client-side application, and its build output consists of static files, so it can be hosted on any static site service, such as GitHub Pages, Netlify, Vercel, Cloudflare Pages, or your own web server. The general process is as follows:
- Get the release package from the GitHub repository, or clone the source code and build it with npm;
- Deploy the generated static files to a static hosting service or web server;
- When embedding with the SDK, you can point the app URL to your self-hosted instance.
For specific steps and optional configuration, please refer to the official self-hosting documentation.
Technical Requirements
- Running: A modern browser is all you need; no server-side runtime is required
- Building (when building from source): Node.js and npm
Core Advantages
- Open source (MIT license), free to use and modify
- Runs entirely on the client side, making deployment simple and low-cost
- Supports many languages and frameworks, so it suits a wide range of uses
- Easy to embed, making it a good fit for documentation and teaching scenarios
Discover more
Graphweaver
Turn multiple data sources into a single GraphQL API.
Hoppscotch Community Edition
Fast and beautiful API request builder.
Mergeable
The missing inbox for GitHub pull requests
OrcaQ
The open source | Next Generation database editor
Saltcorn
Free and open source no-code application builder
code-server
VS Code in the browser, hosted on a remote server.