Scripts for archiving Font Awesome 7 Pro (v7.3.0) before a subscription expires. Uses the perpetual license to download all assets for permanent offline use.
This repository contains scripts only — no Font Awesome assets are included. Downloading and using FA Pro assets requires your own valid Font Awesome Pro license.
Font Awesome Pro subscriptions gate access to:
- The private npm registry (
npm.fontawesome.com) - The CDN and Kit CDN
- The Python package index (
dl.fontawesome.com)
When a subscription expires, those endpoints go offline. However, a perpetual license allows continued use of all assets downloaded while the subscription was active.
This repo automates the download of:
| Asset | Script | Output |
|---|---|---|
29 npm packages (@fortawesome/* + frameworks) |
scripts/01-pack-npm.sh |
fa7-tarballs/ |
3 Kit tarballs (@awesome.me/kit-*) |
scripts/02-pack-kits.sh |
fa-kits/ |
Python wheel (fontawesomepro) |
scripts/03-download-wheel.sh |
fa-python-wheel/ |
| Web + Desktop ZIPs | manual (see step 7) | fa-zips/ |
| Verification + offline install test | scripts/04-verify.sh |
report.txt |
Covered FA version: 7.3.0 Pro + Free (all families: Classic, Sharp, Duotone, Sharp Duotone)
- Active Font Awesome Pro subscription with Package Token
- Node.js ≥ 18 with npm
- Python 3 with pip (for wheel download)
- curl, tar, gzip
Log in at fontawesome.com → account → Tokens:
| Token | Used for |
|---|---|
| Package Token (UUID) | npm registry, pip index |
| API Token | GraphQL API (optional) |
Store both securely in a password manager.
cp .npmrc.template .npmrcOpen .npmrc and replace PASTE-YOUR-PACKAGE-TOKEN-HERE with your Package Token:
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=YOUR-PACKAGE-TOKEN
@awesome.me:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=YOUR-PACKAGE-TOKEN
Verify the connection:
npm ping --registry=https://npm.fontawesome.com/
.npmrcis gitignored — never commit it.
mkdir -p fa7-tarballs fa-kits fa-python-wheel fa-zips./scripts/01-pack-npm.shDownloads 29 packages into ./fa7-tarballs/. Icon packages are pinned to $FA_VERSION (default: 7.3.0), framework wrappers use @latest.
To archive a different version:
FA_VERSION=7.3.1 ./scripts/01-pack-npm.shBefore running, enable npm package publishing for each Kit:
fontawesome.com → Your Kits → [kit] → Settings → Enable Installing Your Kit as a Package
Kit npm packages require FA ≥ 6.4.0.
./scripts/02-pack-kits.shDownloads Kit tarballs into ./fa-kits/.
./scripts/03-download-wheel.shReads the Package Token from .npmrc automatically. Downloads into ./fa-python-wheel/.
Create the output directory if you haven't already:
mkdir -p fa-zipsThen download manually from the web UI and move files into ./fa-zips/:
- fontawesome.com/download → Web ZIP →
./fa-zips/ - fontawesome.com/download → Desktop ZIP →
./fa-zips/ - For each Kit: Kits → [kit] → Set Up → Icon Selection: Full Library → Download →
./fa-zips/
Kit Icon Selection must be set to Full Library — otherwise the ZIP only contains the configured subset.
Download from wordpress.org/plugins/font-awesome and move to ./fa-zips/.
./scripts/04-verify.shGenerates report.txt with a full PASS/FAIL log (see Verification checklist below).
Run ./scripts/04-verify.sh and confirm every item passes:
- 29 npm tarballs present in
fa7-tarballs/ -
fortawesome-fontawesome-pro-*.tgzintegrity — opens without errors -
fontawesome-procontainscss/,js/,svgs/,webfonts/,sprites/,metadata/ - SVG file count > 10 000 in the all-in-one package
- All 17 Pro icon packages open and contain a JS entry point
- All 11 framework wrappers (React, Vue, Angular, Svelte, React Native, Ember) open cleanly
- 3 Kit tarballs present and each contains
package.json - Python wheel is a valid zip with fontawesome content
- All ZIPs in
fa-zips/open without errors - Pro Web ZIP present in
fa-zips/ - Pro Desktop ZIP present in
fa-zips/ - Free Web ZIP present in
fa-zips/ - Offline install simulation passes:
-
fontawesome-proinstalls from local tgz without network -
node_modules/@fortawesome/fontawesome-pro/svgs/exists and is non-empty -
node_modules/@fortawesome/fontawesome-pro/webfonts/exists -
node_modules/@fortawesome/fontawesome-pro/css/all.cssexists -
node_modules/@fortawesome/fontawesome-pro/js/all.jsexists
-
A clean run ends with:
PASS: 73 FAIL: 0
ALL CHECKS PASSED — safe to backup.
npm install ./fa7-tarballs/fortawesome-fontawesome-pro-*.tgzOr pin in package.json (replace X.X.X with your downloaded version):
{
"dependencies": {
"@fortawesome/fontawesome-pro": "file:./fa7-tarballs/fortawesome-fontawesome-pro-X.X.X.tgz"
}
}Then:
npm installnpm install ./fa7-tarballs/fortawesome-pro-solid-svg-icons-*.tgznpm install ./fa7-tarballs/fortawesome-react-fontawesome-*.tgznpm install ./fa-kits/awesome.me-kit-XXXXXXXX-X.X.X.tgzpip install ./fa-python-wheel/fontawesomepro-*.whlAfter install at node_modules/@fortawesome/fontawesome-pro/:
css/ stylesheets (all.css, per-style variants)
scss/ Sass sources
js/ SVG-with-JS library
sprites/ SVG sprites per style
sprites-full/ full sprite set
svgs/ individual SVG files (17 subdirectories by style)
svgs-full/ full SVG set
webfonts/ WOFF2 + TTF fonts
metadata/ icon metadata JSON
The scripts in this repository are released under the MIT License.
Font Awesome assets (icons, fonts, CSS) are NOT included and are subject to the Font Awesome Pro License. You must hold a valid Font Awesome Pro license to download and use Pro assets. The perpetual license permits continued use of downloaded assets after subscription expiry, but does not permit redistribution to unlicensed parties.
| Issue | Fix |
|---|---|
npm pack @fortawesome/* hits registry.npmjs.org (404) |
Must run from project root where .npmrc is located — the scripts handle this with --pack-destination |
| Kit npm pack returns 404 | Enable "Use as a Package" in Kit settings; requires FA ≥ 6.4.0 |
| Kit curl download is empty (0 bytes) | Registry returns 307 redirect — scripts use curl -L to follow |
svgs/ missing after install |
Install fontawesome-pro (all-in-one), not pro-solid-svg-icons (JS only) |
Framework wrapper has no @7.3.0 |
react/vue/angular/svelte use own semver — scripts use @latest |
Made with Claude Code | Caveman