Skip to content

A French solution, developed and hosted in France

The eco-design audit that plugs into your CI/CD

On every deployment, Grammage audits your site and its source code, then checks that its eco-design scores meet your criteria before giving you an attested measurement.

Free trial, no commitment.

Ils nous affichent

The audit

Know where your site stands, and what to improve

Grammage opens your site the way a visitor would, then gives it a score out of 100, compared with the sites of its category. Above all it ranks what needs fixing, starting with what weighs most on the footprint, and this full audit runs without installing anything, from the free trial or through the API.

B75/1000.24 g CO₂ eq. per visit

  1. Serve images as WebP or AVIF
  2. Compress text with Brotli or gzip
  3. Load off-screen images on demand
A simplified preview for a showcase site on mobile, with a green host. The full report details every good practice and what it is worth.

What Grammage analyses

Everything that weighs, measured on a real visit

The score out of 100 is built from five parts, and whatever is not part of the score still appears in the report, because it helps to understand where the energy goes.

The score out of 100100 points
  1. 30pointsWeightThe bytes the page makes the browser download.
  2. 30pointsGood practicesFifteen rules checked one by one.
  3. 15pointsRequestsEvery file requested from the server.
  4. 15pointsThe DOMThe number of elements on the page.
  5. 10pointsHostingA green or low-carbon server.

A real browser

Chromium opens the page with a phone profile, loads it, waits for it to settle, scrolls it to the bottom and then observes it, three times, and keeps the median.

Fifteen good practices

Compression, caching, HTTP/2, redirects, errors, domains, images in WebP or AVIF, at the right size and loaded on demand, WOFF2 fonts, no autoplay and no endless animation, drawn from the RWEB and RGESN frameworks.

The whole site

Read through its sitemap, three pages per template and fifty at most, for a result that weighs each page by the share of the site it represents.

Carbon

Grams of CO₂ per visit according to Sustainable Web Design and the electricity of your audience’s country, with their ADEME equivalent.

Unused code

The JavaScript that is downloaded and never run, and the CSS that no element uses, file by file.

Source code

In your CI/CD, Grammage also analyses the code, to spot what makes the site heavier before it is even online.

See our analysis of 125 major French websites, sector by sector

CI/CD integration

An audit on every deployment

Grammage takes its place in your pipeline as one more job, which runs on every merge request and puts its report in the request itself, without anyone having to think about it.

  1. Every merge request is audited

    Grammage measures the preview of the request and publishes its report right inside it, so that everyone sees what the change costs before approving it.

  2. The pipeline fails below your threshold

    You set the minimum grade, for example C, and a request that would bring the score below it does not go to production.

  3. Production is measured and attested

    After the deployment, Grammage measures the public address and signs its report, which keeps your badge alive.

For example, in a .gitlab-ci.yml
grammage:extends: .grammageneeds: [preview]variables:GRAMMAGE_CATEGORY: showcaseGRAMMAGE_FAIL_UNDER: C

Grammage runs in a Docker container, so it plugs into any CI as one more step in your pipeline.

  • GitLab CI
  • GitHub Actions
  • Bitbucket Pipelines
  • Jenkins
  • Docker
≈ 0.23 g CO₂ eq. / view2× lighter than the average showcase site

measured by Grammage

Example of a Grammage badge: a page at about 0.23 g of CO₂ per view, twice as light as the average showcase site.

The attestation

An attested measurement you can display

The production report is signed, then Solyzon measures the same pages again to confirm its figures. Your badge then checks that signature in each visitor’s browser before it appears, and it does not appear at all if anything is wrong.

It also never says anything about your whole site from a single page, as European directive 2024/825 on environmental claims requires, and it speaks seven languages.

Verify a result

Pricing

The audit stays with you, only the attestation has a cost

The audit runs on your machines and in your CI, so it costs us nothing and we put no limit on it. What really goes through our servers is the attestation, and that is what sets the price. Your licence also lasts as long as your subscription, with all updates included.

Customer type

Evaluation

To measure a page right away, from this site or through the API.

Free

  • Nothing to install, no account to create
  • One test from this site, or through the API
  • One page at a time, three times a day per domain
  • The full report, with its score and what to fix

Developer

The eco-design audit day to day, locally as well as in the CI.

€60excl. VAT per year

that is €5 a month

  • Unlimited audits, locally and in the CI
  • The whole site and every output
  • Merge request previews audited
  • Automatic updates for the whole licence

Badge only−50% from the 2nd domain

An attested measurement to display, without touching your pipeline.

€60excl. VAT per year

that is €5 a month

  • Verified badge on your domain
  • Attestation from the CI or on demand
  • 80 pages measured on demand per month
  • Automatic updates for the whole licence
  • Optional re-measurement every three months, €24 excl. VAT per domain

CI and badge−30%

Everything in Developer, and a badge that renews itself on every release to production.

€84excl. VAT per year

that is €7 a month, instead of €120 separately

  • Everything included in Developer
  • Attestation on every release to production
  • 200 pages measured on demand per month
  • Automatic updates for the whole licence
  • Optional re-measurement every three months, €24 excl. VAT per domain

Frequently asked questions

What people often ask us

A question that is not on the list? Start the free trial, the report often answers it by itself.

Do I have to plug Grammage into my CI to use it?

No. The free trial and the API run a full audit of your site, with its score and the list of what to fix, without installing anything. The CI then adds the audit on every deployment, the threshold that blocks a request that is too heavy and the attestation of production.

Which CI is supported?

Grammage provides a job template for GitLab CI, which you include in your .gitlab-ci.yml in a few lines, and which audits the preview of every merge request.

How is the score calculated?

The score out of 100 is built from five parts, weight and good practices for 30 points each, requests and the DOM for 15, and hosting for 10. Weight, requests and the DOM are compared with real pages of the Web, which the Web Almanac measures every year.

Can the badge show a flattering or outdated result?

No. The CI report is signed, then Solyzon measures the same pages again, and the attestation is only issued if its figures stay close to those of the report. The badge then checks the signature and the expiry date in the browser, and it does not appear if anything is wrong.

Does the API also analyse the source code?

No, the API analyses a page or the whole site. The source code is analysed by the CI/CD job, directly in your repository.

How does Grammage measure a whole site?

It reads its sitemap or follows its links, groups the pages by template and measures each one as a separate page, then draws a result for the site. The detail is on the method page.

Does the free trial commit me to anything?

No. You test a page of your choice without paying anything, and you then decide, from the result, whether a plan interests you.

See what your site really weighs

Grammage brings together in a single tool the audit in a real browser, the code analysis in the CI/CD and a signed result that anyone can verify.

Free trial, no commitment.

Try it for free