Giter Club home page Giter Club logo

Progressive Web Apps API of APIs (Sponsor us)

Build Scalable Progressive Web Apps. Start via docs.pwafire.org site.

An open-source library and framework for building fast, reliable, and engaging Progressive Web Apps (PWAs).

CI

Introducing pwafire cdn and npm

Progressive Web Apps API of APIs. All New Web Capabilities as one Package.

Install pwafire via NPM

 npm i pwafire --save

Get pwafire over CDN as an E6 Module

Note that you can still use a specific version over the pwafire cdn

Latest version

import { pwa } from "https://unpkg.com/pwafire/esm/index.js";

Specific version

import { pwa } from "https://unpkg.com/[email protected]/esm/index.js";

Example : using pwafire

Import pwafire in your react app

import { pwa } from "pwafire";

Call the share method on pwa

pwa.Share(data);

Preview Documentation : Get Started

API Feature Detection

  • Goal is to allow room for custom handlers if need be
  • This approach is going to be experimental and will be updated
  • This addition is going to be built for available stable apis

Example and use case

  • Web Share is both on Edge desktop and mobile, but not with chrome. I'd like to show a copy link button for chrome
  • Install latest pwafire version, already up for testing in v4 alpha-3*
 npm i --save pwafire
  • Try it out
// Get the check instance from pwafire.
import { check } from "pwafire";
//...
// The response is a boolean, true or false.
const supported = await check.Share();
// You can get a list of all apis and their support status as well.
const all = await check.All();

PWAs : New Web Capabilities(Project Fugu)

Feature Stabilty
Install(Custom) ok
Background Sync ok
Badging ok
Contact Picker ok
Screen Wake Lock ok
Content Indexing ok
Copy Text ok
Read Text(Clipboard) ok
Copy Images ok
Read Files(Clipboard) ok
Push Notifications ok
Web Share ok
Web payments ok
View All, 10 + Here 14

Chat : Join the conversation

Follow our Developer Account on Twitter. Get Live Help on our Slack Workspace.

Communication Channel Talk to us
Twitter Chat Tweet us

Contribute

Propose your Feature by Creating an Issue

License

License Link
MIT License View License

pwafire.org's Projects

pwa-ionic-codelab icon pwa-ionic-codelab

Codelab how to create Progressive Web App using Ionic Framework and PWAFire tools

pwafireapp icon pwafireapp

Progressive Web App Starter App Designed With PWAs Best Practices ⚡

tips icon tips

Here is what you need to setup your progressive web app dev environment

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.