Skip to main content

Integrations

LiveCodes is a client-side app that runs entirely in the browser. However, it integrates with a wide range of external services, platforms, and tools. All integrations are optional and only activated when you explicitly use the relevant feature.

Import Sources

You can import code into LiveCodes from a variety of sources.

Code Playgrounds

ServiceDescription
JS BinImport bins from jsbin.com
TypeScript PlaygroundImport from typescriptlang.org/play
Vue SFC PlaygroundImport from play.vuejs.org

Git Platforms

ServiceDescription
GitHub ReposImport single files, directories, or full repos — supports livecodes.json auto-detection and line ranges (#L)
GitHub GistsImport all files from a GitHub gist
GitLab ReposImport single files or directories from GitLab projects
GitLab SnippetsImport GitLab snippets

Other Sources

SourceDescription
Generic URLFetch any URL — detects HTML, ZIP, images, SVGs, or plain text
Compressed CodeImport from code/ prefixed compressed config strings
Project IDImport shared projects by their short ID
File UploadDrag and drop files, ZIP archives, or images
Image (OCR)Extract code from images using Tesseract.js OCR, or from LiveCodes "Code to Image" PNG metadata
DOM / HTMLExtract code from HTML pages using CSS selectors

See the Import page for details.

Export Targets

Export your projects to other platforms or download them as files.

TargetDescription
CodePenOpen project as a CodePen pen
JSFiddleOpen project as a JSFiddle
GitHub GistCreate or update a GitHub gist
HTMLDownload the result page as a standalone .html file
JSONDownload the project configuration as .json
Source + Result (ZIP)Download source files and result page as a ZIP archive

See the Export page for details.

Deployment

Deploy your project's result page to a live URL.

TargetDescription
GitHub PagesDeploy to the gh-pages branch of a GitHub repo — creates the repo if needed. Result page is served at https://{user}.github.io/{repo}/

See the Deploy page for details.

Sharing & Collaboration

Share URLs

Generate URLs that load your project. Long URLs encode the project locally (no server involved). Short URLs use the share service.

ServiceDescription
LiveCodes Share APIStores project config and returns a short ID (livecodes.io/?x=id/{id})
dpasteUsed by static self-hosted apps. Content expires after 365 days
Self-hosted ShareValkey/Redis-backed share service included in the Docker setup

See the Share page for details.

Social Sharing

Share URLs can be posted directly to these platforms:

Facebook, 𝕏 (Twitter), Hacker News, Reddit, LinkedIn, Dev.to, Tumblr, Pinterest, WhatsApp, Telegram, Pocket, Email, QR Code, and native Web Share API.

Sync

Synchronize your projects, snippets, assets, and settings to a private GitHub repo. Uses CRDT-based merging (Yjs) for conflict resolution. Supports auto-sync every 5 minutes.

See the Sync page for details.

Broadcast

Real-time collaboration — broadcast your result page or code to other devices via WebSocket.

See the Broadcast page for details.

oEmbed

Projects support the oEmbed protocol. Embedding sites can fetch structured embed data via livecodes.io/oembed?url={projectUrl} to display rich embeds.

Authentication

ServiceDescription
GitHub (via Firebase Auth)Login with GitHub for features requiring the GitHub API — import from private repos, export to gists, deploy to GitHub Pages, asset hosting, and sync

See GitHub Integration and User Management for details.

Module Resolution & CDNs

When your code imports modules, LiveCodes resolves them through these CDN services:

ServiceRole
esm.shDefault module CDN for npm packages and TypeScript type resolution
jsDelivrAlternative npm CDN; also provides package info and entrypoint lookup
Skypack / esm.run / jspm / unpkgAdditional module CDN options
bundle.run / esbuild.vercel.appESM bundling services
deno.bundlejs.comBundles deno.land/x, GitHub, GitLab, and Bitbucket URLs
statically / githackCDN for raw files from GitHub, Gists, GitLab, and Bitbucket
jsDelivr (Algolia)npm package search for auto-complete when adding modules

See Module Resolution for details.

Google Fonts

The font picker integrates with Google Fonts. Available fonts are fetched from fonts.googleapis.com, and selected fonts are loaded as CSS from the same service.

CORS Proxy

Some external resources require a CORS proxy to be accessed from the browser:

ServiceDescription
LiveCodes CORS APIapi.livecodes.io/cors — used by the hosted app
allOriginsapi.allorigins.win/raw — used as fallback
Self-hosted CORSIncluded in the Docker setup

CI/CD & Tooling

GitHub Action

The "Preview in LiveCodes" GitHub Action posts playground preview links on pull requests so reviewers can preview code changes in the browser.

Markdown to LiveCodes

Plugin integrations for embedding LiveCodes from markdown content in:

Docusaurus, Astro, VitePress, Next.js, 11ty, Gatsby, and Storybook.

See the Markdown to LiveCodes page for details.

Bookmarklet

A browser bookmarklet that opens the current page as a LiveCodes project in one click.

See the Bookmarklet page for details.

AI & LLM Integrations

LiveCodes provides llms.txt and llms-full.txt for AI assistants, plus custom AI skills for building with the LiveCodes SDK.

See the AI Guide for details.

Sandbox

Code execution and result pages run in sandboxed iframes hosted on separate origins for security:

ServiceOrigin
Cloudflare Pageslivecodes-sandbox.pages.dev (production)
GitHub Pageslive-codes.github.io/livecodes-sandbox (CI)
Self-hostedIncluded in the Docker setup

Infrastructure & Credits

LiveCodes is made possible thanks to these services:

ServiceUsage
Cloudflare PagesPrimary app hosting and serverless functions
DigitalOceanVPS for docker setup example
BrowserStackCross-browser testing
LokaliseInternationalization (UI languages)
SonarCloud / CodacyCode quality analysis

Full list in the Credits page.