{"id":30803210,"url":"https://github.com/downace/go-print-server","last_synced_at":"2026-03-03T03:01:12.315Z","repository":{"id":288212306,"uuid":"966637375","full_name":"downace/go-print-server","owner":"downace","description":"A simple HTTP printing server","archived":false,"fork":false,"pushed_at":"2025-09-16T00:38:40.000Z","size":8037,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-16T02:35:03.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/downace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":"https://pay.cloudtips.ru/p/0489f95e"}},"created_at":"2025-04-15T08:20:26.000Z","updated_at":"2025-09-16T00:36:51.000Z","dependencies_parsed_at":"2025-04-16T06:44:49.361Z","dependency_job_id":"4067932f-c22b-4273-baec-ed6c550ae724","html_url":"https://github.com/downace/go-print-server","commit_stats":null,"previous_names":["downace/go-print-server"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/downace/go-print-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/downace%2Fgo-print-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/downace%2Fgo-print-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/downace%2Fgo-print-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/downace%2Fgo-print-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/downace","download_url":"https://codeload.github.com/downace/go-print-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/downace%2Fgo-print-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30030838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T00:31:48.536Z","status":"online","status_checked_at":"2026-03-03T02:00:07.650Z","response_time":61,"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":"2025-09-05T22:50:08.263Z","updated_at":"2026-03-03T03:01:12.299Z","avatar_url":"https://github.com/downace.png","language":"Go","funding_links":["https://pay.cloudtips.ru/p/0489f95e"],"categories":[],"sub_categories":[],"readme":"# Print Server\n\nA simple HTTP printing server.\n\nMain purpose is to allow fast and silent printing from any device in local network\n\nTwo variants available: CLI app and desktop app with GUI.\n\nGUI app is built using [Wails 2](https://wails.io/) and Vue 3 with [Quasar](https://quasar.dev/).\n\n## Supported Platforms\n\n- Linux - supported using `lp` and `lpstat`\n- Windows - supported using `wmic` and embedded [`SumatraPDF`](https://www.sumatrapdfreader.org/)\n- macOS - not supported (PR's are welcome)\n\n## Usage\n\nDownload suitable binary from [Releases](https://github.com/downace/go-print-server/releases) and start it.\n\nFor CLI version, use `*-cli` binary, e.g. `print-server-linux-v0.7.0-cli`.  \nUse `-help` flag to see available options.\n\nYou can also [build manually from sources](#development)\n\n## Server API\n\n- `GET /printers` - get list of available printers\n   ```shell\n   curl http://127.0.0.1:8888/printers\n   ```\n   ```json\n   {\"printers\": [{\"name\":\"Brother_MFC_L2700DN_series\"},{\"name\":\"PDF\"}]}\n   ```\n- `POST /print-pdf` - print PDF file\n   ```shell\n   curl --header 'Content-Type: application/pdf' --data-binary /path/to/file.pdf http://127.0.0.1:8888/print-pdf?printer=Brother_MFC_L2700DN_series\n   ```\n- `POST /print-pdf-url` - print PDF file from URL\n   ```shell\n   curl http://127.0.0.1:8888/print-pdf-url?printer=Brother_MFC_L2700DN_series\u0026url=https%3A%2F%2Fpdfobject.com%2Fpdf%2Fsample.pdf\n   ```\n- `POST /print-url` - print any file from URL\n   \u003e Loaded file is converted to PDF with [Rod](https://go-rod.github.io) which uses Chromium by default.\n   \u003e First call to this method may take some time as Chromium needs to be loaded\n\n   Query params: see `PrintFromUrlQuery` in `internal/server/handlers.go`\n\n   ```shell\n   curl http://127.0.0.1:8888/print-pdf-url?printer=Brother_MFC_L2700DN_series\u0026url=https%3A%2F%2Fhttpstat.us%2F\u0026pages=2-7\n   ```\n\n## Development\n\n### GUI app\n\nFirst, [Install Wails CLI](https://wails.io/docs/gettingstarted/installation#installing-wails)\n\nRun Development mode:\n\n```shell\nwails dev\n```\n\nBuild the app:\n\n```shell\nwails build\n```\n\n### CLI\n\nUse `cli` tag to compile and run CLI app:\n\n```shell\ngo build -tags cli\n```\n\n```shell\ngo run -tags cli .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdownace%2Fgo-print-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdownace%2Fgo-print-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdownace%2Fgo-print-server/lists"}