{"id":34745995,"url":"https://github.com/dfpc-coe/mbtiles-offline","last_synced_at":"2026-05-27T14:34:36.050Z","repository":{"id":317742769,"uuid":"1068524035","full_name":"dfpc-coe/mbtiles-offline","owner":"dfpc-coe","description":"Download Slippy Map Tiles into an MBTiles file for offline use","archived":false,"fork":false,"pushed_at":"2026-02-03T17:21:47.000Z","size":313,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-04T06:22:48.206Z","etag":null,"topics":["atak","mbtiles","tak","tiles","web-mapping"],"latest_commit_sha":null,"homepage":"https://mbtiles-offline.cloudtak.io/","language":"TypeScript","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/dfpc-coe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"ingalls"}},"created_at":"2025-10-02T14:10:37.000Z","updated_at":"2026-02-03T17:23:33.000Z","dependencies_parsed_at":"2025-10-06T07:18:41.240Z","dependency_job_id":null,"html_url":"https://github.com/dfpc-coe/mbtiles-offline","commit_stats":null,"previous_names":["dfpc-coe/mbtiles-offline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfpc-coe/mbtiles-offline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fmbtiles-offline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fmbtiles-offline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fmbtiles-offline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fmbtiles-offline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfpc-coe","download_url":"https://codeload.github.com/dfpc-coe/mbtiles-offline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fmbtiles-offline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33570993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["atak","mbtiles","tak","tiles","web-mapping"],"created_at":"2025-12-25T04:38:09.229Z","updated_at":"2026-05-27T14:34:36.045Z","avatar_url":"https://github.com/dfpc-coe.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ingalls"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e@tak-ps/mbtiles-offline\u003c/h1\u003e\n\nDownload Web maps into an offline MBTiles database.\n\n## Usage\n\n```javascript\nimport { MBTilesOffline } from '@tak-ps/mbtiles-offline';\n\nconst download = new MBTilesOffline({\n    name: 'My Map',\n    description: 'Offline satellite imagery',\n    version: '1.0.0',\n    bounds: [-108.39, 38.60, -108.30, 38.65],\n    minzoom: 0,\n    maxzoom: 14,\n    url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',\n    output: './satellite.mbtiles',\n    concurrency: 50\n});\n\ndownload.on('total', (total) =\u003e {\n    console.log(`Downloading ${total} tiles...`);\n});\n\ndownload.on('progress', (current) =\u003e {\n    console.log(`Progress: ${current}`);\n});\n\ndownload.on('error', (err) =\u003e {\n    console.error(err);\n});\n\nawait download.start();\n```\n\n## Configuration\n\nThe `MBTilesOffline` constructor accepts the following options:\n\n| Option | Type | Description |\n|---|---|---|\n| `bounds` | `[number, number, number, number]` | **Required** GeoJSON BBox `[minX, minY, maxX, maxY]` |\n| `minzoom` | `number` | **Required** Minimum Zoom Level |\n| `maxzoom` | `number` | **Required** Maximum Zoom Level |\n| `url` | `string` | **Required** Tile URL Template. Must include `{z}`, `{x}`, `{y}` |\n| `output` | `string` | **Required** Path to write the MBTiles database |\n| `name` | `string` | Name of the tileset (metadata) |\n| `description` | `string` | Description of the tileset (metadata) |\n| `version` | `string` | Version of the tileset (metadata) |\n| `concurrency` | `number` | Number of concurrent requests (Default: `Infinity`) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfpc-coe%2Fmbtiles-offline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfpc-coe%2Fmbtiles-offline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfpc-coe%2Fmbtiles-offline/lists"}