{"id":19147512,"url":"https://github.com/glebcha/web-push-notifications","last_synced_at":"2025-02-22T20:17:31.544Z","repository":{"id":40288641,"uuid":"248233836","full_name":"glebcha/web-push-notifications","owner":"glebcha","description":"Boilerplate for your own push notifications library","archived":false,"fork":false,"pushed_at":"2023-01-27T02:09:37.000Z","size":1756,"stargazers_count":1,"open_issues_count":17,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T17:19:11.397Z","etag":null,"topics":["boilerplate","push-api","pushnotifications","serviceworker"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/glebcha.png","metadata":{"files":{"readme":"README.md","changelog":"changelog/generate-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":"2020-03-18T13:05:39.000Z","updated_at":"2023-02-07T11:48:51.000Z","dependencies_parsed_at":"2023-02-15T04:11:05.207Z","dependency_job_id":null,"html_url":"https://github.com/glebcha/web-push-notifications","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/glebcha%2Fweb-push-notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glebcha%2Fweb-push-notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glebcha%2Fweb-push-notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glebcha%2Fweb-push-notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glebcha","download_url":"https://codeload.github.com/glebcha/web-push-notifications/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240229976,"owners_count":19768597,"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":["boilerplate","push-api","pushnotifications","serviceworker"],"created_at":"2024-11-09T07:50:36.205Z","updated_at":"2025-02-22T20:17:31.512Z","avatar_url":"https://github.com/glebcha.png","language":"TypeScript","readme":"## Web Push Notifications\nThis library is boilerplate for your own solution. \nIt adds module in global namespace `window.PushInstaller`. \nFirebase Cloud Messaging scripts will be loaded atomatically.\n\nTo register service worker and client on your push server you should execute `window.PushInstaller.registerSW()` anywhere. You should set service worker location if it is not in root directory. You can doi it via `window.web_push_lib_path` or local storage `{ 'web_push_lib_sw_path': path }`.\n\n[Documentation](docs/README.md).\n\nБиблиотека добавляет глобальный модуль для работы с пуш-уведомлениями `window.PushInstaller`.\nТакже будут подключены необходимые библиотеки для работы с Firebase Cloud Messaging.\n\nДля регистрации сервис-воркера и клиента на вашем пуш-сервере необходимо выполнить `window.PushInstaller.registerSW()` в любой части кодовой базы.\nЕсли сервис-воркер находится не в рутовой директории, то необходимо записать путь расположения в `window.web_push_lib_path` или local storage `{ 'web_push_lib_sw_path': path }`.\n\n[Документация](docs/README.md).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglebcha%2Fweb-push-notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglebcha%2Fweb-push-notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglebcha%2Fweb-push-notifications/lists"}