Fetch All Files from Firebase Hosting
This script fetches all of the files from the currently deployed version of a Firebase Hosting site. You must be signed in via the Firebase CLI and have "Site Viewer" permission on the site in question to be able to properly run the script.
Running via NPX
npx https://gist.github.com/mbleigh/9c8680cf319ace2f506f57380da66e7d <site_name>