Skip to content

fim-sh/github-readme-stats-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Readme Stats Docker Image

Build Docker on Upstream Update

This project provides Docker images of the github-readme-stats project for self-hosting purposes.

Overview

The GitHub Readme Stats project allows you to generate stats cards for your GitHub profile README. This repository provides pre-built Docker images that you can use to self-host the application locally or on your own infrastructure.

Docker Images

Docker images are automatically built and published to the GitHub Container Registry (GHCR) on a daily schedule (using the latest commits from upstream master branch).

Image Tags

  • latest: Points to the most recent image built from the upstream master branch
  • <commit-sha>: Specific commit SHA tag

Usage

Running the Container

docker run -it -p 9000:9000 ghcr.io/fim-sh/github-readme-stats-docker:latest

Environment Variables

All customization is done using envirment variables. For more information check the upstream repository, however, you probably want to configure these variables:

Name Description Supported values
PAT_1 GitHub's Personal Access Token. If you like to only use this instance to display public data, it doesn't need any additional permissions.
CACHE_SECONDS Sets the cache duration in seconds for the generated cards. This variable takes precedence over the default cache timings for the public instance. If this variable is not set, the default cache duration is 24 hours (86,400 seconds). Any positive integer or 0 to disable caching
WHITELIST A comma-separated list of GitHub usernames that are allowed to access your instance. If this variable is not set, all usernames are allowed. Comma-separated GitHub usernames
GIST_WHITELIST A comma-separated list of GitHub Gist IDs that are allowed to be accessed on your instance. If this variable is not set, all Gist IDs are allowed. Comma-separated GitHub Gist IDs
EXCLUDE_REPO A comma-separated list of repositories that will be excluded from stats and top languages cards on your instance. This allows repository exclusion without exposing repository names in public URLs. This enhances privacy for self-hosted instances that include private repositories in stats cards. Comma-separated repository names
FETCH_MULTI_PAGE_STARS Enables fetching all starred repositories for accurate star counts, especially for users with more than 100 repositories. This may increase response times and API points usage, so it is disabled on the public instance. true or false

License

The github-readme-stats is licensed under the MIT License. For more information, see the original repository at https://github.com/anuraghazra/github-readme-stats.

About

This project provides Docker images of the github-readme-stats project for self-hosting purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages