{"id":13784645,"url":"https://github.com/mojodna/tl","last_synced_at":"2025-05-02T20:31:09.353Z","repository":{"id":17489404,"uuid":"20275159","full_name":"mojodna/tl","owner":"mojodna","description":"An alternate command line interface to tilelive","archived":false,"fork":false,"pushed_at":"2018-07-10T20:44:07.000Z","size":40,"stargazers_count":38,"open_issues_count":14,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-25T01:58:26.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mojodna.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-28T22:59:48.000Z","updated_at":"2024-07-31T12:54:01.000Z","dependencies_parsed_at":"2022-08-04T19:16:35.935Z","dependency_job_id":null,"html_url":"https://github.com/mojodna/tl","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojodna%2Ftl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojodna%2Ftl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojodna%2Ftl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojodna%2Ftl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojodna","download_url":"https://codeload.github.com/mojodna/tl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252104149,"owners_count":21695424,"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":[],"created_at":"2024-08-03T19:00:50.171Z","updated_at":"2025-05-02T20:31:09.096Z","avatar_url":"https://github.com/mojodna.png","language":"JavaScript","funding_links":[],"categories":["CLI Utilities"],"sub_categories":[],"readme":"# tl\n\nA command line alternative to\n[`tilelive`](https://github.com/mapbox/tilelive.js) that supports streaming\ncopies and static image rendering.\n\n## Installation\n\n```bash\nnpm install tl\nnpm install mbtiles tilelive-file\n# install any other tilelive modules you'd like to read/write from\n```\n\n## Usage\n\nCopy tiles from a filesystem to an MBTiles archive (assumes that\n`tilelive-file` and `mbtiles` are installed):\n\n```bash\ntl copy file://./tiles mbtiles://./tiles.mbtiles\n```\n\nRender a [TM2](https://github.com/mapbox/tm2) style for a small area into an\nMBTiles archive:\n\n```bash\nnpm install mbtiles tilelive-tmstyle tilelive-mapbox tilejson \\\n  tilelive-vector@^0.13.0\ntl copy\n  -z 6 -Z 6 -b \"-124.4096 32.5343 -114.1308 42.0095\" \\\n  tmstyle://./project.tm2/ mbtiles://./tiles.mbtiles\n```\n\nCopy tiles from an MBTiles archive to S3.\n\n```bash\ntl copy mbtiles://./tiles.mbtiles \"s3://bucket-name/{z}/{x}/{y}.png?acl=public-read\"\n```\n\n## Caveats\n\nSome tilelive providers use other providers but don't depend on them directly\n(relying on `tilelive.load()`), so you may need to install (and `--require|-r`)\nsome modules that you're not using directly.\n\nFor example, [`tilelive-tmstyle`](https://github.com/mojodna/tilelive-tmstyle)\noften loads data using\n[`tilelive-mapbox`](https://github.com/mojodna/tilelive-mapbox), which actually\nuses [`tilejson`](https://github.com/mapbox/node-tilejson) under the hood to do\nthe fetching. Rendering is then done using\n[`tilelive-vector`](https://github.com/mapbox/tilelive-vector) (which is\ndeclared as a peer dependency of `tilelive-tmstyle`, so versions may not always\nmatch up to whatever's most up-to-date).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojodna%2Ftl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojodna%2Ftl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojodna%2Ftl/lists"}