Skip to content

OsamaPro/font-dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

font-dl — download web fonts

Small tool to find and download web fonts referenced by a webpage. Always check font licenses before using any downloaded files.

Requirements

  • Python 3.8 or newer
  • Optional: fontforge (for converting .woff to .ttf)

Quick start (recommended)

  1. Clone the repo: git clone https://github.com/xoolive/font-dl && cd font-dl
  2. Create and activate a virtualenv: python3 -m venv venv && source venv/bin/activate
  3. Install the package in editable mode (optional): pip install -e .

Run without installing

  • Use the bundled launcher with PYTHONPATH set to the project root: PYTHONPATH=. python3 bin/font-dl

Run after installing

  • If installed with pip (step 3), run: font-dl

Notes

  • The script sets a browser-like User-Agent header; servers may still return 429 (Too Many Requests). If you hit 429, wait or retry later.
  • Fonts are saved in a directory named after the target host.
  • It is your responsibility to respect font licenses.

License

MIT

About

Web fonts downloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%