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.

Release files for ungog 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ungog 0.0.2
File Size Uploaded
ungog-0.0.2.tar.gz 2.4 kB Details

Release files / ungog-0.0.2.tar.gz

Download URL ungog-0.0.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9f316cfab9c0c42bfb2bd31d0b13fa1897039026940f48bb1c073f5e2c1f958f
BLAKE2b-256 checksum
How to use checksums
33f2467ca25155d3eedf4ededb2fefe7dd316b0d9cd0198cda1b81590cf33007
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release 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