Skip to content

About

A local browser playground for checking Web Share API support, composing share payloads, handling cancellation, and using a clipboard fallback.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waving header Typing title

License Language Stars Last commit Browser Share API Lab illustration

🧭 Overview

A local browser playground for checking Web Share API support, composing share payloads, handling cancellation, and using a clipboard fallback.

✨ Features

  • 📤 Check navigator.share and navigator.canShare support.
  • ✍️ Edit title, text, and URL before sharing.
  • ↩️ Handle user cancellation and unsupported browsers.
  • 📋 Copy the payload when native sharing is unavailable.

🎬 Demo

No hosted demo is provided. Start the local server and open the address printed in your terminal. Sharing and clipboard behavior depend on browser support and permissions.

⚡ Quick Start

npm start

🧰 Tech Stack

  • Node.js 18+ · HTML · CSS · JavaScript
  • Node.js built-in HTTP server; no third-party dependencies

🗂️ Folder Structure

browser-share-api-lab/
├── server.js
├── package.json
├── public/index.html
├── public/styles.css
├── public/app.js
├── assets/mark.svg
├── .gitignore
├── LICENSE
└── README.md

🗺️ Roadmap

  • Core browser API interactions
  • Local server and custom SVG
  • Add browser compatibility notes from community testing

🤝 Contributing

Issues and focused pull requests are welcome. Keep the app local-first and explain browser permission requirements clearly.

📄 License

MIT License. See LICENSE.

Waving footer

About

A local browser playground for checking Web Share API support, composing share payloads, handling cancellation, and using a clipboard fallback.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages