-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
UI/UXRelated to designRelated to designelectronRelated to electron.jsRelated to electron.jsenhancementNew feature or requestNew feature or requestpriority: highFor important issues that affect many users or major functionality of the projectFor important issues that affect many users or major functionality of the project
Description
Backup & Restore System (P2P JSON + Tabs Restore)
Scope
Primary goals:
- Backup P2P app data and session state (tabs/windows).
- Restore from local file or IPFS/Hyper CID.
- Add an onboarding import flow for tabs from other browsers using a helper extension.
P2P Backup (Peersky Settings)
- Add a new Backup tab in
peersky://settings/Or add a dedicated backup page (e.g.,backup.htmlinsrc/pages/), linked from settings. - Create a single .zip backup file containing:
lastOpened.jsontabs.jsonensCache.jsonipfs/directoryhyper/directory
- Option to generate a CID for the backup zip for instant sharing.
- Add input to load/resolve CID and download backup zip to local.
Restore Options (Settings)
- Upload p2p backup zip file.
- Load backup from IPFS/Hyper CID.
- Upload Chrome/Firefox browsers backup zip file.
From AgregoreWeb/agregore-browser#315 (comment)
Browser Extension (Chrome/Firefox)
- Create a small extension under p2plabsxyz.
- Export current windows/tabs to a file (JSON or ZIP).
- Include tab URLs, titles, window grouping, and active tab indexes.
- Publish to Chrome Web Store and Firefox Add-ons.
- File format must be compatible with Peersky’s import pipeline.
Managing the repository and web store publishing will be handled by the maintainer.
Onboarding Flow (Tabs Import)
- On first launch, show
onboarding.html(fromsrc/pages/):- Prompt: “Import tabs from another browser?” → Yes/No
- No → go to welcome screen (
peersky://home) - Yes → show instructions to install the helper extension in Chrome/Firefox
- Next step: import the generated file from that extension
- This flow is also be available from the Backup page as mentioned in "Restore Options" above.
Technical Notes
-
Tabs state persistence already exists:
lastOpened.jsonfor window statetabs.jsonfor tab groups and nav history- renderer localStorage uses
peersky-browser-tabsfor tab restores
-
P2P cache data in userData:
ensCache.jsonipfs/dir (repo, blocks, datastore)hyper/dir (Hypercore storage)
Metadata
Metadata
Assignees
Labels
UI/UXRelated to designRelated to designelectronRelated to electron.jsRelated to electron.jsenhancementNew feature or requestNew feature or requestpriority: highFor important issues that affect many users or major functionality of the projectFor important issues that affect many users or major functionality of the project