All Projects â†’ NekR â†’ Offline Plugin

NekR / Offline Plugin

Licence: mit
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Offline Plugin

Monitaure
🔔 A server uptime monitoring progressive web application - NO LONGER MAINTAINED
Stars: ✭ 135 (-96.96%)
Mutual labels:  webpack, offline-first, pwa, progressive-web-app, service-worker
Ember Service Worker
A pluggable approach to Service Workers for Ember.js
Stars: ✭ 227 (-94.89%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
Jfa Pwa Toolkit
⚡ī¸ PWA Features to Any Website (very Fast & Easy)
Stars: ✭ 245 (-94.49%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
Sw Precache
Service Worker Precache is a module for generating a service worker that precaches resources. It integrates with your build process. Once configured, it detects all your static resources (HTML, JavaScript, CSS, images, etc.) and generates a hash of each file's contents. Information about each file's URL and versioned hash are stored in the generated service worker file, along with logic to serve those files cache-first, and automatically keep those files up to date when changes are detected in subsequent builds.
Stars: ✭ 5,276 (+18.72%)
Mutual labels:  offline-first, offline, progressive-web-app, service-worker, service-workers
Android Pwa Wrapper
Android Wrapper to create native Android Apps from offline-capable Progressive Web Apps
Stars: ✭ 265 (-94.04%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (-85.04%)
Mutual labels:  webpack, offline, pwa, progressive-web-app, service-worker
Sw Toolbox
A collection of tools for service workers
Stars: ✭ 3,649 (-17.89%)
Mutual labels:  caching, offline-first, progressive-web-app, service-worker, service-workers
Upup
✈ī¸ Easily create sites that work offline as well as online
Stars: ✭ 4,777 (+7.49%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
Super Progressive Web Apps
SuperPWA helps to convert your WordPress website into Progressive Web Apps instantly. PWA (Progressive Web Apps) demo at : https://superpwa.com and Plugin :
Stars: ✭ 304 (-93.16%)
Mutual labels:  plugin, offline, pwa, progressive-web-app, service-worker
jekyll-pwa-workbox
A Jekyll plugin using Workbox to make your PWA / Website available offline.
Stars: ✭ 22 (-99.5%)
Mutual labels:  pwa, service-worker, progressive-web-app, offline-first
Beer
The source code for the Progressive Beer app!
Stars: ✭ 73 (-98.36%)
Mutual labels:  offline-first, pwa, progressive-web-app, service-worker
ambianic-ui
PWA for managing Ambianic Edge devices (smart cameras).
Stars: ✭ 32 (-99.28%)
Mutual labels:  pwa, offline, progressive-web-app, offline-first
Workbox
đŸ“Ļ Workbox: JavaScript libraries for Progressive Web Apps
Stars: ✭ 10,434 (+134.79%)
Mutual labels:  offline-first, progressive-web-app, service-worker, service-workers
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (-91.36%)
Mutual labels:  webpack, offline, pwa, progressive-web-app
Sw Precache Webpack Plugin
Webpack plugin that generates a service worker using sw-precache that will cache webpack's bundles' emitted assets. You can optionally pass sw-precache configuration options to webpack through this plugin.
Stars: ✭ 1,444 (-67.51%)
Mutual labels:  webpack-plugin, offline, progressive-web-app, service-workers
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (-77.14%)
Mutual labels:  webpack, offline-first, offline, pwa
Offline First
🔌 Everything you need to know to create offline-first web apps.
Stars: ✭ 2,792 (-37.17%)
Mutual labels:  offline-first, offline, service-worker, appcache
Ios Pwa Wrapper
An iOS Wrapper application to create a native iOS App from an offline-capable Progressive Web App.
Stars: ✭ 268 (-93.97%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app
quiz-app
🏆 QuizApp is a free and open-source quiz application that lets you play fully customized quizzes right in the browser.
Stars: ✭ 97 (-97.82%)
Mutual labels:  pwa, progressive-web-app, offline-first
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (-97.68%)
Mutual labels:  pwa, offline, progressive-web-app
offline-plugin logo

offline-plugin for webpack

backers sponsors npm npm


This plugin is intended to provide an offline experience for webpack projects. It uses ServiceWorker, and AppCache as a fallback under the hood. Simply include this plugin in your webpack.config, and the accompanying runtime in your client script, and your project will become offline ready by caching all (or some) of the webpack output assets.

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site.
Become a sponsor

Install

npm install offline-plugin [--save-dev]

Setup

First, instantiate the plugin in your webpack.config:

// webpack.config.js example

var OfflinePlugin = require('offline-plugin');

module.exports = {
  // ...

  plugins: [
    // ... other plugins
    // it's always better if OfflinePlugin is the last plugin added
    new OfflinePlugin()
  ]
  // ...
}

(and optionally configure with options)

Then, add the runtime into your entry file (typically main entry):

require('offline-plugin/runtime').install();

ES6/Babel/TypeScript

import * as OfflinePluginRuntime from 'offline-plugin/runtime';
OfflinePluginRuntime.install();

For more details of usage with TypeScript see here

offline-plugin isn't working?

ℹī¸ Troubleshooting | FAQ

Docs

Examples

Articles

Options

All options are optional and offline-plugin can be used without specifying them.

See all available options here.

Who is using offline-plugin

Projects

PWAs

If you are using offline-plugin, feel free to submit a PR to add your project to this list.

Like offline-plugin?

Support it by giving feedback, contributing, becoming a backer/sponsor or just by 🌟 starring the project!

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Contribution

See CONTRIBUTING

License

MIT
Logo

CHANGELOG

CHANGELOG

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].