{"id":25343397,"url":"https://github.com/savelevmatthew/next-fcm","last_synced_at":"2025-07-01T12:05:39.949Z","repository":{"id":240062106,"uuid":"801410973","full_name":"SavelevMatthew/next-fcm","owner":"SavelevMatthew","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-02T12:51:47.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T21:36:05.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://next-fcm.vercel.app","language":"TypeScript","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/SavelevMatthew.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-05-16T07:18:02.000Z","updated_at":"2024-11-02T12:51:51.000Z","dependencies_parsed_at":"2024-05-20T05:22:45.207Z","dependency_job_id":"133c7cb2-7b6c-4e7e-8b0d-fedf2398c6cf","html_url":"https://github.com/SavelevMatthew/next-fcm","commit_stats":null,"previous_names":["savelevmatthew/next-fcm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SavelevMatthew/next-fcm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SavelevMatthew%2Fnext-fcm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SavelevMatthew%2Fnext-fcm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SavelevMatthew%2Fnext-fcm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SavelevMatthew%2Fnext-fcm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SavelevMatthew","download_url":"https://codeload.github.com/SavelevMatthew/next-fcm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SavelevMatthew%2Fnext-fcm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262959559,"owners_count":23391057,"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":"2025-02-14T10:38:30.705Z","updated_at":"2025-07-01T12:05:39.917Z","avatar_url":"https://github.com/SavelevMatthew.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serwist example - next-web-push \n\nasdasd\n\nThis example demonstrates how to add push notifications to an app using Serwist with Next.js.\n\n## Usage\n\n1. Init the project\n\n   [![Open in Gitpod and run](https://img.shields.io/badge/Open%20In-Gitpod.io-%231966D2?style=for-the-badge\u0026logo=gitpod)](https://gitpod.io/#https://github.com/serwist/serwist/)\n\n   ```bash\n   cd examples/next-web-push\n   ```\n\n   or\n\n   Execute [`degit`](https://github.com/Rich-Harris/degit) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), [pnpm](https://pnpm.io), or [bun](https://bun.sh) to bootstrap the example:\n\n   ```bash\n   npx degit serwist/serwist/examples/next-web-push my-app\n   ```\n\n   ```bash\n   yarn degit serwist/serwist/examples/next-web-push my-app\n   ```\n\n   ```bash\n   pnpx degit serwist/serwist/examples/next-web-push my-app\n   ```\n\n   ```bash\n   bunx degit serwist/serwist/examples/next-web-push my-app\n   ```\n\n1. Run\n\n   ```bash\n   pnpm web-push generate-vapid-keys --json\n   ```\n\n1. Create a `.env` file, and put the keys generated from the previous steps\n\n   ```shell\n   WEB_PUSH_EMAIL=user@example.com\n   WEB_PUSH_PRIVATE_KEY=\u003cvapid-private-key\u003e\n   NEXT_PUBLIC_WEB_PUSH_PUBLIC_KEY=\u003cvapid-public-key\u003e\n   ```\n\n1. Build and start\n\n   ```bash\n   pnpm build\n   pnpm start\n   ```\n\n## Recommended `.gitignore`\n\n```gitignore\n**/public/sw**\n**/public/swe**\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavelevmatthew%2Fnext-fcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavelevmatthew%2Fnext-fcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavelevmatthew%2Fnext-fcm/lists"}