{"id":17246569,"url":"https://github.com/andreid/pushnotificationsserver","last_synced_at":"2025-06-11T02:40:27.139Z","repository":{"id":20635138,"uuid":"23916909","full_name":"AndreiD/PushNotificationsServer","owner":"AndreiD","description":"Flask with Google Cloud Messaging for Android","archived":false,"fork":false,"pushed_at":"2014-11-11T17:25:53.000Z","size":396,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T07:14:22.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/AndreiD.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}},"created_at":"2014-09-11T12:16:39.000Z","updated_at":"2016-09-14T08:45:41.000Z","dependencies_parsed_at":"2022-07-12T15:17:48.864Z","dependency_job_id":null,"html_url":"https://github.com/AndreiD/PushNotificationsServer","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/AndreiD%2FPushNotificationsServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiD%2FPushNotificationsServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiD%2FPushNotificationsServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiD%2FPushNotificationsServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreiD","download_url":"https://codeload.github.com/AndreiD/PushNotificationsServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245593852,"owners_count":20641148,"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-10-15T06:34:29.069Z","updated_at":"2025-03-26T05:25:17.237Z","avatar_url":"https://github.com/AndreiD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"GCM Flask Server\n========================\n\n\nIntegration of https://github.com/geeknam/python-gcm into flask\n\nFeatures:\n- Everything that python-gcm has: Supports multicast message, Resend messages using exponential back-off, Proxy support, Easily handle errors\n- Admin panel with user managment\n- REST API for easy posting from your android app\n- Sending messages to all or only to specific categories\n\n\n![alt text](https://github.com/AndreiD/PushNotificationsServer/blob/master/app/static/img/pic_0.jpg \"How the app looks 1\")\n\n\n![alt text](https://github.com/AndreiD/PushNotificationsServer/blob/master/app/static/img/pic_1.jpg \"Send a message\")\n\n\n#### How to use it:\n\n- `git clone https://github.com/AndreiD/PushNotificationsServer.git \u003cproject_name\u003e` or download the zip\n- `pip install -r requirements.txt`\n- edit the `config.py` with your settings!\n- in **run.py** edit the port of the app (Default: 1337)\n- `python run.py` -\u003e http://server_ip:1337\n- play with it\n- modify the API KEY and admin user/password (TODO: move them to config)\n\n\n#### The android client\n\n- Option 1: step by step follow the official tutorials\n- Option 2: https://github.com/AndreiD/PushNotificationsApp \n\n\n\n#### Attention:\n\nAbout security: at the moment the api is protected only by a secret key. Use ProGuard in your android app, SSL, other auth methods, etc etc\n\noptional edit `/app/templates/base.html`\n\n\u003e \u003c!DOCTYPE html\u003e\n\u003e \u003chtml lang=\"en\" class=\"no-js\"\u003e\n\u003e {% set bootstrap_version = '3.2.0' %}\n\u003e {% set jquery_version = '2.1.1' %}\n\u003e {% set modernizer_version = '2.8.2' %}\n\u003e {% set bootswatch_version = '3.2.0' %}\n\u003e {% set bootswatch_theme = 'slate' %}\n\n\nIn case a new version appears, and you want to use it. modify it. also you can chose a nice theme from http://bootswatch.com/\n\nin __/app/models.py__ an example with \"expenses list\" is added.\n\nan example with PAGINATION\n\n##### Extras:\n\n- a supervisord.conf [supervisor is used to monitor the web application and restart it, also starts the app in case you restart your server]\n- a simple nginx.conf\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreid%2Fpushnotificationsserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreid%2Fpushnotificationsserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreid%2Fpushnotificationsserver/lists"}