{"id":16835121,"url":"https://github.com/syfaro/zpl-printer","last_synced_at":"2025-06-12T16:09:35.681Z","repository":{"id":179243333,"uuid":"662250352","full_name":"Syfaro/zpl-printer","owner":"Syfaro","description":"Web interface for ZPL templating and printing","archived":false,"fork":false,"pushed_at":"2025-06-01T04:00:01.000Z","size":211,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T16:53:50.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/Syfaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-07-04T17:33:40.000Z","updated_at":"2025-06-01T03:59:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"48e9d89f-5fb1-4b6a-bfd3-90f29663b2aa","html_url":"https://github.com/Syfaro/zpl-printer","commit_stats":null,"previous_names":["syfaro/zpl-printer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Syfaro/zpl-printer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syfaro%2Fzpl-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syfaro%2Fzpl-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syfaro%2Fzpl-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syfaro%2Fzpl-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syfaro","download_url":"https://codeload.github.com/Syfaro/zpl-printer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syfaro%2Fzpl-printer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259500231,"owners_count":22867338,"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-10-13T12:09:02.758Z","updated_at":"2025-06-12T16:09:35.658Z","avatar_url":"https://github.com/Syfaro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zpl-printer\n\nA web tool for easily templating and printing ZPL over HTTP. Heavily inspired by\n[zpl-rest](https://github.com/mrothenbuecher/zpl-rest/tree/master).\n\nIt utilizes the [Tera](https://keats.github.io/tera/docs/#templates) template\nengine to construct ZPL.\n\n![](docs/main-ui.png)\n\n## Usage\n\nBuild with cargo. It depends on PostgreSQL to store data, set the `DATABASE_URL`\nenvironment variable before running. The web UI available on port 3000 allows\nconfiguring printers, label sizes, and labels.\n\nThe playground allows quick iteration of label design thanks to the label\npreview service provided by [Labelary](http://labelary.com).\n\nLabels can be saved and then printed via API.\n\n### API\n\n#### `POST /api/v1/print`\n\nPrints a label. It requires a JSON-encoded body with the following contents:\n\n```jsonc\n{\n    \"printer_id\": \"\", // The printer's ID\n    \"label_id\": \"\",   // The label's ID\n    \"data\": {}        // Arbitrary key-value data passed to label's template\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyfaro%2Fzpl-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyfaro%2Fzpl-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyfaro%2Fzpl-printer/lists"}