Upload
You can load files from the web into ero.dance using query parameters. This allows you to share links that directly load your scene; see here. However, you first need to upload the files somewhere.
Requirements
To upload files, you need a file host that allows direct linking to the files. The files must be accessible via a URL and the host must allow cross origin requests.
Compatibility to different file hosts
Image Hosts
You might store your scene data as ero.dance image card and then use an image host to upload it.
INFO
If your favorite image board does not work, feel free to try to convince the image board host to allow cross origin requests from https://ero.dance for png files.
Zip files
You can also store your scene data into zip files and upload it to a file host that allows direct linking to zip files. But keep in mind that the zip should use a standard zip compression und no password protection.
Already tested file hosts
- ✅ imgur.com (for image cards)
- ✅ postimages.com (for image cards)
- ✅ GitHub (for small files)
- ❌ Google Drive (does not allow cross origin)
- ❌ Dropbox (does not allow cross origin)
- ✅ Arweave (for permanent storage)
INFO
Keep in mind that most free file hosts do not store your files permanently or may experience downtime. To keep your file online permanently, you might to use Arweave.
Permanent storage via Arweave
ArDrive helps you upload your files permanently to the Arweave blockchain.
ArDrive.io Bug
Currently, ArDrive has a bug when uploading files. To fix it, open the browser console with F12 and enter the following code before uploading a file:
localStorage.setItem("flutter.arweaveGatewayUrl", '"https://ar-io.net"');Pricing
Keep in mind that this option requires AR tokens. You can calculate the price here
INFO
As of early 2025, uploading a typical ero.dance card costs less than $0.20 USD.
Usage
After uploading, you will see the Data Tx ID of your file. To access your file, append this Data Tx ID to https://ar-io.net/.
By following the steps outlined here, your direct link to the scene might look like this:
ero.dance/?arb=https://ar-io.net/{data_tx_id}.