Settings & Data
Backup, JSON Import & AI Generation
Export backups, understand 1 MiB vs 64 KiB limits, auto-repair, hotlink fallback, and AI JSON kit.
On this page
G-Hubs stores personal homepage backups as standard version: 1 JSON files and provides verified Schema & AI prompt resources so you can generate clean, cloud-sync-compatible configs with AI assistants.
Exporting, Resetting & Recovery Limits
- Export JSON: Click Export under Data Management in the Control Drawer to download
ghubs-personal-homepage-config-YYYY-MM-DD.json(containingshortcuts,folders,settings,search, andupdatedAt). - Restore Defaults: Resets shortcuts, layout, and background back to defaults after confirmation.
- No Recycle Bin or Undo: If you delete items or overwrite your layout by importing a file, the only recovery paths are importing an earlier JSON backup or pulling an existing snapshot from Cloud Sync. Always export a backup before major changes.
Import Limits, 64 KiB Cloud Sync Gate & Auto-Repair
To prevent configs from importing locally and later failing cloud sync with 400/413 errors, both Web and Extension importers run a shared preflight compatibility check:
| Check | Limit / Rule | Behavior |
|---|---|---|
| Local File Read Limit | 1 MiB (1,048,576 bytes) | Files over 1 MiB are rejected before parsing |
| Cloud Sync Limit | 64 KiB (65,536 bytes) | If the serialized payload exceeds 64 KiB, the confirmation dialog warns that it imports locally but cannot sync to the cloud (413) |
| Automatic Compatibility Repair | folderId, duplicate IDs, order, timestamps, capacity | Clears dangling folderId refs, deduplicates IDs, clamps order to integers 0–10000, caps counts (200/50/20/50), and notifies you in the dialog |
| Other Users' Uploaded Backgrounds | Foreign uploadedAssetKey | Downgrades to a regular url background if a valid image URL exists (with Open image & Copy link buttons), or falls back to featured wallpaper |
AI JSON Generation Kit (Example + Schema + Prompt)
Download these three verified assets to generate a ready-to-import config using ChatGPT, Claude, Gemini, or any LLM:
- Download Example Config (
g-hubs-personal-homepage-config.example.json) — Validated against both the frontend normalizer and backend cloud sync validator (~8.7 KiB). - Download JSON Schema (
g-hubs-personal-homepage-config.schema.json) — Machine-readable "field rulebook" defining valid config structure and constraints. - Download AI Prompt (
g-hubs-homepage-ai-prompt.en.txt) — Instructs the AI to output raw UTF-8 JSON without Markdown fences, include all required fields, never fabricate privateuploadedAssetKeyvalues, avoid deprecateddefaultbackground mode, and stay well under64 KiB.
Step-by-Step Workflow
Fill in your preferences
Copy
g-hubs-homepage-ai-prompt.en.txtand fill in your preferred sites, folder groups, column count, open mode, wallpaper style (featured,solid,gradient, orurl), and search templates. Optionally attachexample.json.Save the pure JSON output
Ensure the model outputs raw UTF-8 JSON without Markdown code fences, then save it as
my-homepage.json.Import and review preflight checks
Select the file via Import in the Control Drawer. Review any compatibility or 64 KiB notices in the confirmation dialog before applying.