# LiveCodes

LiveCodes is an open-source, client-side code playground for writing, running, formatting and sharing code in 90+ languages and frameworks, with all core features executing inside your browser.

Canonical page: https://ourlocalhost.com/app/8578/livecodes

## Description

LiveCodes is an open-source, client-side code playground for writing, running, formatting and sharing code in 90+ languages and frameworks, with all core features executing inside your browser. It's built for developers, educators and self-hosters who want a privacy-friendly coding environment they can deploy on any static file server or CDN.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

72/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 3 days ago)
- Popular: 64 (1,527 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)

## Links

- Official website: https://livecodes.io
- Documentation: https://livecodes.io/docs/
- GitHub: https://github.com/live-codes/livecodes

## Common questions

### How can I self-host LiveCodes with minimal infrastructure?

Download a release, extract the folder, and serve it from any static file server or CDN. Docker Compose is only useful if you want optional extras that depend on outside services.

### Do self-hosted users need accounts or login?

No account is required for normal use. A GitHub account is required only for features that use GitHub integration.

### Do I need to build LiveCodes before embedding it in my website?

No. You can add a script that imports createPlayground from a CDN and initialize it on a container element. The documentation shows this as an embedded playground without a build step.

### Can a self-hosted playground load npm, Deno, or JSR modules?

Yes. It supports using modules from npm, Deno, JSR, GitHub, and other sources.

### Does the self-hosted app run code on my server?

No. It is described as a client-side code playground that runs in the browser. Your server only needs to serve the static files or the Docker extras for optional services.

## Alternatives

- Babel-sublime
- Codeanywhere: Codeanywhere is a code editor in a browser with a powerful ftp client integrated, and all popular web formats are supported (HTML, PHP, Jav…
- Jest: Jest is a unit testing framework for JavaScript used by Facebook to test React apps.
- Monaco Editor: The Monaco Editor is the code editor that powers VS Code.
- Prettier: Prettier is an opinionated code formatter with support for various languages.
- Sass: Sass is a stylesheet language initially designed by Hampton Catlin and developed by Nathan Weizenbaum.
- TypeScript: TypeScript is a language for application-scale JavaScript development.
- Visual Studio Code: Free, extensible code editor with Git integration, AI-driven IntelliCode, and 30,000+ extensions, supporting various languages like Python,…

---
Source: Our Local Host (https://ourlocalhost.com/app/8578/livecodes), the self-hosted and open-source app directory.
