The Project Fugu API Showcase is a collection of apps that make use of APIs that were conceived in the context of Project Fugu.
- Community members submit their apps to the showcase via this anonymous form (Project Fugu team members can edit form).
- Form responses land in this world-readable spreadsheet. The form is moderated by members of Chrome's Project Fugu team.
- The spreadsheet is published as a JSON file.
- The file
index.mjs
consumes the JSON file and creates the output data in thedata/
folder. Screenshots and app metadata are dynamically generated based on the live apps. - The whole repository is published to GitHub Pages.
- The file
data/index.html
is embedded as an iframe onGoogleChrome/developer.chrome.com/site/en/blog/fugu-showcase/index.md
.
- Fork the repository and clone your fork.
- Install dependencies with
npm i
. - Run
npm start
to create a local build and serve it onhttp://localhost:8080
. - You can trigger manual builds with
npm run build
. Changes are currently not watched, so you'll need to runnpm run build
manually when you make changes. - You can serve existing builds with
npm run serve
.
See CONTRIBUTING.md
for more information.
(This can only be done by members of the Project Fugu team.)
- Check the data in the
spreadsheet
for correctness. Remove any new rows that are spam or otherwise
inappropriate. You can see when the site was last deployed by looking at the
Action tab of the repo and checking for the last successful
run of the
pages build and deployment
action. - Run
npm start
, which triggers all data indata/
to be re-generated and which opens a local copy of the site onhttp://localhost:8080
. - If everything looks good, run
npm run deploy
to deploy the site to GitHub Pages.
Apache 2.0
This is not an official Google product.