{"id":13856000,"url":"https://github.com/MacGeneration/MacGPusher","last_synced_at":"2025-07-13T16:31:02.496Z","repository":{"id":79751811,"uuid":"10966362","full_name":"MacGeneration/MacGPusher","owner":"MacGeneration","description":"C++11 Project to interact with Apple Push Notification service (APNS)","archived":false,"fork":false,"pushed_at":"2015-09-22T08:20:33.000Z","size":321,"stargazers_count":41,"open_issues_count":1,"forks_count":12,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-05T02:02:10.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.macg.co","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MacGeneration.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-26T11:40:25.000Z","updated_at":"2024-08-05T02:02:10.870Z","dependencies_parsed_at":null,"dependency_job_id":"d6a3361c-dc8d-4984-8a98-1d2bb2d86327","html_url":"https://github.com/MacGeneration/MacGPusher","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/MacGeneration%2FMacGPusher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MacGeneration%2FMacGPusher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MacGeneration%2FMacGPusher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MacGeneration%2FMacGPusher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MacGeneration","download_url":"https://codeload.github.com/MacGeneration/MacGPusher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225897656,"owners_count":17541746,"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-08-05T02:00:59.900Z","updated_at":"2024-11-22T12:31:15.367Z","avatar_url":"https://github.com/MacGeneration.png","language":"C++","readme":"# MacGPusher #\n\nThis is a small C++11 project for interacting with the Apple Push Notification Service (APNS). You can send push notifications to iOS devices or Safari browser (OS X 10.9 only). It also handles the Feedback service.\n\n\n## Installation ##\n\nFirst set your certificates paths in **global.hpp**.\n\n#### OS X: ####\n\nJust open *MacGPusher.xcodeproj* and click the build button.\n\n\n#### Linux: ####\n\nYou need a compiler that supports C++11, and to link to **libssl** and **libcrypto**, then just run **make** (Thanks to ***lledey*** for the Makefile)\n\nIf you want to build it by hand :\n\n*gcc:*\n\n\tg++ MMGAPNSConnection.cpp MMGSSLConnection.cpp MMGDevice.cpp MMGTools.cpp MMGPayload.cpp MMGSafariPayload.cpp MMGIOSPayload.cpp main.cpp -lssl -lcrypto -std=c++11 -o MacGPusher\n\n*clang:*\n\n*Some users reported problem building with clang on Debian 7.0 (see #1)*\n\n\tclang++ MMGAPNSConnection.cpp MMGSSLConnection.cpp MMGDevice.cpp MMGTools.cpp MMGPayload.cpp MMGSafariPayload.cpp MMGIOSPayload.cpp main.cpp -lssl -lcrypto -std=c++11 -o MacGPusher\n\n\n## Usage ##\n\nLook at **main.cpp** to see a very basic example of sending a notification to a single device.\n\nLook at **feedback.cpp** to see how to use the feedback service.\n\nFetching a list of devices is up to you. I use this project with **libmysqlclient** to fetch a list of *~100k* devices and send the notifications with good performances.\n\n\n## License ##\n\n***MacGPusher*** is released under the *Simplified BSD license*, see **LICENSE.txt**.\n\nTwitter : @MacGeneration\n","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMacGeneration%2FMacGPusher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMacGeneration%2FMacGPusher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMacGeneration%2FMacGPusher/lists"}