Backyard
hi yd/shiaoyu
| LOADING
> Initializing system...
[AUTH_REQUIRED] :::

[!] {{ authError }}

{{ lockMessage }}

Enter a shared password (6+ chars) to access your trip.

{{ formatDateFull(selectedDate) }}

[i] This appears to be a new trip.

If you expected to see data, double-check your password.

No activities planned.

{{ activity.time || '--:--' }}
{{ getCategoryIcon(activity.category) }}
{{ activity.title }}
@ {{ activity.location }}
{{ activity.notes }}
[BALANCE_SUMMARY] {{ expenses.length }} records
TOTAL_SPENT
¥{{ totalExpense.toLocaleString() }}
CURRENCY
SETTLEMENT
{{ settlement.from }} {{ settlement.to }} ¥{{ settlement.amount.toLocaleString() }}
[ok] All settled!
{{ expense.description }} {{ expense.category }}
{{ expense.payer }} paid • {{ formatDateShort(expense.date) }}
¥{{ expense.amount.toLocaleString() }}
{{ editingActivity ? '[EDIT_ACTIVITY]' : '[NEW_ACTIVITY]' }}
[!] {{ placeSearchError }}
{{ activityForm.location }}
{{ activityForm.lat.toFixed(4) }}, {{ activityForm.lng.toFixed(4) }}
[View on Google Maps]
[NEW_EXPENSE]
[ADD_DATE]
[EDIT_DATE]
{{ formatDateFull(editingDate) }}

[!] WARNING

This will permanently delete:

  • Date: {{ formatDateFull(editingDate) }}
  • {{ activitiesInEditingDate }} activity(ies) on this date
  • No activities on this date
[BACKUP_&_RESTORE]
{{ backupScriptUrl }}
[!] Not configured - see instructions below
{{ backupStatus.message }}
Last backup: {{ lastBackupTime }}

Save current trip data to your Google Sheet

Restore trip data from your Google Sheet backup

[?] CONFIRM IMPORT

This will replace your current trip data with the backup. Continue?

Setup Instructions

Google Sheet Setup:

  1. Create a new Google Sheet
  2. Go to Extensions > Apps Script
  3. Paste the code from google-apps-script.js
  4. Deploy > New deployment > Web app
  5. Set "Who has access" to "Anyone"
  6. Copy the deployment URL

Configure URL in Code:

  1. Open index.html
  2. Search for BACKUP_SCRIPT_URL
  3. Paste your URL between the quotes