Overview
LiveCodes makes it easy to share your projects with others through:- Direct URLs - Share full or short URLs
- QR Codes - Generate scannable QR codes
- Social Media - Share to Facebook, Twitter, Reddit, and more
- Permanent URLs - Save projects with permanent links
Share Methods
Quick Share
URL Types
- Short URL
- Full URL
- Permanent URL
Generates a shortened, user-friendly URL:
Short URLs expire after 1 year of inactivity. Perfect for quick sharing.
QR Codes
Generate QR codes for easy mobile sharing:QR codes automatically use short URLs for better scannability.
Social Sharing
Share directly to popular platforms:Share to your Facebook timeline
Twitter / X
Tweet your project with title and URL
Submit to a subreddit
Share on your professional network
Hacker News
Submit to Hacker News
Dev.to
Create a Dev.to post with your code
- Tumblr
- Native share (on mobile devices)
Social Share Template
When sharing to social platforms, LiveCodes automatically:- Uses your project title
- Generates a short URL
- Includes relevant hashtags (optional)
- Opens the platform’s share dialog
Share Options
What Gets Shared
Shared URLs include:- All your code (markup, style, script)
- Language selections
- External resources (scripts, stylesheets)
- Editor settings
- Project title and description
- Custom types and imports
Privacy Considerations
- Client-side only: Your code is compressed and stored in the URL or browser storage
- No server storage: Full URLs don’t store data on LiveCodes servers
- Short URLs: Temporarily stored (1 year) for URL shortening
- Permanent URLs: Stored indefinitely in browser-based storage
Advanced Sharing
Embed URLs
Share as an embedded playground:Query Parameters
Customize shared URLs with parameters:activeEditor- Which editor to show (markup/style/script)readonly- Make the playground read-onlyconsole- Show console (none/open/full)theme- Light or dark theme
Programmatic Sharing
Generate share URLs via SDK:Best Practices
Choose URL Type
- Short URLs for temporary sharing
- Full URLs for permanence
- Permanent URLs for important projects
Share URL Expiration
| URL Type | Expires | Storage |
|---|---|---|
| Full URL | Never | In URL hash |
| Short URL | 1 year (inactive) | Server cache |
| Permanent URL | Never | Browser storage |