Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Self-Hosting of Avataaars #4841

Open
SelinaBuff opened this issue Feb 12, 2025 · 2 comments
Open

Investigate Self-Hosting of Avataaars #4841

SelinaBuff opened this issue Feb 12, 2025 · 2 comments
Labels
Research Something has to be researched

Comments

@SelinaBuff
Copy link
Collaborator

Description:

Currently, avatars on the landing page are fetched from getavataaars.com, an external service. To improve control over dependencies and optimize performance, we want to explore the possibility of self-hosting this library.

Requirements:

  • The Avataaars library should be self-hosted to eliminate external dependencies, if technically feasible.
  • If self-hosting is not possible, document the integration, including what data is exchanged and how the service operates.
  • Evaluate the feasibility of self-hosting the Plausible init script, currently loaded from https://inolytics.inovex-gpt.fra.ics.inovex.io/js/script.js, to ensure full control over analytics.
@SelinaBuff SelinaBuff added Research Something has to be researched Good First Issue A suitable entry-level issue for new or external contributors and removed Good First Issue A suitable entry-level issue for new or external contributors labels Feb 12, 2025
@Planlos5000 Planlos5000 self-assigned this Feb 19, 2025
@Planlos5000 Planlos5000 moved this from Todo to In Progress in scrumlr.io Feb 19, 2025
@Planlos5000
Copy link
Contributor

It would be possible to self host the getavataaars.com if we build the image. There is no official Dockerimage.
But the landing page uses the random-avatar-generator which sends a request to avataaars.io to generate the avatar and it is not possible to easily change the url for the package.

Scrumlr uses the avataaars Package which does not send any requests. We should investigate if we could also use this package for the landing page.

@Planlos5000 Planlos5000 moved this from In Progress to Todo in scrumlr.io Feb 19, 2025
@Planlos5000 Planlos5000 removed their assignment Feb 19, 2025
@Schwehn42
Copy link
Member

Schwehn42 commented Feb 20, 2025

Scrumlr uses the avataaars Package which does not send any requests. We should investigate if we could also use this package for the landing page.

Should definitely be possible, the landing page uses random-avatar-generator while scrumlr itself uses avataaars. The former makes the HTTP call while the latter is used locally. The downside is the the latter has no native randomization logic, but luckily we've already implemented that (see https://github.com/inovex/scrumlr.io/blob/bf17d359380b0aa774b9954b6cece468f4fb4fee/src/components/Avatar/Avatar.tsx) so we can likely just reuse that.

@SelinaBuff SelinaBuff moved this from Todo to In Progress in scrumlr.io Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Research Something has to be researched
Projects
Status: In Progress
Development

No branches or pull requests

3 participants