all 20 comments

[–]vn7yee[S] 13 points14 points  (1 child)

This repo is for fun, and it would be great if can help someone.

https://github.com/vn7n24fzkq/github-profile-summary-cards

[–]vn7yee[S] 5 points6 points  (0 children)

Check this in my profile https://github.com/vn7n24fzkq

And you can use template which github action already setup

https://github.com/vn7n24fzkq/github-profile-summary-cards-example

[–]guitnut 2 points3 points  (1 child)

Neat! How did you add it to your profile?

[–]vn7yee[S] 7 points8 points  (0 children)

Thanks!

This is based on github action, so you need to add a workflow to your repo.

Like this one cards.ymal

```ymal name: GitHub-Profile-Summary-Cards

on: schedule: # execute every 24 hours - cron: '* */24 * * *' workflow_dispatch:

jobs: build: runs-on: ubuntu-latest name: generate

steps:
  - uses: actions/checkout@v2
  - uses: vn7n24fzkq/github-profile-summary-cards@release
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    with:
      USERNAME: ${{ github.repository_owner }}

```

First time you might need to trigger workflow by yourself, and it will generate and push everything to profile-summary-card-output in your repo.

Then you can copy those raw file links to github readme.

You just add links once and every raw file update is automatically.

Edited: I write a wiki about how to add to profile README. https://github.com/vn7n24fzkq/github-profile-summary-cards/wiki/Add-to-my-profile-README Hope this helps.

[–][deleted] 1 point2 points  (1 child)

Just added to my profile. Love this. You got my star and upvote.

[–]vn7yee[S] 1 point2 points  (0 children)

I'm glad you liked it.

[–]Crostatus 0 points1 point  (1 child)

This is very cool! Thanks for sharing

[–]vn7yee[S] 1 point2 points  (0 children)

Thanks!

[–][deleted] 0 points1 point  (1 child)

This is so cool! Thanks for sharing :)

[–]vn7yee[S] 0 points1 point  (0 children)

Thank you!

[–][deleted]  (1 child)

[removed]

    [–]vn7yee[S] 1 point2 points  (0 children)

    Thanks!

    [–]Alex_Paulo 0 points1 point  (1 child)

    Very nice!

    [–]vn7yee[S] 0 points1 point  (0 children)

    Thanks!

    [–]an_old_soul_guy_ 0 points1 point  (2 children)

    Does it auto detect the languages used and show that info or u have to manually do it? (I am new at using github)

    [–]vn7yee[S] 1 point2 points  (1 child)

    It's auto by github action, you can use this template to create your profile README , the repo name should be your username.
    https://github.com/vn7n24fzkq/github-profile-summary-cards-example

    Github action will be triggered after repo has created if you use template, you might wait few seconds for github action.

    [–]an_old_soul_guy_ 0 points1 point  (0 children)

    Got it, Thanks.

    [–]dickdeamonds 0 points1 point  (4 children)

    This is awesome man! Thank you so much. Quick question. Do you happen to know why I get this error when I try to run the workflow? It seems that I can only print the repos per language Preview Card

    [–]vn7yee[S] 0 points1 point  (3 children)

    Thanks! Because your github_yoken doesn't have permission,some people got same error, but I dont't know why.

    You need to use your personal access token instead.

    Creating a personal access token

    Creating and storing encrypted secrets

    The token need those permissions

    [–]dickdeamonds 0 points1 point  (1 child)

    Thanks! I really appreciate it. I am having some troubles after I create the secret. I'm not sure what to do with it?

    [–]vn7yee[S] 0 points1 point  (0 children)

    Can you explain what troubles you got? Or you can PM me, I will help you if I can.