nostr-post — PWA Web Share Target demo
This demo shows a minimal PWA that registers a Web Share Target. To test the Share Target you must:
- Serve this folder over http://localhost (or HTTPS).
- Open the page, install the site as a PWA (Chrome on Android recommended).
- Use another app to "share" text or files to this PWA — the service worker will capture the POST and forward the data to the client.
Last shared content
No shared content yet.
Quick manual test
You can simulate a POST to /examples/pwa-share/share-target with curl to see the redirect:
curl -v -X POST -F "title=Hello" -F "text=From curl" http://localhost:8080/examples/pwa-share/share-target