Skip to content
This repository was archived by the owner on Oct 8, 2026. It is now read-only.

About

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.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Font Awesome Preserve

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.


What this does

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)


Prerequisites

  • Active Font Awesome Pro subscription with Package Token
  • Node.js ≥ 18 with npm
  • Python 3 with pip (for wheel download)
  • curl, tar, gzip

Steps

1. Get your tokens

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.

2. Configure .npmrc

cp .npmrc.template .npmrc

Open .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/

.npmrc is gitignored — never commit it.

3. Create output directories

mkdir -p fa7-tarballs fa-kits fa-python-wheel fa-zips

4. Download npm packages

./scripts/01-pack-npm.sh

Downloads 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.sh

5. Download Kit tarballs

Before 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.sh

Downloads Kit tarballs into ./fa-kits/.

6. Download Python wheel

./scripts/03-download-wheel.sh

Reads the Package Token from .npmrc automatically. Downloads into ./fa-python-wheel/.

7. Download Web + Desktop ZIPs (manual)

Create the output directory if you haven't already:

mkdir -p fa-zips

Then download manually from the web UI and move files into ./fa-zips/:

  1. fontawesome.com/download → Web ZIP → ./fa-zips/
  2. fontawesome.com/download → Desktop ZIP → ./fa-zips/
  3. 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.

8. Download WordPress plugin (optional, manual)

Download from wordpress.org/plugins/font-awesome and move to ./fa-zips/.

9. Verify all downloads

./scripts/04-verify.sh

Generates report.txt with a full PASS/FAIL log (see Verification checklist below).


Verification checklist

Run ./scripts/04-verify.sh and confirm every item passes:

  • 29 npm tarballs present in fa7-tarballs/
  • fortawesome-fontawesome-pro-*.tgz integrity — opens without errors
  • fontawesome-pro contains css/, 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-pro installs 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.css exists
    • node_modules/@fortawesome/fontawesome-pro/js/all.js exists

A clean run ends with:

PASS: 73   FAIL: 0
ALL CHECKS PASSED — safe to backup.

Offline install (after subscription expires)

npm — all-in-one package

npm install ./fa7-tarballs/fortawesome-fontawesome-pro-*.tgz

Or 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 install

npm — individual icon package (e.g. solid icons + React)

npm install ./fa7-tarballs/fortawesome-pro-solid-svg-icons-*.tgz
npm install ./fa7-tarballs/fortawesome-react-fontawesome-*.tgz

Kit

npm install ./fa-kits/awesome.me-kit-XXXXXXXX-X.X.X.tgz

Python wheel

pip install ./fa-python-wheel/fontawesomepro-*.whl

Package contents (fontawesome-pro all-in-one)

After 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

License

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.


Known gotchas

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

About

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.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages