{"id":13784660,"url":"https://github.com/rastapasta/tileshrink","last_synced_at":"2025-08-12T10:06:28.992Z","repository":{"id":75878273,"uuid":"73417614","full_name":"rastapasta/tileshrink","owner":"rastapasta","description":"🌐 CLI tool to reduce and simplify Vector Tile features in an MBTiles container","archived":false,"fork":false,"pushed_at":"2019-11-06T00:40:11.000Z","size":18,"stargazers_count":31,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-08T18:43:08.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/rastapasta.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}},"created_at":"2016-11-10T20:16:51.000Z","updated_at":"2024-08-05T20:26:58.000Z","dependencies_parsed_at":"2023-09-15T02:34:10.655Z","dependency_job_id":null,"html_url":"https://github.com/rastapasta/tileshrink","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":"0.33333333333333337","last_synced_commit":"77c6d25d8e9c8aa0af549744115a504cf4566343"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rastapasta/tileshrink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastapasta%2Ftileshrink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastapasta%2Ftileshrink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastapasta%2Ftileshrink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastapasta%2Ftileshrink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rastapasta","download_url":"https://codeload.github.com/rastapasta/tileshrink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastapasta%2Ftileshrink/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270040752,"owners_count":24516695,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2024-08-03T19:00:50.451Z","updated_at":"2025-08-12T10:06:28.966Z","avatar_url":"https://github.com/rastapasta.png","language":"CoffeeScript","funding_links":[],"categories":["CLI Utilities"],"sub_categories":[],"readme":"# tileshrink\n[![npm version](https://badge.fury.io/js/tileshrink.svg)](https://badge.fury.io/js/tileshrink)\n![dependencies](https://david-dm.org/rastapasta/tileshrink.svg)\n![license](https://img.shields.io/github/license/rastapasta/tileshrink.svg)\n\nReduce and simplify all features of all or any [vector tiles](https://github.com/mapbox/vector-tile-spec/tree/master/2.1) in an [MBTiles](https://www.mapbox.com/help/an-open-platform/#mbtiles) container.\n\nHelpful in case\n\n* your maximal projection size is much smaller than the tiles' one\n\n* you want to create a ultra-low-bandwidth MBTiles version\n\n## Requirements\n\n* The upstream library [`tilegrinder`](https://github.com/rastapasta/tilegrinder) uses the native protobuf wrapper library [`node-protobuf`](https://github.com/fuwaneko/node-protobuf) for its magic\n\n* To let it build during `npm install`, take care of following things:\n\n  * Linux: `libprotobuf` must be present (`apt-get install build-essential pkg-config libprotobuf-dev`)\n\n  * OSX: Use [`homebrew`](http://brew.sh/) to install `protobuf` with `brew install pkg-config protobuf`\n\n  * Windows: `node-protobuf` includes a pre-compiled version for 64bit systems\n\n\n## How to install it?\n\n    npm install -g tileshrink\n\n## How to use it?\n\n```\n$ tileshrink --help\n\ntileshrink\n\n  Reduce and simplify Vector Tile features in an MBTiles container\n\nExamples\n\n  $ tileshrink --shrink 4 input.mbtiles output.mbtiles            \n  $ tileshrink --shrink 4 --output files input.mbtiles /foor/bar/\n\nOptions\n\n  --extent pixel      desired extent of the new layers [deault: 1024]          \n  --precision float   affects the level of simplification [deault: 1]             \n  --shrink zoom       maximal zoomlevel to apply the shrinking                     \n  --include zoom      maximal zoomlevel to import untouched layers from [optional]\n  --output type       mbtiles (default) or files                                   \n  --help              displays this help screen                                    \n\nmade with ⠀❤⠀⠀at https://github.com/rastapasta/tileshrink\n```\n\n## License\n#### The MIT License (MIT)\nCopyright (c) 2016 Michael Straßburger\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frastapasta%2Ftileshrink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frastapasta%2Ftileshrink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frastapasta%2Ftileshrink/lists"}