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 (containing shortcuts, folders, settings, search, and updatedAt).
  • 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:

CheckLimit / RuleBehavior
Local File Read Limit1 MiB (1,048,576 bytes)Files over 1 MiB are rejected before parsing
Cloud Sync Limit64 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 RepairfolderId, duplicate IDs, order, timestamps, capacityClears 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 BackgroundsForeign uploadedAssetKeyDowngrades 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:

Step-by-Step Workflow

  1. Fill in your preferences

    Copy g-hubs-homepage-ai-prompt.en.txt and fill in your preferred sites, folder groups, column count, open mode, wallpaper style (featured, solid, gradient, or url), and search templates. Optionally attach example.json.

  2. Save the pure JSON output

    Ensure the model outputs raw UTF-8 JSON without Markdown code fences, then save it as my-homepage.json.

  3. 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.