Overview
Sync your LiveCodes data across devices:- Projects - Access your projects anywhere
- Settings - Consistent preferences across devices
- Templates - Sync custom templates
- Assets - Share uploaded files
Sync uses browser-based storage and doesn’t require an account. Your data stays private and client-side.
How Sync Works
LiveCodes sync is built on:- Browser Storage - Data stored in IndexedDB/localStorage
- Sync Protocol - Differential sync with conflict resolution
- Export/Import - Manual sync via files or URLs
LiveCodes doesn’t have a centralized server. Sync happens through your own storage mechanisms.
Sync Methods
Manual Export/Import
The most reliable sync method:Export on Device 1
- Open Menu → Backup/Restore
- Select what to backup (projects, settings, etc.)
- Click Backup to download a zip file
Transfer File
Move the backup file to Device 2:
- Email to yourself
- Cloud storage (Dropbox, Drive)
- USB drive
Using Cloud Storage
Store backups in the cloud:- Google Drive
- Dropbox
- GitHub
- Export backup from LiveCodes
- Upload to Google Drive
- Download on other devices
- Import into LiveCodes
URL-Based Sync
Share projects via URLs:What Can Be Synced
Projects
- All saved projects
- Code in all editors
- External resources
- Project configurations
User Settings
- Editor preferences
- Theme selection
- Language defaults
- Keyboard shortcuts
Templates
- Custom starter templates
- Saved configurations
Assets
- Uploaded files (via GitHub Pages)
- Asset URLs and metadata
App Data
- Recent projects
- Snippets
- User preferences
Sync Workflow Examples
Development Workflow
Team Collaboration
Backup Strategies
Regular Backups
Version Control for Projects
Use Git for important projects:Conflict Resolution
When syncing between devices:Different project versions
Different project versions
Manual resolution:
- Export from both devices
- Compare changes
- Merge manually
- Import merged version
Setting conflicts
Setting conflicts
Last write wins:
- Most recent import overwrites
- Keep backups before importing
Privacy & Security
LiveCodes sync is designed with privacy in mind:
- No account required - Works without sign-up
- Client-side only - Data stays in your browser
- No tracking - Your code isn’t monitored
- You control sharing - Only you decide what to sync
Data Encryption
Backup files are not encrypted by default:Browser Storage Limits
- localStorage
- IndexedDB
- Limit: ~5-10 MB
- Used for: Settings, small projects
- Cleared when: Cache cleared
Cross-Browser Sync
Sync between different browsers:Browser storage is isolated. Manual export/import is required to sync between browsers.
Troubleshooting
Backup file too large
Backup file too large
- Backup selectively (only needed data)
- Delete old/unused projects first
- Use GitHub for large assets
Import fails
Import fails
- Verify backup file isn’t corrupted
- Check available browser storage
- Try importing smaller batches
- Clear some browser storage first
Missing projects after sync
Missing projects after sync
- Check backup includes projects
- Verify import completed successfully
- Look in “All Projects” list
Settings not syncing
Settings not syncing
- Ensure “User Config” is selected in backup
- Settings are browser/device specific
- Re-import if needed
Best Practices
Backup Before Major Changes
Always backup before:
- Updating browser
- Clearing cache
- Trying experimental features
Future Sync Features
Planned improvements:- Automatic cloud sync
- Real-time collaboration
- Conflict resolution UI
- GitHub integration for auto-sync
Related Features
- Backup & Restore - Detailed backup guide
- Share - Share projects via URLs
- Import - Import from various sources
- Export - Export projects