https://github.com/octref/sponsors-map
thank y'all
https://github.com/octref/sponsors-map
Last synced: 9 months ago
JSON representation
thank y'all
- Host: GitHub
- URL: https://github.com/octref/sponsors-map
- Owner: octref
- Created: 2020-09-13T15:38:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-01T08:14:35.000Z (over 4 years ago)
- Last Synced: 2025-09-07T01:02:34.794Z (9 months ago)
- Language: TypeScript
- Size: 3.28 MB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sponsors Map
thank y'all, my sponsors

### How this works
- A [GitHub action](.github/workflows/sponsors.yml) runs every day to:
- Pull my sponsors with [GitHub GraphQL API](https://docs.github.com/en/graphql)
- Use [Mapbox Geocoding API](https://docs.mapbox.com/api/search/#geocoding) to find sponsors' location coordinates
- Save the data into a [TS file](src/sponsorsWithGeo.ts)
- Map sponsors on a map with Mapbox
- Publish the site with Netlify
### Make it yours
- Fork it
- Get a [Mapbox token](https://docs.mapbox.com/help/how-mapbox-works/access-tokens/)
- Add it as `MAPBOX_KEY` in repo's Settings -> Secrets
- Replace the `mapboxgl.accessToken` in [`src/index.ts`](src/index.ts)
- Remove the last few steps in `.github/workflows/sponsors.yml`, which pushes the built output to octref/matsu, the repo behind https://matsu.io
### Boring stuff
MIT © [Pine Wu](https://github.com/octref)