Disclaimer: please note that this project is in no way affiliated with or endorsed by Parkrun - it's just a silly little project by an avid parkrunner and computer geek :)
A webextension that adds extra functionality (and by that I mean gimmicks and eye-candy) to the parkrun website, namely:
-
a map with a toggle to show either all or only completed parkruns as well as summary information for completed parkruns (access from the link added below the 'view all stats for this parkrunner' button on a parkrunner's summary statistics page)
-
parkrun bingo progress for every parkrunner added to the bottom of their 'all results' page
Currently manually is the only method... but not for long (hopefully)! Either download the latest release or build it yourself:)
- download the latest Firefox or Chromium release, or alternatively follow the build instructions and build the extension for your browser of choice:
make firefox
(for Firefox and its derivatives) ormake chromium
(for Chromium-based browsers). - load the extension (this differs between Firefox and Chromium):
- for Firefox, go to
about:debugging#/runtime/this-firefox
, click 'Load Temporary Add-on...', and then select eithermanifest.json
(easier for development) or the generatedparkstats/build/parkstats-*.*-firefox.zip
. If you use Firefox Developer Edition, then you can also go toabout:addons
and install the packaged extension there (this way, you will not have to re-install it every time you start Firefox) - for Chromium, if you have downloaded the release build, then you will first have to extract the
.zip
file. Go tochrome://extensions
, click 'Load unpacked' (you may first have to enable developer mode in the top right), and then select the directory containingmanifest.json
: this will be either wherever you extracted the release to or the cloned repository (if you built the extension yourself)
- for Firefox, go to
- rejoice! you now have everything you could ever want in life (probably)
- make sure you have the following build dependencies installed:
curl
,git
,jq
,make
, andnpm
, for examplepacman -S curl git jq make npm
on Arch Linux - clone and enter the repository:
git clone --recurse-submodules https://github.com/mmmsoup/parkstats && cd parkstats
- run
make
to install node dependencies and generate some files
running make firefox
or make chromium
will generate a manifest.json
for installation in either browser, and make clean
will remove all built files
I have made a vain attempt to internationalise this so that it fits in with the various non-English parkrun websites but if you can offer any improvements over the current translations (or can help with the Japanese translation as I have no idea where to even start with that) please submit a pull request!
- the leaflet.js library by Volodymyr Agafonkin for map rendering
- GeoJSON regions by AshKyd (which in turn uses data from Natural Earth Data) for the world map outline
- parkrun event data from https://images.parkrun.com/events.json
and obviously a massive thanks to the many volunteers around the world who make parkrun possible for all of us :)