See and share Core Web Vitals and PageSpeed Insights results simply and easily.
See and share Core Web Vitals and PageSpeed Insights results simply and easily.
|
|
|
The aim of page-speed.dev is to make it easy and straightforward to share web performance results. Currently, PageSpeed Insights and Core Web Vitals results are difficult to share, and and often shared via screenshot rather than via a link back to the source.
So:
You can now embed Core Web Vitals metrics in your GitHub README or documentation using our SVG badges:

Example:
You can customize the badges with different metrics and styles:



Examples:



Examples:
You will need to generate a new Google API token here with permissions to access PageSpeed Insights API and Chrome UX Report API, and add the token to your .env file:
NUXT_GOOGLE_API_TOKEN=<your api token>
# install dependencies
corepack enable
pnpm install
# serve in dev mode, with hot reload at localhost:3000
pnpm dev
# build for production
pnpm build
# preview in production mode
pnpm preview
Many thanks to Barry Pollard for providing essential review and suggestions! ❤️
Made with ❤️
Published under MIT License.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.