lavas-project / Hexo Pwa
Licence: mit
Hexo PWA plugin
Stars: ✭ 116
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Hexo Pwa
Elm Hn Pwa
Hacker News as a PWA built with Elm
Stars: ✭ 43 (-62.93%)
Mutual labels: pwa, service-worker
The forge
Our groundbreaking, lightning fast PWA CLI tool
Stars: ✭ 70 (-39.66%)
Mutual labels: pwa, service-worker
Pushkit
All the required components to set up independent web push notifications 🎈
Stars: ✭ 45 (-61.21%)
Mutual labels: pwa, service-worker
Pwastats
A directory of Progressive Web App case studies.
Stars: ✭ 88 (-24.14%)
Mutual labels: pwa, service-worker
Next Pwa
Zero config PWA plugin for Next.js, with workbox 🧰
Stars: ✭ 909 (+683.62%)
Mutual labels: pwa, service-worker
Yinyue
🏖Version Of Progressive Web App ( Serverless )
Stars: ✭ 57 (-50.86%)
Mutual labels: pwa, service-worker
Upup
✈️ Easily create sites that work offline as well as online
Stars: ✭ 4,777 (+4018.1%)
Mutual labels: pwa, service-worker
Ionic Pwa
🚀 Build a Progressive Web App with Ionic and Angular. Push Notifications. Deployed to Firebase Hosting. The Complete guide to build your PWA. Service Workers. Lighthouse. Web Manifest
Stars: ✭ 87 (-25%)
Mutual labels: pwa, service-worker
Beer
The source code for the Progressive Beer app!
Stars: ✭ 73 (-37.07%)
Mutual labels: pwa, service-worker
Beats0.github.io
After a few hundred years, GitHub will become the world's largest digital cemetery, and most of the users have passed away. However, their homepages, projects and commit history describe what they did during their lifetime.
Stars: ✭ 23 (-80.17%)
Mutual labels: pwa, service-worker
Next Offline
make your Next.js application work offline using service workers via Google's workbox
Stars: ✭ 1,306 (+1025.86%)
Mutual labels: pwa, service-worker
Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (+473.28%)
Mutual labels: pwa, service-worker
Markcook
A smart and beautiful markdown editor.
Stars: ✭ 547 (+371.55%)
Mutual labels: pwa, service-worker
Navi
Open Source Project for Grow with Google Udacity Scholarship Challenge - Navigation app using offline first strategy and google maps api - To get started please refer to the README.md - CONTRIBUTING.md and the project Wiki
Stars: ✭ 51 (-56.03%)
Mutual labels: pwa, service-worker
Pwa Wp
WordPress feature plugin to bring Progressive Web Apps (PWA) to Core
Stars: ✭ 445 (+283.62%)
Mutual labels: pwa, service-worker
Offline Plugin
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Stars: ✭ 4,444 (+3731.03%)
Mutual labels: pwa, service-worker
Parcel Plugin Sw Precache
A Parcel plugin for generating a service worker that precaches resources.
Stars: ✭ 70 (-39.66%)
Mutual labels: pwa, service-worker
Offline Gallery
🎈 A 16kb Preact & Redux based Progressive Web App that offers an offline gallery experience of external images.
Stars: ✭ 90 (-22.41%)
Mutual labels: pwa, service-worker
hexo-pwa
Progressive Web Apps (PWA) plugin for Hexo.
hexo-pwa
let Hexo sites have these two capabilities.
- Web App Manifest - Users can add your site to mobile home screen
- Service Worker - Make your site available offline
Installation
$ npm install --save hexo-pwa
Options
You can configure this plugin in _config.yml
.
pwa:
manifest:
path: /manifest.json
body:
name: hexo
short_name: hexo
icons:
- src: /images/android-chrome-192x192.png
sizes: 192x192
type: image/png
- src: /images/android-chrome-512x512.png
sizes: 512x512
type: image/png
start_url: /index.html
theme_color: '#ffffff'
background_color: '#ffffff'
display: standalone
serviceWorker:
path: /sw.js
preload:
urls:
- /
posts: 5
opts:
networkTimeoutSeconds: 5
routes:
- pattern: !!js/regexp /hm.baidu.com/
strategy: networkOnly
- pattern: !!js/regexp /.*\.(js|css|jpg|jpeg|png|gif)$/
strategy: cacheFirst
- pattern: !!js/regexp /\//
strategy: networkFirst
priority: 5
- manifest - manifest configuration
- path - the path of
manifest.json
, eg:/manifest.json
- body - the content of
manifest.json
, manifest.json example.body
can be null, if not null,hexo-pwa
will generatemanifest.json
withJSON.stringify(body)
- path - the path of
- serviceWorker - service worker configuration
- path: the path of
sw.js
, eg:/sw.js
, you shouldn't put sw.js in subdirectory because of the service worker scope - preload - urls or posts that you want to preload
- urls: an array of the preload urls
- posts: the count of preload posts
- opts: the options for sw-toolbox
- routes - request routes and strategies, based on sw-toolbox. The routes order does matter.
- pattern: url pattern, this config can be express-style or RegExp
- strategy: the strategy you want to choose. All strategies:
cacheFirst
,networkFirst
,cacheOnly
,networkOnly
,fastest
. Caution: Log requests should usenetworkOnly
strategy.
- path: the path of
- priority - plugin priority (default value is 10)
License
MIT
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].