Skip to content

akmalovaa/github-readme-stats-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self hosted github-readme-stats in docker

Project github-readme-stats. Dynamically generated stats github readmes and beautiful display of statistics Github profile

Examples Available Themes: example-image


You can just use the service from the author, but there is one problem

Warning Project use deploy vercel.app and have only allows 5k requests per hour, and sometimes there are errors in the display - more info

I didn't want to do it in the vercel.app and used docker (docker-compose) to simple deploy in my homelab server

Guide simple deploy using docker

Generate GitHub Personal Access Token Minimal permissions (you can choose nothing at all, just create)

git clone https://github.com/akmalovaa/github-readme-stats-docker.git
cd github-readme-stats-docker

docker

docker build -t github-state .
docker run --name github-state -p 3000:3000 -e PAT_1=GITHUB_ACCESS_TOKEN -e USER=GITHUB_USER_NAME -d github-state

Change command where:

GITHUB_ACCESS_TOKEN = your access token

GITHUB_USER_NAME = your gihub login

or docker-compose

Change .env file - input your login and token

docker-compose up -d

Setting domain name

It remains only to configure the URL (dns, routing, proxy) I use a dns manager cloudflare and separate self nginx proxy manager https://github.akmalov.com/api

Test

Theme: tokyonigh

img

img

img