{"id":21332279,"url":"https://github.com/stopyransky/mapbox-server","last_synced_at":"2025-07-12T17:33:46.180Z","repository":{"id":128371840,"uuid":"351395554","full_name":"stopyransky/mapbox-server","owner":"stopyransky","description":"Node.js server that allows to fetch, save and stitch together locally multiple Mapbox tiles described with given bounding box (lat lon coordinates), zoom level and map type.","archived":false,"fork":false,"pushed_at":"2021-03-25T11:10:08.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T01:09:42.880Z","etag":null,"topics":["mapbox","server","service","terrain-rgb","texture","tiles"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stopyransky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-25T10:29:53.000Z","updated_at":"2021-12-21T09:40:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"0abb7b06-08fc-4b42-b658-ac134f05ebd2","html_url":"https://github.com/stopyransky/mapbox-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stopyransky/mapbox-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fmapbox-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fmapbox-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fmapbox-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fmapbox-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stopyransky","download_url":"https://codeload.github.com/stopyransky/mapbox-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fmapbox-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265025557,"owners_count":23699770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mapbox","server","service","terrain-rgb","texture","tiles"],"created_at":"2024-11-21T22:46:30.778Z","updated_at":"2025-07-12T17:33:46.144Z","avatar_url":"https://github.com/stopyransky.png","language":"JavaScript","readme":"# Getting started\n\nServer runs on port 6767,\nit connects to mapbox api with given MAPBOX_TOKEN and via this api provides following routes\n\n## Before running\n\n1. create own .env file with MAPBOX_TOKEN (from https://account.mapbox.com/)\n\n```\n// .env\nMAPBOX_TOKEN={your token here}\n```\n\n2. install nodemon globally\n\n```\nnpm i -g nodemon\n```\n\n3. install dependencies\n\n```\nnpm install\n\n```\n\n# Routes\n\n## /mapbox\n\nRetrieves and saves locally all tiles defined by bounding box set in the url query expressed in lon/lat value\n\n**query params:**\nn = north edge\ne = east edge\nw = west edge\ns = south edge\nz = zoom level as in mapbox (0-21)\nt = type of map ( for example satellite, terrain-rgb)\n\nexample of query:\nhttp://localhost:6767/mapbox?n=28.61\u0026e=-16.11\u0026s=27.99\u0026w=-16.93\u0026z=2\u0026t=terrain-rgb\n\nFiles are saved in ./assets directory.\n\n## /texture\n\nStitches together given tiles ands saves stiched file as a one texture\n\n\u003e NOTE: /mapbox route neeeds to be called first to save the tiles)\n\n**query params:**\ntype = satellite or terrain-rgb (and other accepted mapbox types)\nzoom = number, typically 0-21 describing zoom level\n\nexample of query:\nhttp://localhost:6767/texture?type=terrain-rgb\u0026zoom=2\n\nFile is saved in ./assets directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopyransky%2Fmapbox-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstopyransky%2Fmapbox-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopyransky%2Fmapbox-server/lists"}