Skip to content

Scrapes the badges from ScoutBase to create a PWA that works offline.

Notifications You must be signed in to change notification settings

GeoffAtHome/ScoutBadges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scout Badge Requirements

Overview

After getting disgruntled by the Android app "ScoutBadges" not working on my Android phone and lack of response from the author of the app I decide to write my own version of the app that works as a Progressive Web App (PWA). This should mean that it works offline and across anything that supports a modern browser.

You need to be online to gain access to the application but after that it will run offline as all the content should be cached.

When scouts.org.uk update the badge requirements the scraping code can be re-run to refresh the content. The new content then become accessible and will update the cache. Obviously to update the cache you need to be online.

Try it now

The built app can be tried here: Scout Badge Requirements

Project parts

The project is in two parts:

  • ScrapeTheSite - scrapes scouts.org.uk to creates the resources needed for the PWA. This includes downloading the badge images and text.
  • PWA - the app that will run on your phone/tablet.....

Build the project

Download from Github. Run:

  • cd ScrapeTheApp
  • npm install
  • npm start
  • cd ../PWA
  • npm install
  • polymer serve --open

(this assumes you have npm and polymer-cli installed)

To host

Deploy the contents of the build directory as required.

For more details about the Polymer-cli see https://www.polymer-project.org/

Suggestions welcome for additional features to add.

About

Scrapes the badges from ScoutBase to create a PWA that works offline.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published