v1.2.0 - Multi-Platform Installation Guide
πΊ Map of Us v1.2.0
Local-first couple's memory map desktop app β mark every city you've visited together.
β¨ Features
- πΊ Interactive China SVG map (34 provinces) with D3-geo projection
- πΈ City memories with multi-photo covers
- π Dual-layer password protection (HMAC-SHA256)
- βοΈ Settings (anniversaries, weather cities, couple logo, login photos)
- πΎ Full backup/restore
- π₯οΈ Electron desktop app (macOS + Windows)
- π Web deployment with Supabase
- π§ͺ Vitest test suite (24+ tests)
π¦ Installation
Electron Desktop App (Recommended)
macOS
- Download the
.dmgfile from Releases - Double-click to install
- Right-click β Open (first launch only)
- Default password:
1234/ Admin:admin1234
Windows
- Download the
-Setup.exefile from Releases - Run the installer
- If SmartScreen appears: More info β Run anyway
- Default password:
1234/ Admin:admin1234
Linux
git clone https://github.com/WuSuBuDuoMing/map.git
cd map
npm install
npm run desktopWeb Development Mode (All Platforms)
git clone https://github.com/WuSuBuDuoMing/map.git
cd map
npm install
npm run dev
# Open http://localhost:3002Docker
docker build -t map-of-us .
docker run -p 3002:3002 map-of-usπ Tech Stack
- Next.js 16 + React 19 + Tailwind CSS 4 + Framer Motion
- D3-geo projection + custom SVG
- Electron 42 + Next.js standalone
- HMAC-SHA256 auth + rate limiting
- Vitest + V8 Coverage
βοΈ Environment Variables
| Variable | Description |
|---|---|
SITE_PASSWORD |
Site entry password (default: 1234) |
ADMIN_PASSWORD |
Admin password (default: admin1234) |
SUPABASE_URL |
Supabase URL (web deployment) |
SUPABASE_SERVICE_ROLE_KEY |
Supabase key (web deployment) |