Github-profilemd-Generate is a tool works on Github Action,
To generate account info on Github as a profile card or resume.
- Repositories Composition
- Tags Preference
- ...
- ...
- .etc
Fetch data from Github GraphQL → Generate .SVG files→ Bot will commit and push on "master" branch.
Before use this tool, make sure you found the SPECIAL SECRET of Github.
ex. kwangsing3/kwangsing3
-
To use Github GraphQL, a personal access token with the necessary scopes is needed; follow the guide to know about HOW TO MAKE A TOKEN FOR YOUR PROFILE.
-
Add the token to your profile repo secret and name it
MY_GITHUB_TOKEN, see Encrypted secrets for repositories. -
Add the following steps to a job in your workflow (for example, in
.github/workflows/profile-cards.yml):
steps:
- uses: actions/checkout@v4
- uses: kwangsing3/github-profilemd-Generater@release
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
with:
USERNAME: ${{ github.repository_owner }}
GITHUB_REPO_NAME: ${{ github.event.repository.name }}
Install dependencies and build the bundle, then run with your inputs.
npm install
npx ncc build src/index.js -o dist
node dist/index.js [username] [reponame] [MY_GITHUB_TOKEN]- [arg1]:
username - [arg2]:
reponame - [arg3]:
MY_GITHUB_TOKEN
$git clone https://github.com/kwangsing3/github-profilemd.Generater To keep your profile md looking good, Github-profilemd-Genearater will NOT rewrite your README.md, it'll provide account info as svg cards and Dynamically update to the repo (./output/github-profilemd-generater/) as default , so make sure your README.MD using relative PATH to the file instead of hosting links.
*** Also leave a star, hope this tool would give you a big help some day. ***
THANK YOU :)
Theme request. any request are welcome.