Skip to content

x-n2o/bloomwifi.github.io

Repository files navigation

bloomwifi.github.io

GitHub x-n2o/bloomwifi.github.io Deploy workflow GitHub Pages Jekyll Ruby 3.4.1 Docker ready Google Sheet source

Bloom Nine Elms Guest Wi-Fi

Overview

Jekyll site displaying daily guest Wi-Fi passwords with QR codes for easy access.

Source of Truth

Wi-Fi passwords are managed in a Google Sheet. The spreadsheet contains two columns: date and password.

Setup

The recommended path requires only Docker — no local Ruby installation needed.

./serve --docker

If you prefer a local Ruby setup, install the version pinned in .ruby-version and then install gems:

bundle install

The Docker image also uses the Ruby version pinned in .ruby-version.

Development

./serve
./serve --docker

./serve runs Jekyll locally with your host Ruby. ./serve --docker runs the same site in Docker. After either command starts successfully, preview the site at http://127.0.0.1:4000 (or http://localhost:4000). If you use Docker, Jekyll binds to 0.0.0.0 inside the container, but the site is still accessible via localhost on your host machine.

Updating Passwords

To sync passwords from the Google Sheet and generate post files:

./update-passwords
./update-passwords --docker

This script will:

  • Fetch the latest passwords from the Google Sheet
  • Generate or update post files in _posts/ with the YYYY-MM-DD-wifi.md naming pattern
  • Create posts with the proper template including QR codes and copy-to-clipboard functionality

Note: The Google Sheet must be publicly accessible (view-only is sufficient) for the script to work.

Build

Generate the static site for deployment:

./build
./build --docker

Output will be in _site/.

About

Bloom Nine Elms Guest Wi-Fi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors