{"id":21264121,"url":"https://github.com/rickdgray/prusapushdispatcher","last_synced_at":"2025-06-28T13:32:07.182Z","repository":{"id":221764129,"uuid":"755317574","full_name":"rickdgray/PrusaPushDispatcher","owner":"rickdgray","description":"Phone notifs when prints are done","archived":false,"fork":false,"pushed_at":"2024-04-15T18:19:50.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T07:13:17.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rickdgray.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":"2024-02-09T21:55:20.000Z","updated_at":"2024-04-15T17:59:07.000Z","dependencies_parsed_at":"2024-11-21T06:46:30.081Z","dependency_job_id":null,"html_url":"https://github.com/rickdgray/PrusaPushDispatcher","commit_stats":null,"previous_names":["rickdgray/prusapushdispatcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rickdgray/PrusaPushDispatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickdgray%2FPrusaPushDispatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickdgray%2FPrusaPushDispatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickdgray%2FPrusaPushDispatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickdgray%2FPrusaPushDispatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickdgray","download_url":"https://codeload.github.com/rickdgray/PrusaPushDispatcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickdgray%2FPrusaPushDispatcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262437958,"owners_count":23311065,"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-11-21T05:01:12.693Z","updated_at":"2025-06-28T13:32:07.163Z","avatar_url":"https://github.com/rickdgray.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prusa Push Notif Dispatcher\nPush status updates from your Prusa 3D printer right to your phone!\n\n## Pushover\nYou will need an account at [Pushover](https://pushover.net/) to be able to run this. Be sure to also create an application and get the associated `API Token/Key` as well.\n\n## Settings\nOnce you create an account and have both a `User Key` and an `API Token/Key`, you need to pass them in at runtime. The settings are:\n\n* PushoverUserKey\n* PushoverAppKey\n* PrinterUsername (optional, defaults to maker)\n* PrinterApiKey\n* PrinterUrl\n* PollRateInSeconds (optional, defaults to 5)\n\n## Deploying\nSimply run with the necessary environment variables set and the image specified.\n```bash\ndocker run -itd --restart unless-stopped \\\n--env Settings__PushoverUserKey='abcd1234' \\\n--env Settings__PushoverAppKey='abcd1234' \\\n--env Settings__PrinterApiKey='abcd1234' \\\n--env Settings__PrinterUrl='192.168.1.50' \\\nghcr.io/rickdgray/prusapushdispatcher:main\n```\n\n## Updating\nFirst kill any currently running containers. Then update your local docker image with the following command.\n```bash\ndocker pull ghcr.io/rickdgray/prusapushdispatcher:main\n```\nThen you can run the deployment command above to start anew.\n\n## Building\nProjects in .NET have an unusual folder structure, so when building we must both specify the context to be at the root of the solution, but also specify the location of the `dockerfile`.\n```bash\ndocker build -f .\\PrusaPushDispatcher\\Dockerfile .\n```\n\n## Debugging\nYou can edit the `launchSettings.json` file with your secrets. Then set the startup dropdown to \"Docker\" so that Visual Studio will create a container. This will allow you to debug with a local container.\n```json\n{\n  \"profiles\": {\n    \"Docker\": {\n      \"commandName\": \"Docker\",\n      \"environmentVariables\": {\n        \"Settings__PushoverUserKey\": \"abcd1234\",\n        \"Settings__PushoverAppKey\": \"abcd1234\",\n        \"Settings__PrinterApiKey\": \"abcd1234\"\n      }\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickdgray%2Fprusapushdispatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickdgray%2Fprusapushdispatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickdgray%2Fprusapushdispatcher/lists"}