Admin: import/re-add existing site from Dash Platform #15
Labels
No labels
feature request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rhelwig/DecentSite#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Admin should be able to import (re-add) a site that already exists on Dash Platform, working only from the published records: owner identity + contract + site key (or a
decentsite:site reference / DNS discovery hint from #7). Today the only way to get a site into Admin is to create it locally.Why
deleted-sites/snapshot holds metadata only.Rough shape
decentsite:?v=0&...reference, a hostname (use/.well-known/decentsite.jsondiscovery while it resolves), or network + contract id + owner id + site key.open-site.mjs/ site-ref code: site record → active release → page/post/asset/theme/aside versions → IPFS CIDs. Fetch every blob through the preferred sources and fallback gateways, and verify hashes (trustless raw/CAR path).Open questions
Context
Requested by Ron on 2026-10-10 after #13 (remove site) and #7 (no-DNS site references) landed.