General
What is LiveCodes?
What is LiveCodes?
Is LiveCodes free to use?
Is LiveCodes free to use?
Can I use LiveCodes offline?
Can I use LiveCodes offline?
How is LiveCodes different from other code playgrounds?
How is LiveCodes different from other code playgrounds?
- Client-side: Runs entirely in your browser
- Feature-rich: Supports 80+ languages including Python, Go, Ruby, and more via WebAssembly
- Embeddable: Easy SDK integration for your documentation or website
- Open-source: MIT licensed and community-driven
- Self-hostable: Full Docker support for enterprise deployments
Using LiveCodes
How do I save my code?
How do I save my code?
- Share URLs: Generate a shareable link that encodes your code
- Export: Download your project as a zip file or GitHub Gist
- User Templates: Save your projects as templates for later use
- Local Storage: Your work is automatically saved in your browser
Can I import code from external sources?
Can I import code from external sources?
- GitHub repositories and Gists
- CodePen, JSFiddle, and other playgrounds
- Local files (drag and drop)
- URLs and code snippets
- Images using OCR (v47+)
How do I use npm packages?
How do I use npm packages?
- ES imports: Just import packages directly:
import pkg from 'package-name' - Import maps: Define custom import maps for module resolution
- Bare modules: Import from npm, jsDelivr, or unpkg automatically
- pkg.pr.new: Import unpublished packages under development (v47+)
Which languages and frameworks are supported?
Which languages and frameworks are supported?
- Web: HTML, CSS, JavaScript, TypeScript
- Frameworks: React, Vue, Svelte, Angular, Solid, Astro
- Languages: Python, Ruby, Go, Java, C#, PHP, Lua, and many more
- Markup: Markdown, MDX, AsciiDoc, Pug, Haml
- Styles: Sass, Less, Stylus, Tailwind CSS, PostCSS
How do I embed LiveCodes in my website?
How do I embed LiveCodes in my website?
Features & Capabilities
Can I use Tailwind CSS?
Can I use Tailwind CSS?
- v4: Use
@import "tailwindcss";(default for new projects) - v3: Use the old directives for backward compatibility
- Plugins: Import plugins from npm or URLs
- IntelliSense: Monaco editor provides autocomplete and hover info
Does LiveCodes support TypeScript?
Does LiveCodes support TypeScript?
- Type checking in the editor
- Auto-imports and IntelliSense
- Custom
tsconfig.jsonconfiguration - Support for
.tsxfiles with React
Can I run tests in LiveCodes?
Can I run tests in LiveCodes?
How do I share code as an image?
How do I share code as an image?
What editors are available?
What editors are available?
- Monaco: Full-featured editor (VS Code’s editor)
- CodeMirror: Lightweight alternative
- CodeJar: Minimal editor for simple use cases
- Auto mode: Monaco on desktop, CodeMirror on mobile
Self-Hosting & Enterprise
Can I self-host LiveCodes?
Can I self-host LiveCodes?
- Automatic HTTPS setup
- Custom domain configuration
- Broadcast server for collaboration
- Share service with short URLs
- Open Graph meta tags and oEmbed support
Is LiveCodes suitable for enterprise use?
Is LiveCodes suitable for enterprise use?
- Self-hosted deployment options
- No external dependencies required
- MIT license for commercial use
- Active development and community support
How do I contribute to LiveCodes?
How do I contribute to LiveCodes?
- Development setup instructions
- Pull request guidelines
- Code style and conventions
- How to add new language support
Troubleshooting
My code isn't running. What should I check?
My code isn't running. What should I check?
- Check the browser console for errors (F12)
- Verify your imports and module paths are correct
- Ensure you’ve selected the right language
- Check if external resources loaded correctly
- Try clearing cache and reloading
How do I report a bug?
How do I report a bug?
- Check if the issue already exists
- Provide a minimal reproduction
- Include browser and LiveCodes version
- Share any error messages or console logs
Where can I get help?
Where can I get help?
- Documentation: livecodes.io/docs
- GitHub Discussions: Ask questions
- GitHub Issues: Report bugs
- Community: Join our growing community of developers