{"id":15295856,"url":"https://github.com/kilgoretrout1985/django_infopush","last_synced_at":"2026-03-04T23:31:23.758Z","repository":{"id":57420453,"uuid":"175775830","full_name":"kilgoretrout1985/django_infopush","owner":"kilgoretrout1985","description":"Django reusable app, what allows to send web push.","archived":false,"fork":false,"pushed_at":"2022-10-07T12:36:59.000Z","size":555,"stargazers_count":9,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T13:26:02.085Z","etag":null,"topics":["django","django-app","django-application","django-reusable","django-webpush","fcm","fcm-notifications","gcm","gcm-notification","notification","notifications","push","push-notification","push-notifications","python","vapid","web-push","webpush","webpush-message","webpush-notifications"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/kilgoretrout1985.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-15T08:05:37.000Z","updated_at":"2024-10-27T18:55:22.000Z","dependencies_parsed_at":"2022-09-26T22:11:31.854Z","dependency_job_id":null,"html_url":"https://github.com/kilgoretrout1985/django_infopush","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kilgoretrout1985/django_infopush","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilgoretrout1985%2Fdjango_infopush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilgoretrout1985%2Fdjango_infopush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilgoretrout1985%2Fdjango_infopush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilgoretrout1985%2Fdjango_infopush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kilgoretrout1985","download_url":"https://codeload.github.com/kilgoretrout1985/django_infopush/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilgoretrout1985%2Fdjango_infopush/sbom","scorecard":{"id":559913,"data":{"date":"2025-08-11","repo":{"name":"github.com/kilgoretrout1985/django_infopush","commit":"1d87e84f3c27ab8659d6125aa614b466b0b8aee1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-20T13:22:26.887Z","repository_id":57420453,"created_at":"2025-08-20T13:22:26.887Z","updated_at":"2025-08-20T13:22:26.887Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30099343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T23:31:22.529Z","status":"ssl_error","status_checked_at":"2026-03-04T23:31:22.112Z","response_time":59,"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":["django","django-app","django-application","django-reusable","django-webpush","fcm","fcm-notifications","gcm","gcm-notification","notification","notifications","push","push-notification","push-notifications","python","vapid","web-push","webpush","webpush-message","webpush-notifications"],"created_at":"2024-09-30T18:08:25.810Z","updated_at":"2026-03-04T23:31:23.717Z","avatar_url":"https://github.com/kilgoretrout1985.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============\ndjango_infopush\n===============\n\ndjango_infopush is a Django reusable app, that allows to gather push\nsubscriptions and send web push notifications to browsers.\n\n**It is a full featured reusable app which includes:**\n\n* frontend \u0026 backend code which gathers push subscriptions and saves them to DB,\n* service worker to show notifications, manage clicks and basic notification statistics,\n* django admin interface where you create new push tasks (title, text, icon, url, image, time to send) and view stats for the old ones,\n* django management command to perform your tasks (send notifications to subscribers).\n\n.. image:: https://raw.githubusercontent.com/kilgoretrout1985/django_infopush/master/docs/img/push_admin_list_thumb.png\n   :target: https://raw.githubusercontent.com/kilgoretrout1985/django_infopush/master/docs/img/push_admin_list.png\n\nThis app covers 99% webpush needs for content web-sites than you just want\nto send an announcement of a new blog post for example. Just make a new push\ntask in the admin and job is done.\n\n.. image:: https://raw.githubusercontent.com/kilgoretrout1985/django_infopush/master/docs/img/push_admin_add_thumb.png\n   :target: https://raw.githubusercontent.com/kilgoretrout1985/django_infopush/master/docs/img/push_admin_add.png\n\n**Known limitations:**\n\n* You better have access to CRON on your server, because push tasks are send\n  using `python manage.py pushsend` management command. And running it manually\n  every time sounds like a bad idea. Although for testing purposes manual calls\n  will do well.\n\nQuick start\n-----------\n\n1. `pip install django-infopush`\n\n2. Add \"django.contrib.humanize\" (if not in INSTALLED_APPS already) and \n   \"commonstuff\", \"push\" to your INSTALLED_APPS setting like this::\n\n    INSTALLED_APPS = [\n        # ...\n        'django.contrib.humanize',\n        'commonstuff',\n        'push',\n    ]\n\n3. Enable sites framework in Django, see `official docs\n   \u003chttps://docs.djangoproject.com/en/1.11/ref/contrib/sites/#enabling-the-sites-framework\u003e`_.\n\n4. Configure django_infopush in your project settings.py file. At least your\n   DJANGO_INFOPUSH_VAPID_PUBLIC_KEY and DJANGO_INFOPUSH_VAPID_PRIVATE_KEY\n   (you can simply generate them `here \u003chttps://web-push-codelab.glitch.me/\u003e`_).\n\n   You also have to set DJANGO_INFOPUSH_VAPID_ADMIN_EMAIL with your\n   site admin or support address, so that push-server administration can\n   reach you if something goes wrong.\n\n   E.g.::\n\n    DJANGO_INFOPUSH_VAPID_PUBLIC_KEY = 'AHf42JhrMtFOXAG2OYTmEoBvKNcEsxmYF5pqvYd4InFEEU0x41HzymPQRtcvJZp9iNpDQK4GuTGMWAgn0E8G8IZ'\n    DJANGO_INFOPUSH_VAPID_PRIVATE_KEY = 'CcmbGJ9wce7596DoObRzyPHNktPRo5CSCdericz7Pf7'\n    DJANGO_INFOPUSH_VAPID_ADMIN_EMAIL = 'admin@mysite.com'\n\n   See `docs/SETTINGS.rst\n   \u003chttps://github.com/kilgoretrout1985/django_infopush/blob/master/docs/SETTINGS.rst\u003e`_\n   for more.\n\n5. **If** project uses MySQL, make sure it's version is 5.7.7 or greater\n   and add the following line to project's settings.py::\n\n    SILENCED_SYSTEM_CHECKS = ['mysql.E001']\n\n   See `docs/MYSQL.rst\n   \u003chttps://github.com/kilgoretrout1985/django_infopush/blob/master/docs/MYSQL.rst\u003e`_\n   for details.\n\n6. Run `python manage.py migrate` to create push models.\n\n7. Include URLconf in your project urls.py like this::\n\n    from django.urls import re_path, include\n    from django.conf import settings\n    from django.views.generic import TemplateView\n    from django.views.decorators.cache import cache_page\n\n    urlpatterns = [\n        # ...\n        re_path(r'^push/', include('push.urls')),\n        re_path(r'^service-worker.js$', cache_page(1 if settings.DEBUG else 86400)(TemplateView.as_view(\n            template_name=\"push/service-worker.js\",\n            content_type='application/javascript; charset='+settings.DEFAULT_CHARSET,\n        )), name='service-worker.js'),\n    ]\n\n8. Add `{% include 'push/_head_include.html' %}` into head-section of your\n   django-project's html template(s). Do not include it on the pages where you\n   don't want to see push-subscribe browser window. Visit your website to\n   become first subscriber (currently Chrome and FF support webpush, not\n   Safari).\n\n9. Visit http://127.0.0.1:8000/admin/push/ to create first push task.\n\n10. CRON setup for `python manage.py pushsend` management command\n    (every 5-10 minutes). You can also run this command manually for testing\n    purposes.\n\n11. (OPTIONAL) Run `python manage.py test push` for basic check of the app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilgoretrout1985%2Fdjango_infopush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkilgoretrout1985%2Fdjango_infopush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilgoretrout1985%2Fdjango_infopush/lists"}