Repository to follow along to Ghost PWA video series
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
partials
src
tutorial-snippets
.gitignore
README.md
default.hbs
favicon.ico
gulpfile.js
index.hbs
package-lock.json
package.json
page-search.hbs
page-subscribe.hbs
page.hbs
post.hbs
sw.js
tag.hbs

README.md

Offline First Ghost Blog Tutorial

I'm making this theme open source for learning purposes, please don't copy the theme for your own blog :)

The Video Series

This video series is about how I made this blog "offline-first". You can see my process by following along with the video series:


Introduction & Ghost Theme Setup

Saving Pages to Cache Storage

Creating an Offline Page

Service Worker & Serving Offline Pages

Handling Assets while Offline

Working files

If you're following along with the video series, these are the files we'll be working with:

  • src/js/global/register-sw.js
  • src/js/post/save-article.js
  • /sw.js
  • Everything in /tutorial-snippets directory