{"id":20586370,"url":"https://github.com/piger/gattoprint","last_synced_at":"2025-06-15T00:07:09.291Z","repository":{"id":64299982,"uuid":"519597678","full_name":"piger/gattoprint","owner":"piger","description":"A Go client for the thermal printer known as \"cat printer\"","archived":false,"fork":false,"pushed_at":"2024-03-23T17:21:30.000Z","size":64,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T07:11:24.830Z","etag":null,"topics":["ble","bluetooth","cat-printer","go"],"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/piger.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}},"created_at":"2022-07-30T18:56:46.000Z","updated_at":"2025-03-26T12:24:33.000Z","dependencies_parsed_at":"2024-03-23T18:29:06.141Z","dependency_job_id":"fc86abc3-1664-4470-b1bb-2b4b4e6275bd","html_url":"https://github.com/piger/gattoprint","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/piger/gattoprint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fgattoprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fgattoprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fgattoprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fgattoprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piger","download_url":"https://codeload.github.com/piger/gattoprint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fgattoprint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259901382,"owners_count":22929224,"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":["ble","bluetooth","cat-printer","go"],"created_at":"2024-11-16T07:11:17.011Z","updated_at":"2025-06-15T00:07:09.254Z","avatar_url":"https://github.com/piger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gattoprint\n\nA Go client for the thermal printer knows as \"cat printer\".\n\nThis project implements the \"cat printer\" protocol in Go and is based on the amazing work\ndone by the authors of the projects linked below.\n\nBluetooth support is brought by the [Go Bluetooth](https://github.com/tinygo-org/bluetooth) library,\nwhich is part of the [TinyGo](https://tinygo.org/) project.\n\nInstallation:\n\n```\n$ go install github.com/piger/gattoprint@latest\n```\n\n## A word of warning\n\nThis project is based on the reverse engineering of the Android app iPrint, which is\nthe official client for this printer; using this program instead of the official client might\ndamage your printer.\n\n## OS support\n\nTested on:\n\n- Debian 11 (Raspbian GNU/Linux 11 (bullseye)) on a Raspberry Pi 4b.\n- macOS Monterey (12.5)\n\nDue to the requirements of the [Go Bluetooth](https://github.com/tinygo-org/bluetooth) library\ncross-compiling this program is not supported, or at least is not as straightforward as it's usually\nfor Go programs.\n\n### macOS privacy settings\n\nOn macOS this program must be _allowed_ to use Bluetooth; in the \"Security \u0026 Privacy\" section\nof the \"System Preferences\" app, in the \"Privacy\" section, you must add this program to the\napps allowed to use Bluetooth.\n\nIf you run this program from a terminal like iTerm2 then the program to be added is iTerm itself.\n\n## Additional resources\n\n- [WerWolv/PythonCatPrinter](https://github.com/WerWolv/PythonCatPrinter) -- the original project that seem to have [started it all](https://werwolv.net/blog/cat_printer).\n- [amber-sixel/gb01print](https://github.com/amber-sixel/gb01print) -- a fork of the above project.\n- [catprinter](https://github.com/rbaron/catprinter) -- a Python client for the printer.\n- [Thermal Printer wiki](https://github.com/bitbank2/Thermal_Printer/wiki/Cat-Rabbit-printer-info) -- some information about the printing protocol.\n- [iPrint Utility](https://mywk.net/software/iprint-utility) -- a Windows client for the printer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiger%2Fgattoprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiger%2Fgattoprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiger%2Fgattoprint/lists"}