A lightweight interactive website for exploring the Web Sustainability Guidelines (WSGs). This project helps users discover and learn about sustainability guidelines for the web.
- Random Guideline Generator: Instantly view a random WSG guideline.
- Topic-Based Browsing: Filter and explore guidelines by topic.
- Interactive UI: Responsive, accessible design with dynamic content.
- Sustainable Tooling And Reporting (STAR): View related STAR tests for each guideline.
- Client-side Only: 'No backend required'; all data is loaded via JSON and ideally cached too.
-
Clone this repository:
git clone https://github.com/airbr/wsg-o-matic.git cd wsg-o-matic
-
Install dependencies:
No dependencies required. All code is static HTML, CSS, and JS. -
Run locally:
Openindex.html
in your browser, or use a local server:# Python 3.x python3 -m http.server # Then visit http://localhost:8000
/
βββ index.html
βββ css/
β βββ styles.css
βββ js/
β βββ app.js
βββ js/guidelines.json
βββ js/star.json
βββ ...
- Style changes:
Modifycss/styles.css
for custom themes or layouts. - JS logic:
Updatejs/app.js
for new features or UI changes.
- Web Sustainability Guidelines (WSGs) by the W3C Community Group and now the Sustainable Web Interest Group.
- Project by Morgan Murrah, with all credit to the contributors for the guidelines themselves.
MIT License. See LICENSE for details.
This project is for educational and demonstration purposes. All guideline content credit to the W3C and contributors.