Reading8 min
Embeddable Carbon Badges for GitHub
📦 Module 9: Ship to Production
Embeddable Carbon Badges for GitHub
Your app tracks energy and attests carbon. Now show it to the world with an embeddable badge.
What Is a Carbon Badge?
A carbon badge is a live status image that displays your app's attested carbon impact. It pulls directly from the EnergyAtIt hash chain — not self-reported numbers. Verified data.
Generate Your Carbon Certificate
First, get a carbon certificate for your facility:
curl -H "Authorization: eat_live_YOUR_KEY" \
"https://app.energyatit.com/api/v1/carbon/certificate/YOUR_FACILITY_UUID?start=2026-01-01&end=2026-02-28"curl.exe -H "Authorization: eat_live_YOUR_KEY" "https://app.energyatit.com/api/v1/carbon/certificate/YOUR_FACILITY_UUID?start=2026-01-01&end=2026-02-28"This returns your total attested kWh, carbon intensity, and a hash-chain verification status.
Get Your Badge URL
https://app.energyatit.com/api/v1/carbon/badge/YOUR_FACILITY_UUIDEmbed in Your GitHub README
Add this to your README.md:
## Carbon Attestation

Energy consumption tracked and attested via [EnergyAtIt](https://app.energyatit.com)
hash-chained carbon records. [Verify the chain](https://app.energyatit.com/api/v1/carbon/verify/YOUR_METER_ID).Badge States
| State | Color | Meaning |
|---|---|---|
| Attested | Green | Hash chain valid, data is current |
| Stale | Yellow | Last attestation is older than 24 hours |
| Broken | Red | Hash chain integrity check failed |
Why This Matters
- Trust signal: Hiring managers at DEWA and Khazna notice verified carbon data on GitHub profiles
- Proof, not claims: SHA-256 hash chain means nobody can edit the numbers after the fact
- Network effect: Every badge links to EnergyAtIt. Your project markets the ecosystem.
- Differentiation: 99% of energy repos have zero carbon attribution. You have cryptographic proof.
Embed Anywhere
<!-- Website or docs -->
<a href="https://app.energyatit.com">
<img src="https://app.energyatit.com/api/v1/carbon/badge/YOUR_FACILITY_UUID"
alt="Carbon Attested by EnergyAtIt" />
</a>Put it in your portfolio site, your LinkedIn project section, your slide deck. If you attested it, show it.
Log in to track your progress and earn certifications.