About

MansionDB is a lightweight, modern catalog for mansions, castles, and estates. It stays database‑free by loading data/mansions.json at runtime and rendering search, filters, timelines, and galleries in the browser.

How to add mansions

  1. Open the Admin editor.
  2. Click New, fill out the form, then Save & Publish.
  3. Your changes go live immediately (it writes data/mansions.json on the server).

Tip: If publishing fails on your host, click Download mansions.json and upload it manually to data/mansions.json.
Tip: The Admin editor can also Import an existing mansions.json so you can keep editing over time.

Minimal record example

You can keep entries short at first and expand them later with timelines, sources, and richer galleries.

{
  "id": "example-manor",
  "name": "Example Manor",
  "type": "mansion",
  "status": "standing",
  "location": { "city": "", "region": "", "country": "United States", "address": "", "geo": { "lat": 0, "lng": 0 } },
  "dates": { "built_start": 1890, "built_end": 1892, "demolished": null, "renovated": [] },
  "architects": [],
  "magnates": [],
  "style": [],
  "current_use": "",
  "summary": "",
  "history": { "overview": "", "architecture": "", "ownership": "", "later_years": "" },
  "timeline": [],
  "sources": [],
  "images": [],
  "tags": []
}

Images

Backups

Your entire database is a single file: data/mansions.json. Keep copies (e.g., date‑stamped downloads) so you can roll back if needed.