The cards do not update

  • Check that publish_branch is the branch the README URLs point to, and that the job has contents: write permission.
  • Open the raw file URL directly and confirm the file changed there first. The job summary lists every file with its size.
  • GitHub caches README images. The next scheduled run usually refreshes them.

Token errors

  • GitHub always needs a token. In the Action the workflow token is used when token is empty; locally, set GITHUB_TOKEN or pass --token.
  • The workflow token may miss private contributions and followers. Use a personal access token with read:user to include them.
  • For GitLab, define GITLAB_TOKEN as a CI variable; for WakaTime, WAKATIME_API_KEY.
  • Never put tokens in committed YAML. profile-graphics doctor shows which token every source will use.
shell
profile-graphics doctor --config profile-graphics.yml

A card is empty or shows zeros

  • The coding cards need a wakatime source; without one they say that there is no coding time yet.
  • The productive-time card on GitHub reads only your last 300 public events from the past 90 days.
  • Forgejo reports pull requests and issues only with FORGEJO_TOKEN, and has no commit total.
  • calendar.mode: current-year starts on January 1. Use rolling to show the last twelve months.

GitLab data looks different

GitLab has no contribution calendar API. The provider counts your events per day in calendar.timezone, commits from push events and reviews from approvals, so the numbers can differ from the calendar on your GitLab profile. See GitLab.

The theme does not match

An SVG cannot read the viewer's GitHub or GitLab account theme. Auto mode uses prefers-color-scheme, which follows the viewer's browser or system setting. Use a dark and light pair for exact control.

yaml
theme:
  mode: auto
  native: true
  dark_mode_pair: true

PNG or WebP fails

Raster output needs the optional sharp package: install it with npm install sharp or switch to format: svg. The Action installs it by itself when format is png or webp. Raster images cannot switch themes, so they use the light palette of the native theme unless theme_mode is dark, and raster_background fills transparent areas.

Reading CLI errors

The CLI exits with 1 for config errors, 2 for provider errors and 3 for write errors. See CLI exit codes and the error codes.