Skip to main content

ungoogleify your css

install

pip3 install ungog

usage

ungogmycss main.css
[+] got https://fonts.googleapis.com/css?family=Gruppo|Scope+One
[+] got https://fonts.gstatic.com/s/gruppo/v7/uU5IFiQZ8WKPhrRfLBLURw.ttf
[+] replacing from:   src: local('Gruppo'), url(https://fonts.gstatic.com/s/gruppo/v7/uU5IFiQZ8WKPhrRfLBLURw.ttf) format('truetype');
[+] replacing to:     src: local('Gruppo'), url('fonts/gruppo.ttf') format('truetype');
[+] got https://fonts.gstatic.com/s/scopeone/v2/_52Fm41u4u2R3EEH0A9bn6CWcynf_cDxXwCLxiixG1c.ttf
[+] replacing from:   src: local('Scope One'), local('ScopeOne-Regular'),
    url(https://fonts.gstatic.com/s/scopeone/v2/_52Fm41u4u2R3EEH0A9bn6CWcynf_cDxXwCLxiixG1c.ttf)
    format('truetype');
[+] replacing to:     src: local('Scope One'), local('ScopeOne-Regular'),
    url('fonts/scope_one.ttf') format('truetype');
[+] done

and then you should be ready to replace your original file with main.css.new. do not forget to include the new fonts/ folder into your local assets.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ungog-0.0.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file ungog-0.0.2.tar.gz.

File metadata

  • Download URL: ungog-0.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ungog-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9f316cfab9c0c42bfb2bd31d0b13fa1897039026940f48bb1c073f5e2c1f958f
MD5 9a583312ce613571f4aa27eae5fcecbc
BLAKE2b-256 33f2467ca25155d3eedf4ededb2fefe7dd316b0d9cd0198cda1b81590cf33007

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page