0.8.0 • Published 10 months ago

astro-github-stats v0.8.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Astro GitHub Stats ✨

npm npm npm github

Embed GitHub stats on your Astro page ✨

Features:

  1. Embed GitHub Account stats (with or without icons)
  2. Embed GitHub Account top languages
  3. Embed GitHub Repositories info with stars

Installation

npm i astro-github-stats

Usage

Then use on your Astro page:

---
import GithubStats from 'astro-github-stats';
---

<!-- show your account stats -->
<GithubStats username="ayoayco" />

<!-- show your account stats w/ icons -->
<GithubStats username="ayoayco" showIcons={true} />

<!-- show your account top languages -->
<GithubStats username="ayoayco" topLanguages={true} />

<!-- show a repo card with info and stars -->
<GithubStats username="withastro" repo="astro" />

Screenshots

Example Account Card:

screenshot

Example Account Card with Icons:

Example Account Top Languages:

Example Repo Card:

Screen Shot 2022-09-27 at 3 51 15 PM

Future plans

Initially this is a wrapper for github-readme-stats supporting the basic github account stats card. Other features can be supported later, depending on demand:

  1. themes
  2. account top languages

Please report issues found or suggestions in the project issues page

0.8.0

10 months ago

0.7.4

10 months ago

0.7.3

10 months ago

0.7.2

10 months ago

0.7.1

1 year ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.2.1

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago