Skip to content

download avatars during install time#2401

Merged
Marketen merged 4 commits intodevelopfrom
marc/download-avatars
Mar 10, 2026
Merged

download avatars during install time#2401
Marketen merged 4 commits intodevelopfrom
marc/download-avatars

Conversation

@Marketen
Copy link
Contributor

@Marketen Marketen commented Mar 3, 2026

  • When a package is installed, the avatar PNG is downloaded alongside the Docker image and saved to [REPO_DIR/avatars/{dnpName}.png] or [DNCORE_DIR/avatars/{dnpName}.png]. Depending if its core or not
  • The Express server serves these directories at /avatars/, like my.dappnode/avatars/rotki.dnp.dappnode.eth.png to get the rotki avatar
  • When listing installed packages, [resolveAvatarUrl()] detects the new local file inside the repo and returns /avatars/{dnpName}.png instead of a remote IPFS gateway URL
  • Already-installed packages (before this change) continue using IPFS gateway URLs until re-installed — fully backward compatible

packages installed before this PR still go to avatar URL, new package rotki is served through http://my.dappnode/avatars/rotki.dnp.dappnode.eth.png
Screenshot_20260303_185810

Screenshot_20260303_192846

@Marketen Marketen requested a review from a team as a code owner March 3, 2026 17:59
@github-actions github-actions bot temporarily deployed to commit March 3, 2026 17:59 Inactive
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

@github-actions github-actions bot temporarily deployed to commit March 3, 2026 18:25 Inactive
@github-actions github-actions bot temporarily deployed to commit March 3, 2026 18:53 Inactive
@Marketen Marketen merged commit fdeedb1 into develop Mar 10, 2026
6 of 7 checks passed
@Marketen Marketen deleted the marc/download-avatars branch March 10, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants