Overview
The Assets Manager lets you:- Upload files - Images, videos, audio, fonts, data files
- Get URLs - Use uploaded files in your projects
- Organize assets - Search, filter, and sort your files
- Deploy to GitHub - Host assets on GitHub Pages
Uploading Assets
Upload via Data URL
Convert files to base64 data URLs:Data URLs embed the file directly in your code. Good for small files, but can make projects large.
- Recommended: < 100 KB
- Maximum: Browser dependent (~10 MB)
Deploy to GitHub Pages
Host files on GitHub for production use:Managing Assets
View All Assets
Assets Manager shows all your uploaded files:Thumbnail Preview
Visual previews for images, videos, and supported formats
File Details
- File type
- Upload date
- File URL
Copy URLs
Click any asset to copy its URL to clipboard:Filter & Search
- By Type
- By Name
- Sort
Filter assets by type:
- Images (PNG, JPG, GIF, SVG, WebP)
- Videos (MP4, WebM)
- Audio (MP3, WAV, OGG)
- Fonts (WOFF, WOFF2, TTF)
- Data (JSON, CSV, XML)
- Archives (ZIP)
- And more…
Delete Assets
Remove unused assets:Delete All Assets
Clear all stored asset references: Menu → Assets → Delete AllSupported File Types
Images
- Raster: PNG, JPG, JPEG, GIF, WebP, BMP, ICO
- Vector: SVG
- Usage:
<img>, CSS backgrounds, favicons
Videos
- Formats: MP4, WebM, OGG
- Usage:
<video>elements, backgrounds
Audio
- Formats: MP3, WAV, OGG, M4A
- Usage:
<audio>elements, sound effects
Fonts
- Formats: WOFF, WOFF2, TTF, OTF, EOT
- Usage:
@font-facein CSS
Data Files
- Formats: JSON, CSV, XML, TXT, YAML
- Usage: Fetch data in JavaScript
Archives
- Formats: ZIP
- Usage: Download bundles, extract in browser
Other Files
- HTML, CSS, JavaScript
- PDF, Markdown
- Any other file type
Best Practices
Optimize Files
Compress images and videos before uploading:
- Use WebP for images
- Compress videos
- Minify JSON/CSV
Storage Limits
Data URLs
- Stored in browser localStorage
- Combined with project data
- Limit: ~5-10 MB total (browser dependent)
GitHub Pages
- Repository limit: 1 GB
- File size limit: 100 MB (recommended < 50 MB)
- Bandwidth: 100 GB/month (free tier)
For large files or high traffic, consider dedicated hosting services.
Asset URLs in Projects
Relative URLs
Not supported in LiveCodes playgrounds. Always use absolute URLs:Using in Templates
LiveCodes templates can reference base URL:Programmatic Upload
Use the SDK to upload assets:Troubleshooting
Upload fails
Upload fails
- Check file size (< 100 MB for GitHub)
- Verify GitHub authentication
- Ensure repository exists and you have write access
- Check internet connection
Asset URL not working
Asset URL not working
- Wait 1-2 minutes for GitHub Pages to update
- Check URL is correct (case-sensitive)
- Verify file was uploaded successfully
- Check CORS if accessing from different domain
Can't see uploaded asset
Can't see uploaded asset
- Refresh the Assets Manager
- Check you’re signed in to the correct GitHub account
- Verify asset was saved to correct repository
Related Features
- Deploy - Deploy entire projects
- External Resources - Add CDN resources
- Export - Download project files