chore: update readme and package info
This commit is contained in:
parent
f06a593856
commit
88df4ec61e
2 changed files with 27 additions and 10 deletions
35
README.md
35
README.md
|
@ -1,4 +1,5 @@
|
|||
# Astro GitHub Stats ✨
|
||||
|
||||
[](https://www.npmjs.com/package/astro-github-stats)
|
||||
[](https://www.npmjs.com/package/astro-github-stats)
|
||||
[](https://www.npmjs.com/package/astro-github-stats)
|
||||
|
@ -6,32 +7,48 @@
|
|||
|
||||
Embed GitHub stats on your [Astro](https://astro.build) page ✨
|
||||
|
||||

|
||||
Features:
|
||||
|
||||
**Demo:** [https://ayco.io/showcase/astro-github-stats](https://ayco.io/showcase/astro-github-stats)
|
||||
1. Embed GitHub Account stats
|
||||
1. Embed GitHub Repositories info with stars
|
||||
|
||||
*Please report issues found or suggestions in the [project issues page](https://github.com/ayoayco/astro-github-stats/issues)*
|
||||
|
||||
### Usage
|
||||
Install on your Astro project:
|
||||
# Insatllation
|
||||
|
||||
```
|
||||
npm i astro-github-stats
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
||||
Then use on your Astro page:
|
||||
|
||||
```astro
|
||||
---
|
||||
import GithubStats from 'astro-github-stats';
|
||||
---
|
||||
|
||||
<!-- Add your account stats -->
|
||||
<GithubStats username="ayoayco" />
|
||||
|
||||
<!-- Add a repo card with info and stars -->
|
||||
<GithubStats username="withastro" repo="astro" />
|
||||
```
|
||||
|
||||
### Future plans
|
||||
# Screenshots
|
||||
|
||||
Example Account Card:
|
||||
|
||||

|
||||
|
||||
Example Repo Card:
|
||||
|
||||

|
||||
|
||||
# Future plans
|
||||
|
||||
Initially this is a wrapper for [github-readme-stats](https://github.com/anuraghazra/github-readme-stats) supporting the basic github account stats card. Other features can be supported later, depending on demand:
|
||||
1. repo cards
|
||||
|
||||
1. themes
|
||||
1. account top languages
|
||||
|
||||
*Please report issues found or suggestions in the [project issues page](https://github.com/ayoayco/astro-github-stats/issues)*
|
||||
_Please report issues found or suggestions in the [project issues page](https://github.com/ayoayco/astro-github-stats/issues)_
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro-github-stats",
|
||||
"description": "Embed github stats in your Astro page",
|
||||
"description": "Embed GitHub stats in your Astro page ✨",
|
||||
"repository": "https://github.com/ayoayco/astro-github-stats",
|
||||
"homepage": "https://ayco.io/showcase/astro-github-stats",
|
||||
"version": "0.2.0",
|
||||
|
|
Loading…
Reference in a new issue