Skip to content

QueenDekim/github-stats-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Stats Card

License npm NodeJs GitHub issues GitHub stars

Проект для отображения статистики GitHub в виде SVG карточки.

Для использования просто добавьте следующий код в свой README

<!-- html -->
<img src="https://github-stats-card-three.vercel.app/?username=github_username" alt="GitHub stats" />

<!-- Markdown -->
![GitHub stats](https://github-stats-card-three.vercel.app/?username=github_username)

GitHub stats

Установка

  1. Склонируйте репозиторий:

    git clone https://github.com/your-username/github-stats-card.git
  2. Установите зависимости:

    cd github-stats-card
    npm install
  3. Скопируйте .env.example файл в корне проекта и добавьте ваш токен GitHub API:

    cp .env.example .env

Использование

Запустите сервер:

npm start

Откройте браузер и перейдите по адресу:

http://localhost:3000?username=github_username

Ответ кешируется на час для снижения количества запросов

Как помочь проекту

  1. Создайте форк репозитория
  2. Создайте новую ветку:
    git checkout -b my-feature
  3. Внесите изменения и сделайте коммит:
    git commit -am 'Add some feature'
  4. Отправьте изменения в ветку:
    git push origin my-feature
  5. Создайте Pull Request

Лицензия

Этот проект распространяется под MIT License.

Releases

No releases published

Packages

 
 
 

Contributors