{"id":28773365,"url":"https://github.com/dev-cetera/df_pwa_utils","last_synced_at":"2026-01-11T04:48:30.749Z","repository":{"id":295738699,"uuid":"991077660","full_name":"dev-cetera/df_pwa_utils","owner":"dev-cetera","description":"Web utilities for progressive web applications (PWA). No-ops on non-web platforms. Works with WASM.","archived":false,"fork":false,"pushed_at":"2025-06-14T05:39:42.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-14T06:25:21.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dart","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/dev-cetera.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-05-27T05:10:34.000Z","updated_at":"2025-06-14T05:39:45.000Z","dependencies_parsed_at":"2025-05-27T06:36:15.371Z","dependency_job_id":null,"html_url":"https://github.com/dev-cetera/df_pwa_utils","commit_stats":null,"previous_names":["dev-cetera/df_pwa_utils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev-cetera/df_pwa_utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_pwa_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_pwa_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_pwa_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_pwa_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-cetera","download_url":"https://codeload.github.com/dev-cetera/df_pwa_utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-cetera%2Fdf_pwa_utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260379110,"owners_count":23000031,"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-06-17T14:30:43.609Z","updated_at":"2026-01-11T04:48:30.743Z","avatar_url":"https://github.com/dev-cetera.png","language":"Dart","funding_links":["https://www.buymeacoffee.com/dev_cetera","https://github.com/sponsors/dev-cetera","https://www.patreon.com/t0mb3rr"],"categories":[],"sub_categories":[],"readme":"[![banner](https://github.com/dev-cetera/df_pwa_utils/blob/v0.3.5/doc/assets/banner.png?raw=true)](https://github.com/dev-cetera)\n\n[![pub](https://img.shields.io/pub/v/df_pwa_utils.svg)](https://pub.dev/packages/df_pwa_utils)\n[![tag](https://img.shields.io/badge/Tag-v0.3.5-purple?logo=github)](https://github.com/dev-cetera/df_pwa_utils/tree/v0.3.5)\n[![buymeacoffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/dev_cetera)\n[![sponsor](https://img.shields.io/badge/Sponsor-grey?logo=github-sponsors\u0026logoColor=pink)](https://github.com/sponsors/dev-cetera)\n[![patreon](https://img.shields.io/badge/Patreon-grey?logo=patreon)](https://www.patreon.com/t0mb3rr)\n[![discord](https://img.shields.io/badge/Discord-5865F2?logo=discord\u0026logoColor=white)](https://discord.gg/gEQ8y2nfyX)\n[![instagram](https://img.shields.io/badge/Instagram-E4405F?logo=instagram\u0026logoColor=white)](https://www.instagram.com/dev_cetera/)\n[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_pwa_utils/main/LICENSE)\n\n---\n\n\u003c!-- BEGIN _README_CONTENT --\u003e\n\n## Summary\n\nWeb utilities for progressive web applications (PWA). No-ops on non-web platforms. Works with WASM.\n\nYou can use this package to set the URL path strategy for your web application to use the standard URL path instead of the hash-based routing.\n\n```dart\nimport 'package:df_web_utils/df_web_utils.dart';\n\nsetToUrlPathStrategy();\n```\n\nYou can also use the `platformNavigator` to manage the browser history and listen for changes in the URL path.\n\n```dart\nimport 'package:df_web_utils/df_web_utils.dart';\nimport 'package:flutter/foundation.dart' show kDebugMode;\n\nfinal path = platformNavigator.getCurrentPath(); // e.g. '/home'\n\nplatformNavigator.pushState('/welcome'); // push '/welcome'\n\nplatformNavigator.replaceState('/home'); // replace current state with '/home'\n\nplatformNavigator.addStateCallback((path) {\n  if (kDebugMode) {\n    print('Pop state: $path');\n  } // e.g. '/home'\n});\n\n```\n\n## Getting Started\n\nAdd the package to your `pubspec.yaml:\n\n```yaml\ndependencies:\n  df_pwa_utils: ^0.1.0\n```\n\nYou can also use the latest version from the Git repository:\n\n```yaml\ndependencies:\n  df_pwa_utils:\n    git:\n      url: https://github.com/dev-cetera/df_pwa_utils\n      ref: main\n```\n\n\u003c!-- END _README_CONTENT --\u003e\n\n---\n\n🔍 For more information, refer to the [API reference](https://pub.dev/documentation/df_pwa_utils/).\n\n---\n\n## 💬 Contributing and Discussions\n\nThis is an open-source project, and we warmly welcome contributions from everyone, regardless of experience level. Whether you're a seasoned developer or just starting out, contributing to this project is a fantastic way to learn, share your knowledge, and make a meaningful impact on the community.\n\n### ☝️ Ways you can contribute\n\n- **Find us on Discord:** Feel free to ask questions and engage with the community here: https://discord.gg/gEQ8y2nfyX.\n- **Share your ideas:** Every perspective matters, and your ideas can spark innovation.\n- **Help others:** Engage with other users by offering advice, solutions, or troubleshooting assistance.\n- **Report bugs:** Help us identify and fix issues to make the project more robust.\n- **Suggest improvements or new features:** Your ideas can help shape the future of the project.\n- **Help clarify documentation:** Good documentation is key to accessibility. You can make it easier for others to get started by improving or expanding our documentation.\n- **Write articles:** Share your knowledge by writing tutorials, guides, or blog posts about your experiences with the project. It's a great way to contribute and help others learn.\n\nNo matter how you choose to contribute, your involvement is greatly appreciated and valued!\n\n### ☕ We drink a lot of coffee...\n\nIf you're enjoying this package and find it valuable, consider showing your appreciation with a small donation. Every bit helps in supporting future development. You can donate here: https://www.buymeacoffee.com/dev_cetera\n\n\u003ca href=\"https://www.buymeacoffee.com/dev_cetera\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" height=\"40\"\u003e\u003c/a\u003e\n\n## LICENSE\n\nThis project is released under the [MIT License](https://raw.githubusercontent.com/dev-cetera/df_pwa_utils/main/LICENSE). See [LICENSE](https://raw.githubusercontent.com/dev-cetera/df_pwa_utils/main/LICENSE) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-cetera%2Fdf_pwa_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-cetera%2Fdf_pwa_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-cetera%2Fdf_pwa_utils/lists"}