Files
marco/README.md
T
raucao 3871afd7b3
CI / Lint (push) Successful in 1m10s
CI / Test (push) Successful in 1m18s
Make deployment domain configurable; point master at marco.earth
- index.html: build og:url/og:image/twitter:image from VITE_APP_ORIGIN
- .env.production: marco.earth origin + OSM OAuth client ID
- .env.development: VITE_APP_ORIGIN for local builds
- scripts/sync-kosmos.sh: sync the kosmos deployment branch from master
- README: document the two-branch / two-domain deployment
2026-11-27 17:49:03 +04:00

3.1 KiB


Marco App Icon

Marco


Marco (as in Marco Polo) is an unhosted maps application that respects your privacy and choices.

It allows users to connect their own remote storage to sync place bookmarks across apps and devices. It also supports the decentralized sharing of place photos (and soon reviews) via Nostr.

This README outlines the details of collaborating on this Ember application, or just building and deploying it for yourself.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd marco
  • pnpm install

Running / Development

Code Generators

Make use of the many generators for code, try pnpm ember help generate for more details

Running Tests

  • pnpm test

Linting

  • pnpm lint
  • pnpm lint:fix

Building

  • pnpm vite build --mode development (development)
  • pnpm build (production)

App Icon

  • pnpm build:icons generates PNGs of all sizes from public/icons/icon.svg

To run the script, you need imagemagick and librsvg installed:

  • Arch Linux: pacman -S imagemagick librsvg
  • Ubuntu/Debian: apt install imagemagick librsvg2-bin

Deploying

Marco is deployed to two domains from two branches, both serving the committed release/ directory:

The branches differ only in .env.production (app origin + OSM OAuth client ID); everything else is identical. Prepare a release on master, then sync the kosmos branch and push both:

pnpm version patch        # bumps version, runs lint/tests, rebuilds release/
git push origin master && git push 5apps master

./scripts/sync-kosmos.sh  # merges master into kosmos and rebuilds release/
git push origin kosmos && git push 5apps-old kosmos:master

Both 5apps Deploy apps use release/ as their build directory.

  • Or deploy release/ to any static file host (ideally routing all 404s to index.html for launching with client-side routes to work)