Skip to content

LeafByte is a Chrome extension that tracks and displays real-time webpage CO₂ emissions using the Performance API, giving users technical insights to monitor energy use, carbon intensity, and reduce their digital footprint.

License

Notifications You must be signed in to change notification settings

la-b-ib/LeafByte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LeafByte

LeafByte is a Chrome extension provides real-time CO₂ monitoring via dynamic dashboards, gamification, privacy-focused local storage & developer utilities. Emissions are calculated through the Performance API as data transfer × energy/byte × carbon intensity, using defaults of 475 g CO₂/kWh and 0.5 kWh/GB, with a 50% reduction applied to green-hosted sites. All processing occurs locally without external APIs, providing accurate insights into energy use, carbon intensity, and digital footprint.

Details

Features

  • Provides real-time CO₂ tracking with live display, resource breakdown includes a dashboard with charts, site analytics, trends, and goals; supports gamification with achievements, levels, and streaks; offers customization with location-based factors, alerts, data export; ensures privacy with local storage, optional sync, and no external tracking includes developer tools for audit mode, optimization suggestions and debug logging.

  • Emission Calculation: Utilizes the Performance API to derive Emissions = Data Transfer × Energy/Byte × Carbon Intensity; defaults assume 475 g CO₂/kWh global average, 0.5 kWh/GB energy factor, with a 50% reduction applied for renewable‑powered (green hosting) sites.

  • Technical Overview: Compatible with Chrome v88+ (Manifest V3) and Chromium-based Edge; requires storage, history, tabs, alarms, notifications, and optional declarativeNetRequest permissions; persists emission data/settings in local and sync storage with all computation performed locally (no external APIs).

About

LeafByte is a Chrome extension that tracks and displays real-time webpage CO₂ emissions using the Performance API, giving users technical insights to monitor energy use, carbon intensity, and reduce their digital footprint.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published