Title: GreenAudit
Author: tariqtahir
Published: <strong>2026 年 4 月 12 日</strong>
Last modified: 2026 年 4 月 12 日

---

搜索插件

![](https://ps.w.org/greenaudit/assets/icon-256x256.png?rev=3504596)

# GreenAudit

 作者：[tariqtahir](https://profiles.wordpress.org/tariqtahir/)

[下载](https://downloads.wordpress.org/plugin/greenaudit.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/greenaudit/#description)
 * [评价](https://cn.wordpress.org/plugins/greenaudit/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/greenaudit/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/greenaudit/#developers)

 [支持](https://wordpress.org/support/plugin/greenaudit/)

## 描述

🌍 **GreenAudit** is a technical sustainability toolkit for WordPress — empowering
developers, agencies, and eco-conscious site owners to quantify and lower their 
digital carbon emissions.

Unlike generic carbon calculators, GreenAudit integrates real-time metrics (page
weight, energy efficiency, hosting type) with authoritative data from the [Website Carbon Calculator API](https://www.websitecarbon.com),
then generates **professional, downloadable PDF audit reports** — ideal for compliance,
client deliverables, and ESG reporting.

✅ **Key Features**
 – 🔍 One-click carbon footprint analysis per page/post – 📊
Detailed metrics: CO₂ per page view, energy rating, data transfer – 📄 Automated
PDF reports (using dompdf) — branded, printable, shareable – ⚙️ Admin dashboard 
with site-wide sustainability score – 🌱 Actionable recommendations to reduce impact(
e.g., image optimization, caching) – 🌐 Multilingual-ready (POT included)

💡 **Why It Matters**
 The internet produces ~1.6 billion tonnes of CO₂ yearly —
more than most countries. GreenAudit makes sustainability _measurable_ and _actionable_—
aligning with global climate goals and ethical web development.

Built for transparency, security, and scalability — no external tracking, no data
collection.

### Privacy Policy

GreenAudit does not collect, store, or transmit any personal data by default.

If enabled by the site administrator, the plugin may perform external HTTP requests
to public APIs
 (e.g., for performance metrics or carbon footprint estimation). 
These requests may include the audited URL and basic metadata (e.g., page size, 
load time), but no personally identifiable information (PII) or user-tracking data
is collected or shared.

The plugin does not set cookies, does not track users across sites, and does not
integrate with
 third-party analytics or advertising services.

All audit reports (including PDF exports) are generated and stored locally on the
site unless
 explicitly exported by the administrator.

### External Services

This plugin connects to external APIs to analyze website sustainability metrics.
These services are required for carbon footprint calculation and green hosting verification.

### The Green Web Foundation API

 * **Purpose:** Verifies whether a website is hosted on infrastructure powered by
   renewable energy.
 * **Data Sent:** The domain name or URL being audited (e.g., `example.com`).
 * **When Sent:** Each time a user runs a sustainability audit or checks green hosting
   status.
 * **Service Provider:** The Green Web Foundation (non-profit)
 * **Terms of Service:** https://www.thegreenwebfoundation.org/about/
 * **Privacy Policy:** https://www.thegreenwebfoundation.org/privacy-statement/

### Website Carbon API

 * **Purpose:** Estimates CO₂ emissions, energy consumption, and environmental impact
   of web pages.
 * **Data Sent:** The public URL being analyzed and basic page metrics (e.g., page
   size in bytes).
 * **When Sent:** Each time a carbon calculation is performed via the plugin dashboard
   or report generation.
 * **Service Provider:** Wholegrain Digital / Website Carbon
 * **Terms of Service:** https://www.websitecarbon.com/terms/
 * **Privacy Policy:** https://www.websitecarbon.com/privacy/

🔒 **Important Notes:**
 – No personal data, user information, or PII is ever transmitted
to these services. – Only the public URL/domain being audited is sent — identical
to what any visitor or crawler would see. – All API calls are made server-side from
your WordPress installation; end-users’ browsers do not connect directly to these
services. – If external connectivity is blocked, the plugin will display a clear
error message and skip the external analysis step.

### Third Party Libraries

This plugin bundles DOMPDF (https://github.com/dompdf/dompdf),
 licensed under the
MIT License. License: GPLv2 or later

It also includes:
 – masterminds/html5 (MIT) – phenx/php-font-lib (MIT) – phenx/
php-svg-lib (MIT) – sabberworm/php-css-parser (MIT)

All bundled libraries are unmodified and used in compliance with their licenses.

### Credits

 * Carbon calculation methodology: [Website Carbon Calculator](https://www.websitecarbon.com)
 * Icons: [Heroicons](https://heroicons.com) (MIT)

### Author

Developed by Tariq Tahir — advocate for ethical, sustainable technology.
 🌐 https://
ecowebtools.org ✉️ tariq@ecowebtools.org

## 屏幕截图

 * [[
 * Admin dashboard showing site-wide carbon score
 * [[
 * Per-page audit results with energy rating
 * [[
 * Sample PDF report (clean, professional layout)
 * [[
 * Recommendations panel with actionable tips

## 安装

 1. Go to **Plugins  Add New** in your WordPress admin.
 2. Click **Upload Plugin**, then choose `greenaudit.zip`.
     _(Or manually upload the`
    greenaudit` folder to `/wp-content/plugins/` via FTP.)_
 3. Activate the plugin.
 4. Visit the new **GreenAudit** menu item in the left sidebar to run your first audit.

## 常见问题

### Does this plugin send my data to third parties?

No. Page analysis is done via an anonymous API call (only URL + page size sent —
no personal/user data). PDF generation happens server-side.

### Can I customize the PDF report?

Yes. The plugin uses a modular template system — developers can override report 
templates via your theme.

### Is this plugin compatible with caching/CDN?

Yes. GreenAudit measures the _actual served_ page size — so results reflect your
live optimizations.

### Can I use this for client reporting?

Absolutely. The PDF includes your site name, date, and metrics — ready to include
in sustainability or performance reviews.

## 评价

此插件暂无评价。

## 贡献者及开发者

「GreenAudit」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ tariqtahir ](https://profiles.wordpress.org/tariqtahir/)

[帮助将「GreenAudit」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/greenaudit)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/greenaudit/)，查看[SVN仓库](https://plugins.svn.wordpress.org/greenaudit/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/greenaudit/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/greenaudit/)。

## 更新日志

#### 1.0.0

 * Initial stable release.
 * Updated stable tag to match version.
 * Minor fixes and code cleanup.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/greenaudit/)
 * 标签
 * [carbon footprint](https://cn.wordpress.org/plugins/tags/carbon-footprint/)[Eco friendly](https://cn.wordpress.org/plugins/tags/eco-friendly/)
   [sustainability](https://cn.wordpress.org/plugins/tags/sustainability/)[website audit](https://cn.wordpress.org/plugins/tags/website-audit/)
 *  [高级视图](https://cn.wordpress.org/plugins/greenaudit/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/greenaudit/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/greenaudit/reviews/)

## 贡献者

 *   [ tariqtahir ](https://profiles.wordpress.org/tariqtahir/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/greenaudit/)