{"id":49353914,"url":"https://github.com/ATofighi/mbview-go","last_synced_at":"2026-05-13T22:01:01.544Z","repository":{"id":340861897,"uuid":"1167917623","full_name":"ATofighi/mbview-go","owner":"ATofighi","description":"Mapbox mbtiles viewer and debug server","archived":false,"fork":false,"pushed_at":"2026-02-27T15:06:03.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-01T00:30:45.452Z","etag":null,"topics":["mapbox","mbtiles","mbview","viewer"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ATofighi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-26T20:31:27.000Z","updated_at":"2026-02-27T01:00:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ATofighi/mbview-go","commit_stats":null,"previous_names":["atofighi/mbview-go"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ATofighi/mbview-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATofighi%2Fmbview-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATofighi%2Fmbview-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATofighi%2Fmbview-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATofighi%2Fmbview-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ATofighi","download_url":"https://codeload.github.com/ATofighi/mbview-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ATofighi%2Fmbview-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33001377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["mapbox","mbtiles","mbview","viewer"],"created_at":"2026-04-27T12:00:25.869Z","updated_at":"2026-05-13T22:01:01.538Z","avatar_url":"https://github.com/ATofighi.png","language":"Go","funding_links":[],"categories":["CLI Utilities"],"sub_categories":[],"readme":"# mbview-go\n\n`mbview-go` is a Go reimplementation of [`mapbox/mbview`](https://github.com/mapbox/mbview), designed for modern toolchains and distributed as standalone binaries.\n\nThe project keeps the local MBTiles inspection workflow from `mbview`, but replaces the legacy Node.js runtime with Go.\n\n## Repository\n\n```bash\ngit clone git@github.com:ATofighi/mbview-go.git\ncd mbview-go\n```\n\n## Why this project exists\n\nThe original `mbview` is discontinued and no longer practical on newer Node.js versions. `mbview-go` keeps the same developer experience while remaining easy to install and maintain.\n\n## Features\n\n- `mbview`-style CLI workflow for one or more `.mbtiles` files.\n- MapLibre frontend runtime for vector and raster preview.\n- Multiple sources served from a single local server.\n- Per-source toggle controls in the frontend menu when multiple MBTiles are loaded.\n- Optional automatic browser opening.\n- Basemap modes:\n  - custom style JSON URL/file (`--basemap-style-url`)\n  - Mapbox default basemap style (`--basemap`) with access token.\n- Tagged GitHub releases with prebuilt binaries via GoReleaser.\n\n## Install\n\n### From source\n\n```bash\ngo install github.com/ATofighi/mbview-go/cmd/mbview@latest\n```\n\n### From releases\n\nDownload the archive for your platform from GitHub Releases and run `mbview`.\n\n## Usage\n\n```bash\nmbview [options] FILE1.mbtiles [FILE2.mbtiles ...]\n```\n\n### Default Mapbox basemap mode\n\nIf you do not provide `--basemap-style-url`, set a Mapbox public token:\n\n```bash\nexport MAPBOX_ACCESS_TOKEN='pk.XXXX'\nmbview --port 9000 ./roads.mbtiles ./places.mbtiles\n```\n\n### Custom basemap style mode\n\nA custom style JSON URL or local file skips Mapbox token requirements:\n\n```bash\nmbview --basemap-style-url https://demotiles.maplibre.org/style.json ./roads.mbtiles\n```\n\nor\n\n```bash\nmbview --basemap-style-url ./style.json ./roads.mbtiles\n```\n\n## CLI options\n\n- `--port` server port (default `3000`)\n- `--host` bind host (default `localhost`)\n- `--quiet`, `-q` suppress logs except startup URL\n- `--no-open`, `-n` do not auto-open browser\n- `--basemap`, `--base`, `--map` mapbox style name/id (default `dark`)\n- `--basemap-style-url` custom style JSON URL or file path\n- `--mapbox-access-token` mapbox token (or `MAPBOX_ACCESS_TOKEN` env)\n- `--center` explicit center as `lon,lat,zoom`\n- `--version`, `-v` print version\n- `--help` print usage\n\n## Notes\n\n- Mixed MBTiles formats in one run are not supported (all inputs must match).\n- Tile endpoints are served as `/{source}/{z}/{x}/{y}.{format}`.\n- In the map UI, open `Menu` and use `Sources` checkboxes to show/hide each MBTiles source.\n- Vector UI preferences for `Filter`, `Popup`, and `Tiles` are remembered in browser localStorage.\n- Style rendering is powered by [MapLibre GL JS](https://maplibre.org/maplibre-gl-js/docs/).\n\n## Development\n\n```bash\ngo test ./...\n```\n\n## Release process\n\n1. Push a semantic tag like `v0.1.0`.\n2. GitHub Actions runs GoReleaser.\n3. Release archives and checksums are published automatically.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FATofighi%2Fmbview-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FATofighi%2Fmbview-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FATofighi%2Fmbview-go/lists"}