This is an Astro-based web application for HTTPArchive.org.
-
Install the NPM dependencies:
npm install
(When switching from older branches before the Astro migration,
npm ciis recommended overnpm installto ensure a clean install of dependencies and clean out legacy packages). -
Run the application:
- Development mode (with live reload):
npm run astro:dev
In your web browser, open http://localhost:4321
- Production build:
npm run build
- Build & run locally:
npm run start
To run the GitHub Super-Linter locally using Docker:
-
macOS / Linux:
npm run lint:darwin:linux
-
Windows (Command Prompt):
npm run lint:win32
(Only available to maintainers)
To deploy and test changes on the staging channel:
npm run stage(Only available to maintainers)
To push changes live to production instance:
npm run deployWe use Font Awesome icons but inline them directly in the SVG sprite to avoid using the JavaScript library. To add or change an icon, find one on the Font Awesome website, copy the path from the SVG tab, reference it by name in config/reports.json, and add the SVG <symbol> path in src/pages/reports/index.astro.
HTTP Archive uses Highcharts. See their licensing terms for more info. HTTP Archive uses Font Awesome. See their licensing terms for more info.