Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Eliminate fontawesome.com dependency

未关闭
#713 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
jupyter, python

调研方向

先阅读 openeo/internal/jupyter.py 的第 6 行和第 132 行,盘点对 fontawesome.com 的请求以及 notebook 集成如何使用这些请求。比较提议的替代方案——本地或嵌入式资源、自托管和可配置的 URL——并将完成标准定义为移除硬编码的依赖,同时保留集成并记录所选方案。

由索引模型根据 Issue 内容生成。

描述

architecture configuration technical debt

In the jupyter notebook integration, we inject a request to fontawesome.com:

https://github.com/Open-EO/openeo-python-client/blob/83194d759f94fa21f5e26f692f8a37f49db9af80/openeo/internal/jupyter.py#L132

I am not a lawyer, but as far as I understand e.g. https://law.stackexchange.com/questions/98873/gdpr-compliance-font-awesome, this might be a source of privacy/GDPR issues for entities that provide hosted openEO environments.

Same problem probably with https://github.com/Open-EO/openeo-python-client/blob/83194d759f94fa21f5e26f692f8a37f49db9af80/openeo/internal/jupyter.py#L6

Regardless of the GDPR/privacy issue, it's also not ideal that we have such hardcoded URLs in the package, without any means to override/disable them (e.g. because they stop working for some reason, or, worse, get compromised, like with the polyfill.io domain attack last year)

How can we improve the situation?

  • find GDPR-friendly alternatives?
  • reduce/eliminate the need for external hosting of these resources?
    • E.g. can the fonts be replaced with embedded SVG?
    • Or are there ways to allow the user to easily "self-host" on their jupyter environment?
  • make the URLs configurable is some way to eliminate the hardcoding problem
主要语言
Python
星标
219
派生
56
平均合并
2 天 21 小时
30 天内合并 PR
9

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Open-EO/openeo-python-client 的其他 Issue

查看 Open-EO/openeo-python-client 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。