https://github.com/activatedgeek/mercator
Maps for my life
https://github.com/activatedgeek/mercator
mapbox mapbox-gl maps react-maps
Last synced: 11 months ago
JSON representation
Maps for my life
- Host: GitHub
- URL: https://github.com/activatedgeek/mercator
- Owner: activatedgeek
- License: apache-2.0
- Created: 2024-04-13T18:26:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T18:32:40.000Z (over 1 year ago)
- Last Synced: 2025-01-27T07:27:32.834Z (about 1 year ago)
- Topics: mapbox, mapbox-gl, maps, react-maps
- Language: JavaScript
- Homepage: https://maps.sanyamkapoor.com
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mercator
[](https://github.com/activatedgeek/mercator/actions/workflows/pages.yml) [](https://status.sanyamkapoor.com/?utm_source=status_badge)
Maps for life based on [Astro](https://astro.build) and [Mapbox](http://mapbox.com).
## Setup
Install all dependencies.
```shell
npm install
```
### Environment Variables
- `ASTRO_SITE`: Full base domain, e.g. `sanyamkapoor.com`
- `PUBLIC_MAPBOX_ACCESS_TOKEN`: [Mapbox](http://mapbox.com) access token.
Optional:
- `GOATCOUNTER_SITE`: [GoatCounter](https://www.goatcounter.com) domain analytics. e.g. `.goatcounter.com`
## Build
### Development
```shell
npm run dev
```
### Production
```
npm run build
```
## License
Apache 2.0