{"id":49575141,"url":"https://github.com/rollecode/ntfy-linux-receiver-service","last_synced_at":"2026-05-03T16:10:54.503Z","repository":{"id":260950736,"uuid":"882784905","full_name":"rollecode/ntfy-linux-receiver-service","owner":"rollecode","description":"Subscribe to ntfy endpoints by using a systemd service only.","archived":false,"fork":false,"pushed_at":"2024-11-03T19:59:41.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-02T13:33:31.311Z","etag":null,"topics":["bash","bash-script","linux","ntfy","ntfy-desktop","ntfysh","systemd"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/rollecode.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}},"created_at":"2024-11-03T18:48:47.000Z","updated_at":"2024-11-03T19:59:45.000Z","dependencies_parsed_at":"2024-11-03T20:29:32.341Z","dependency_job_id":null,"html_url":"https://github.com/rollecode/ntfy-linux-receiver-service","commit_stats":null,"previous_names":["ronilaukkarinen/ntfy-linux-receiver-service","rollecode/ntfy-linux-receiver-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rollecode/ntfy-linux-receiver-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fntfy-linux-receiver-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fntfy-linux-receiver-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fntfy-linux-receiver-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fntfy-linux-receiver-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollecode","download_url":"https://codeload.github.com/rollecode/ntfy-linux-receiver-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fntfy-linux-receiver-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","bash-script","linux","ntfy","ntfy-desktop","ntfysh","systemd"],"created_at":"2026-05-03T16:10:53.648Z","updated_at":"2026-05-03T16:10:54.489Z","avatar_url":"https://github.com/rollecode.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ntfy.sh listener service for Linux\n\nThis simple script listens for ntfy notifications and displays them as desktop notifications on Linux. It is intended to be run as a systemd service in the background.\n\n![Screenshot from 2024-11-03 21-55-33](https://github.com/user-attachments/assets/ac9677f4-2b7b-4a5a-ab07-75de730264ec)\n\n## Prequisites\n\nEnsure you have `curl`, `jq`, and `notify-send` installed on your system.\n\nDownload the logo from the ntfy documentation to use in the notifications:\n\n```bash\nwget -O /path/to/ntfy.png https://docs.ntfy.sh/static/img/ntfy.png\n```\n\nReplace /path/to/ntfy.png in the script with the actual path where you saved the logo image.\n\nSave the script and make it as executable.\n\n```bash\nsudo chmod +x /usr/local/bin/ntfy-listener.sh\n```\n\n## Create the systemd service file\n\nCreate a systemd service to automatically start the listener on boot. Create the service file /etc/systemd/system/ntfy-listener.service, remember to replace my user name with your username:\n\n```ini\n[Unit]\nDescription=Ntfy Listener Service\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nExecStart=/usr/local/bin/ntfy-listener.sh\nRestart=on-failure\nRestartSec=10\nUser=rolle\nEnvironment=DISPLAY=:0\nEnvironment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus\nStandardOutput=journal\nStandardError=journal\n\n[Install]\nWantedBy=multi-user.target\n```\n\nEnable and start the service:\n\n```bash\nsudo systemctl enable ntfy-listener.service --now\n```\n\nThe service will now automatically start on boot and display notifications from the configured ntfy channels.\n\nIf you need to add more channels, simply update the NTFY_URLS array in the script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollecode%2Fntfy-linux-receiver-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollecode%2Fntfy-linux-receiver-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollecode%2Fntfy-linux-receiver-service/lists"}