[GH-ISSUE #554] Avoid external Google fonts #419

Closed
opened 2026-05-07 00:23:59 +02:00 by BreizhHardware · 5 comments

Originally created by @bt90 on GitHub (Dec 23, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/554

Both https://docs.ntfy.sh/ and the self-hosted instances currently make use of Google Fonts.

At least for users in Germany (and probably the entire EU), this is a potential violation of the GDPR: https://thehackernews.com/2022/01/german-court-rules-websites-embedding.html

Could we bundle them as regular assets instead?

Originally created by @bt90 on GitHub (Dec 23, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/554 Both https://docs.ntfy.sh/ and the self-hosted instances currently make use of Google Fonts. At least for users in Germany (and probably the entire EU), this is a potential violation of the GDPR: https://thehackernews.com/2022/01/german-court-rules-websites-embedding.html Could we bundle them as regular assets instead?
BreizhHardware 2026-05-07 00:23:59 +02:00
Author
Owner

@binwiederhier commented on GitHub (Dec 23, 2022):

Yeah I agree. Good catch.

<!-- gh-comment-id:1364132000 --> @binwiederhier commented on GitHub (Dec 23, 2022): Yeah I agree. Good catch.
Author
Owner

@clementduveau commented on GitHub (Jan 12, 2023):

I investigated this issue:

<!-- gh-comment-id:1380095933 --> @clementduveau commented on GitHub (Jan 12, 2023): I investigated this issue: - 2743c96694c1507db7c4c788e9db745af5ea5a97 seems to have deleted all references to google fonts. - For docs, MkDocs have a [plugin exactly for that](https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/?h=priv#external-assets:~:text=The%20primary%20reason,technical%20limitations.) but its for [Insiders](https://github.com/sponsors/squidfunk?metadata_origin=docs) right now.
Author
Owner

@binwiederhier commented on GitHub (Mar 12, 2023):

The ntfy web app + website does not include Google Fonts at all.

As you correctly identified, the docs do include Google Fonts. The linked privacy plugin is currently only for sponsors, though it seems entirely possible to do this manually by overriding the fonts block manually. Any volunteers?

See https://github.com/squidfunk/mkdocs-material/issues/739#issuecomment-396045972

<!-- gh-comment-id:1465076888 --> @binwiederhier commented on GitHub (Mar 12, 2023): The ntfy web app + website does not include Google Fonts at all. As you correctly identified, the docs do include Google Fonts. The linked `privacy` plugin is currently only for sponsors, though it seems entirely possible to do this manually by overriding the `fonts` block manually. Any volunteers? See https://github.com/squidfunk/mkdocs-material/issues/739#issuecomment-396045972
Author
Owner

@ozskywalker commented on GitHub (Mar 12, 2023):

Have submitted PR #667
Let me know if this is acceptable

<!-- gh-comment-id:1465281257 --> @ozskywalker commented on GitHub (Mar 12, 2023): Have submitted PR #667 Let me know if this is acceptable
Author
Owner

@binwiederhier commented on GitHub (Mar 13, 2023):

Done in #667 and #668, will be in next release.

<!-- gh-comment-id:1465355222 --> @binwiederhier commented on GitHub (Mar 13, 2023): Done in #667 and #668, will be in next release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#419
No description provided.