Managing sites
Create a site
- In the console, click Sites → Create Site.
- Pick a name (3–63 chars, globally unique).
- Either:
- Upload now — drag a folder or CAR file.
- Empty — create the site without content; deploy later.
- Click Create.
The site is live at https://<site-name>.myfilebase.site once the IPNS record propagates.
Update a site
- Open the site in the console.
- Deploy New Version → Upload (a folder or CAR file).
- Click Deploy.
The IPNS record updates within ~1 minute. Visitors see the new content automatically — no cache invalidation needed.
CAR-file uploads (recommended for large sites)
For sites with many files, packaging into a CAR file is much faster than uploading individual files:
npx ipfs-car --pack ./dist --output site.car
# Upload via the S3 API with the import=car flag
aws --endpoint https://s3.filebase.com s3 cp ./site.car \
s3://my-sites-bucket/site.car \
--metadata 'import=car'
Then assign the resulting CID to the site:
curl -X PUT \
-H "Authorization: Bearer $(echo -n "$KEY:$SECRET" | base64)" \
-H "Content-Type: application/json" \
-d '{ "cid": "<CID>" }' \
https://api.filebase.io/v1/sites/my-site
Delete a site
- Open the site in the console.
- Settings → Delete Site.
The IPNS name is freed, the URL stops resolving, and the underlying CID becomes unpinned (unless it's also pinned through a bucket).