{"id":16975495,"url":"https://github.com/shu8/pushover-go","last_synced_at":"2025-03-21T21:15:32.921Z","repository":{"id":83199352,"uuid":"207410311","full_name":"shu8/pushover-go","owner":"shu8","description":"A simple command-line interface tool for sending messages to devices via Pushover, written in Go.","archived":false,"fork":false,"pushed_at":"2019-09-10T10:20:36.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T15:48:09.339Z","etag":null,"topics":["cli","command-line-tool","go","golang","mit","pushover","pushover-api","pushover-notifications"],"latest_commit_sha":null,"homepage":null,"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/shu8.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":"2019-09-09T21:43:12.000Z","updated_at":"2022-11-22T07:35:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc989fec-ee28-4b18-ae3f-f26a1ff6b422","html_url":"https://github.com/shu8/pushover-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu8%2Fpushover-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu8%2Fpushover-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu8%2Fpushover-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu8%2Fpushover-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shu8","download_url":"https://codeload.github.com/shu8/pushover-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244868760,"owners_count":20523592,"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":["cli","command-line-tool","go","golang","mit","pushover","pushover-api","pushover-notifications"],"created_at":"2024-10-14T01:22:56.593Z","updated_at":"2025-03-21T21:15:32.892Z","avatar_url":"https://github.com/shu8.png","language":"Go","readme":"# pushover-go 1.0.0\n\n`pushover-go` is a simple command-line interface tool for sending messages to devices via [Pushover](https://pushover.net/). It is written in Go.\n\n## Prerequisites\n\n- A Pushover account -- see https://pushover.net/\n- Pushover installed on your iOS, Android, or Desktop device\n- A Pushover \"Application Token\" -- you need to register an application on Pushover's site to get this\n- Your personal Pushover \"User ID\" -- you'll get this when you register with Pushover\n\n## Installation\n\n```\ngo get github.com/shu8/pushover-go\n```\n\n## Usage\n\n```\npushover-go [options] 'Message to send'\necho 'Message to send' | pushover-go [options]\npushover-go [options] \u003c file-with-message.txt\n\nOptions:\n  -token string\n        The application API token you want to send this message as. PUSHOVER_TOKEN env variable also available (required)\n  -user string\n        Your personal user ID to identify you as the sender. PUSHOVER_USER env variable also available. (required)\n  -device string\n        The name of the device you want to send the message to directly (optional)\n  -priority int\n        -2 no notification; -1 quiet notification; 1 high-priority; 2 require confirmation (optional)\n  -sound string\n        Name of the sound to play on the recipient device(s). See https://pushover.net/api#sounds (optional)\n  -timestamp int\n        Unix timestamp to show to the user (optional)\n  -title string\n        The title you want to give your message (optional)\n  -url string\n        A URL to show with your message (optional)\n  -url-title string\n        Text for the URL in --url to show (optional)\n  -version\n        Display the version of this tool and exit\n```\n\n## Examples\n\n```\n$ PUSHOVER_USER=user PUSHOVER_TOKEN=token pushover-go 'Hello World'\nSending message: Hello World\nSuccessfully sent message\nTotal Quota: 7500\nQuota Remaining: 7499\n```\n\n```\n$ wget https://example.com/a-really-big-archive.zip \u0026\u0026 pushover-go -user user -token token 'Download complete'\nSending message: Download complete\nSuccessfully sent message\nTotal Quota: 7500\nQuota Remaining: 7498\n```\n\n```\n$ cat \u003c\u003cEOT \u003e my-message.txt\nmy long message\nwith many lines\nEOT\n$ pushover-go -user user -token token \u003c my-message.txt\nSending message: my long message\nwith many lines\n\nSuccessfully sent message\nTotal Quota: 7500\nQuota Remaining: 7497\n```\n\n## License\n[MIT License](./LICENSE)\n\n## Notes\n\n- There are a few other pushover CLI's out there, but I mainly wanted to make this to have a play around with Go!\n- This tool supports [all of the options that Pushover accepts](https://pushover.net/api) which other ones might not (except for `attachment`, which I haven't needed to use yet!)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu8%2Fpushover-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshu8%2Fpushover-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu8%2Fpushover-go/lists"}