Giter VIP home page Giter VIP logo

github-profile-summary-cards's Introduction

GitHub Profile Summary Cards

繁體中文

A tool to generate your github summary card for profile README. Inspired by profile-summary-for-github

⭐ This repo is just for fun, feel free to contribute! ⭐

Stargazers Releases conventionalcommits testandlint

Themes

default 2077 dracula github github_dark
gruvbox monokai nord_bright nord_dark radical
solarized solarized_dark tokyonight vue zenburn
transparent

More themes

How to use (API)

Profile details card

http://github-profile-summary-cards.vercel.app/api/cards/profile-details?username={username}&theme={theme_name}

  • Accept url parameters
    • theme
      • Theme name
    • username
      • Username

Top languages used in repository card

http://github-profile-summary-cards.vercel.app/api/cards/repos-per-language?username={username}&theme={theme_name}&exclude={exclude}

  • Accept url parameters
    • theme
      • Theme name
    • username
      • Username
    • exclude:
      • A comma separated list of languages to exclude, e.g., exclude=java,rust
      • You can found the supported languages in here

Top languages in commits card

http://github-profile-summary-cards.vercel.app/api/cards/most-commit-language?username={username}&theme={theme_name}&exclude={exclude}

  • Accept url parameters
    • theme
      • Theme name
    • username
      • Username
    • exclude:
      • A comma separated list of languages to exclude, e.g., exclude=java,rust
      • You can found the supported languages in here

GitHub stats card

http://github-profile-summary-cards.vercel.app/api/cards/stats?username={username}&theme={theme_name}

  • Accept url parameters
    • theme
      • Theme name
    • username
      • Username

Productive time card

http://github-profile-summary-cards.vercel.app/api/cards/productive-time?username={username}&theme={theme_name}&utcOffset={utcOffset}

  • accept url parameters
    • theme
    • username
    • utcOffset

How to use (GitHub Actions)

This action generate your github profile summary cards and make a commit to your repo. You can also trigger action by yourself after add this action.

Follow tutorial ( Recommendation ) ⭐

First step

Use template ( create a repository )

  • github-profile-summary-cards-example

  • Action already setup in this template, you just need click use this template button to create your profile readme.

  • After replace GITHUB_TOKEN with your repo secret and trigger action you can use everything in profile-summary-card-output folder.

Add to exist repository

  • Add this action to repo and replace GITHUB_TOKEN in action yml file with your repo secret.

GitHub Actions usage

After the action finished. You can see all of summary cards are in folder which named profile-summary-card-output.

Note: Some summary cards might not be updated in time, because github raw file has cache time.

name: GitHub-Profile-Summary-Cards

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

jobs:
  build:
    runs-on: ubuntu-latest
    name: generate-github-profile-summary-cards
    permissions:
      contents: write

    steps:
      - uses: actions/checkout@v4
      - uses: vn7n24fzkq/github-profile-summary-cards@release
        env: # default use ${{ secrets.SUMMARY_GITHUB_TOKEN }}, you should replace with your personal access token
          GITHUB_TOKEN: ${{ secrets.SUMMARY_GITHUB_TOKEN }}
        with:
          USERNAME: ${{ github.repository_owner }}
          # BRANCH_NAME is optional, default to main, branch name to push cards
          BRANCH_NAME: "main"
          # UTC_OFFSET is optional, default to zero
          UTC_OFFSET: 8
          # EXCLUDE is an optional comma seperated list of languages to exclude, defaults to ""
          EXCLUDE: ""
          # AUTO_PUSH is optional, a boolean variable default to true, whether automatically push generated files to desired branch
          AUTO_PUSH: true

Local Run

  • Require node 16, lower versions should get some problems.
  • Add personal access token to .env file. ex: GITHUB_TOKEN=abcda69ddf66ae95538c5b1666591b59b4abc73a
  • Remember npm run build after modifying any code
npm run run [username] [UTC offset]

Example

npm run run vn7n24fzkq 8
  • To locally run the API you can use the vercel dev package
vercel dev

Deploy your own API on Vercel

Quickly deploy your own version!

Deploy with Vercel

github-profile-summary-cards's People

Contributors

akai54 avatar aleksac avatar angrybacon avatar bicstone avatar cheezik avatar chenrui333 avatar d12frosted avatar dependabot[bot] avatar dnicolson avatar friederbluemle avatar george-gca avatar hangyeol0531 avatar ithelor avatar kaustubhgupta avatar kerthcet avatar key5n avatar lucasalexander13 avatar manojuppala avatar matteas-eden avatar mirandaniel avatar mr-addict avatar onishi-kohei avatar ronentgreat avatar saharshxyz avatar shunsuke6 avatar shzawa avatar syohex avatar vn7n24fzkq avatar yamashush avatar yujixr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

github-profile-summary-cards's Issues

[BUG] Productive time card not correct generated.

Describe the bug
Productive time card not correct generated.

To Reproduce
Steps to reproduce the behavior:

  1. Set public email as empty in profile
  2. Execute npm run run [username]
  3. All of chart values in productive time card should be zero.

Expected behavior
Should generate correct chart.

Screenshots
image

Desktop (please complete the following information):

  • nodejs 12
  • github api v4

Additional context
Need more investigate, that the profile email was hidden then personal access token can not get email from GitHub api v4.

[BUG] GiHub GraphQL api got http 502 error

Describe the bug
several cards' svg can not generated successfully.

Expected behavior
All cards should be generated successfully.

Errors

generate
Error when creating ProfileDetailsCard 
Error: Request failed with status code 502
    at createError (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9143:15)
    at settle (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9402:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:8529:11)
    at IncomingMessage.emit (events.js:215:7)
    at endReadableNT (_stream_readable.js:1184:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
```

[BUG] my token have expired.. then I regenerated my token but it didn't work!

Describe the bug
github action workflow didn't deploy

Screenshots
스크린샷 2022-06-28 오후 1 56 44

and..

스크린샷 2022-06-28 오후 2 06 26

I have updated SUMMARY_CARDS_TOKEN value is this right?

Desktop (please complete the following information):

  • OS: macOS Monterey
  • Browser : safari
  • Version : lastest ver.

Additional context
my token have expired..
then I regenerated my token
but it didn't work!
what should I do?

[BUG] Companies display messed up

Describe the bug
I have made my email id private and therefore the stats card shows the companies I am part of. If the company count is more, then it displays them over the contribution graph, making it look messy.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://github-profile-summary-cards.vercel.app/demo.html'
  2. Type my profile: "kaustubhgupta"
  3. See the companies point.

Expected behavior
In case the companies are more, it should be stacked vertically below the companies icon

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 91.0.4472.114 (Official Build) (64-bit)

[BUG] TypeError: core.warn is not a function

Describe the bug
if commit failed, throw error [error]TypeError: core.warn is not a function

To Reproduce

Expected behavior
retry commit.

Screenshots

Run vn7n24fzkq/github-profile-summary-cards@release
Start...
Remove old cards...
Creating ProfileDetailsCard...
Creating ReposPerLanguageCard...
Creating CommitsPerLanguageCard...
Creating StatsCard...
Creating preview markdown...
Commit file...
##[error]TypeError: core.warn is not a function
##[error]core.warn is not a function

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context
core.warning() is correct.
https://github.com/actions/toolkit/blob/%40actions/github%401.1.0/packages/core/src/core.ts#L130

How to replicate in my own repository

Hi!

I tried to clone your .yaml github action (adding my secrets to it) but it wont work. Do you have a detailed instruction list to use this on my own repository?

[BUG] Error: Error: git push, Invalid status code: 1

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

UTC offset: 8
Remove old cards...
Creating ProfileDetailsCard...
Creating ReposPerLanguageCard...
Creating CommitsPerLanguageCard...
Creating StatsCard...
Creating ProductiveTimeCard...
Creating preview markdown...
Commit file...
Warning: Commit failed. Retry...
Warning: Commit failed. Retry...
Error: Error: git push 
  
 Invalid status code: 1
Error: git push 
  
 Invalid status code: 1

Vercel Usage Limit Warning

I have just received a usage limit warning email from Vercel, so I will increase the cache time to reduce serverless requests.

Here is the summary.

Bandwidth: 3.12 GB / 100.00 GB (3.12%)
Serverless Function Execution: 100.04 GB-Hours / 100.00 GB-Hours (100.04%)
Build Execution: 0.00 Hours / 100.00 Hours (0%)
Image Optimization Source Images: 0 Source Images / 1,000 Source Images (0%)
Edge Middleware Invocations: 0.00 million / 1.00 million (0%)

[Feature request] configurable timezone

Context
Now timezone is default to UTC, it should be configurable.

Alternatives

If I missed something, please let me know. Thanks.

Has the feature been requested before?

I searched all issues, nothing found.

If the feature request is approved, would you be willing to submit a PR?

Yes

Public Repository stats isn't updating

Describe the bug
Whether we create a new public repo / delete a public repo / change the visibility of a private repo to the public one, the stats don't change at all. It always remains exactly the same as earlier.

Check the attached screenshot. If any visitor checks, he/she will find 78 public repos whereas the stats are showing it as only 33 public repo.

Screenshot (94)

[Feature request] Support organization name

Describe the bug
My Personal GitHub Usernames are working with this but my Organisation Username is not working.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to 'https://github-profile-summary-cards.vercel.app/demo.html'
  2. Type Username as 'Facebook', or any GitHub organisation username.
  3. See error - It's all blank

Expected behaviour
It should display stats like other personal GitHub usernames.

Screenshots
Personal Account:
image

Organisation Account:
image

Desktop:

  • OS: Windows 11 Pro Dev Insider Build 25120.1010
  • Browser Google Chrome Latest Version

Smartphone:
Not Applicable

Additional context
Nothing.

[Feature request] Support contributions in private organizations

Context
I set up PAT and everything according to the wiki, GitHub actions runs successfully, but my contributions in private organizations are not counted. I am not sure if the same applies to private repositories in which I have access and contributed, but are owned by someone else.
In my organization context, I did not create the project, but contributed heavily to it, even on projects that I created, profile summary seems to ignore them. I'd reproduce the behavior with a language that I never created a repo on (like Lua) and heavily code on it, as I'm not 100% sure if they are not being counted

Alternatives

I tried to set up PAT, but my stats did not seem to change

If the feature request is approved, would you be willing to submit a PR?

Yes, although I'm under a tight schedule and may delay it about a month

[Discuss] Change chart x axis tick

I want to change x axis tick, because current tick just looks a bit crowded.

Before
image
After
image

I would merge to release branch if it is fine.

[Feature request] Add a default case for theme parameter

Context

For most of the GitHub stats, we don't need to provide any additional parameters to generate stats. For instance:

https://github-readme-stats.vercel.app/api?username=kaustubhgupta: Anurag Hazra's GitHub stats

I was wondering if something similar could be implemented for this project where I visit this URL:
https://github-profile-summary-cards.vercel.app/api/cards/profile-details?username=kaustubhgupta without any theme parameter and I still get the stats image.

You can choose any of the already available themes as default.

If the feature request is approved, would you be willing to submit a PR?

I can't as I work on a different tech stack :(

[BUG] git add,./profile-summary-card-output/ Invalid status code: 128

I DID created a personal access tokens, then used it in my repo for a repository secrets, I also named that repo secret CARDS_TOKEN.

When I tried to launch the workflow blow, it failed with git error status 128. It's a little bit odd since I think I did it all right.

https://github.com/barats/barats/blob/main/.github/workflows/profile-summary-cards.yml

Run vn7n24fzkq/github-profile-summary-cards@release
  with:
    USERNAME: barats
    UTC_OFFSET: 0
  env:
    GITHUB_TOKEN: ***
Start...
Username: barats
UTC offset: 0
Remove old cards...
Creating ProfileDetailsCard...
Creating ReposPerLanguageCard...
Creating CommitsPerLanguageCard...
Creating StatsCard...
Creating ProductiveTimeCard...
Creating preview markdown...
Commit file...
Warning: Commit failed. Retry...
Warning: Commit failed. Retry...
Error: Error: git add,./profile-summary-card-output/

  Invalid status code: 128

Error: Error: git add,./profile-summary-card-output/ 

  Invalid status code: 128

I created https://github.com/barats/barats long ago and have some files in it. I don't know if it should be an empty repo for vn7n24fzkq/github-profile-summary-cards@release to push commits.

I also checked repo settings, I seems all right thought.

What is the possible problem?

[BUG] Invalid status code:128

Describe the bug
like #113 #104 ,Running github actions, my workflow said invalid status code:128.

I fixed this problem by giving "Read and write permission to GITHUB_TOKEN" like below.
But I can't miss why I got stuck although followed your tutorial.
github_profile_summary_fixed

It seems that it couldn't commit and push updated contents.
Do you know the reason? I am new to Github Actions.

To Reproduce
Steps to reproduce the behavior:
Follow your tutorial

Expected behavior
Finish tutorial

Screenshots
github_profile_summary_cards_failure

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Firefox
  • Version 108.0.2

[BUG] 'How to use (GitHub Actions)' instructions in README.md

Describe the bug
Cannot follow the steps in README.md because the GITHUB_ prefix cannot be used in the secret name of the repository.

To Reproduce
Steps to reproduce the behavior:

  1. Try to add a secret with the GITHUB_ prefix to your repository as described in How to use (GitHub Actions) in README.md
  2. After the page transition, you will get an alert "Failed to add secret. Secret names must not start with GITHUB_. will be displayed at the top of the page.

Expected behavior
The secret can be added to the repository successfully.

[Feature request] Add Transparent theme

Context

With the introduction of dark mode in Github it has become difficult to set an image background that looks consistent with the background in both dark and light mode.

To solve this the most obvious solution was to make the background transparent. All that was left was to choose colors for text that makes it legible in light as well as dark background.

Is it possible to add a "Transparent theme" so that it looks good on both light and dark Github mode?

FYI. Here is a PR add a Transparent theme to github-readme-stats
project: anuraghazra/github-readme-stats#1010

Alternatives

Can you achieve the same result doing it in an alternative way? Is the alternative considerable?

Has the feature been requested before?

Please provide a link to the issue.

If the feature request is approved, would you be willing to submit a PR?

Yes / No (Help can be provided if you need assistance submitting a PR)

[Feature request] Improve the Wording in Summary Cards

Context

The current wording used in the summary cards sounds a little unnatural. There are also a couple minor formatting annoyances, like using lower case where I feel upper case would be more appropriate.

Alternatives

An alternative is not available.

Has the feature been requested before?

No, it has not been requested before.

If the feature request is approved, would you be willing to submit a PR?

Yes.

[BUG]

Describe the bug

from anuraghazra/github-readme-stats#270 (comment)

Hi @Lucretia .
I was not sure would @anuraghazra fix this, so I made a repo that provide similar feature after my PR #307 was ignored.
I hope this helps.
https://github.com/vn7n24fzkq/github-profile-summary-cards

I tried to follow your instructions, but they're not correct. I had to add the yml file in the workflows directory myself, your instructions insinuate it would be added automatically. Iit fails on the run action with:

Run vn7n24fzkq/github-profile-summary-cards@release
  with:
    USERNAME: Lucretia
  env:
    GITHUB_TOKEN: 
Start...
Remove old cards...
Creating ProfileDetailsCard...
Error: Error when creating ProfileDetailsCard 
Error: Request failed with status code 401
    at createError (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9143:15)
    at settle (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9402:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:8529:11)
    at IncomingMessage.emit (events.js:215:7)
    at endReadableNT (_stream_readable.js:1184:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Creating ReposPerLanguageCard...
Error: Error when creating ReposPerLanguageCard 
Error: Request failed with status code 401
    at createError (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9143:15)
    at settle (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9402:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:8529:11)
    at IncomingMessage.emit (events.js:215:7)
    at endReadableNT (_stream_readable.js:1184:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Creating CommitsPerLanguageCard...
Error: Error when creating CommitsPerLanguageCard 
Error: Request failed with status code 401
    at createError (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9143:15)
    at settle (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9402:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:8529:11)
    at IncomingMessage.emit (events.js:215:7)
    at endReadableNT (_stream_readable.js:1184:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Creating StatsCard...
Error: Error when creating StatsCard 
Error: Request failed with status code 401
    at createError (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9143:15)
    at settle (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9402:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:8529:11)
    at IncomingMessage.emit (events.js:215:7)
    at endReadableNT (_stream_readable.js:1184:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Creating ProductiveTimeCard...
Error: Error when creating ProductiveTimeCard 
Error: Request failed with status code 401
    at createError (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9143:15)
    at settle (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9402:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:8529:11)
    at IncomingMessage.emit (events.js:215:7)
    at endReadableNT (_stream_readable.js:1184:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Creating preview markdown...
Error: Error when creating preview markdown 
Error: ENOENT: no such file or directory, scandir './profile-summary-card-output/default'
    at Object.readdirSync (fs.js:854:3)
    at getAllFileInFolder (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:195990:6)
    at generateThemePreviewReadme (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:196044:20)
    at generatePreviewMarkdown (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:196006:5)
    at main (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:194588:13)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Commit file...
Warning: Commit failed. Retry...
Warning: Commit failed. Retry...
Error: Error: git add,./profile-summary-card-output/ 
  
 Invalid status code: 128
Error: git add,./profile-summary-card-output/ 
  
 Invalid status code: 128

I don't know if GITHUB_TOKEN: should have my token pasted in there or if it's omitted on purpose.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the instructions from https://github.com/vn7n24fzkq/github-profile-summary-cards

Expected behavior
Expect to happen what's in the docs

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Linux
  • FF
  • 87.0

[BUG] Actions generate Error: git push Invalid status code: 128

Describe the bug
When executing GitHub Actions,
Getting error "Error: git push Invalid status code: 128"

To Reproduce

Expected behavior
Everything are finished!

Screenshots
Screenshot 2022-11-11 22 51 42
Screenshot 2022-11-11 22 52 04

Desktop (please complete the following information):

  • OS: macOS 13.0.1
  • Browser: chrome
  • Version 107.0.5304.110

Additional context

Run vn7n24fzkq/github-profile-summary-cards@release
  with:
    USERNAME: dchf1[2](https://github.com/dchf12/dchf12/actions/runs/3445407188/jobs/5749081516#step:3:2)
    UTC_OFFSET: 0
  env:
    GITHUB_TOKEN: ***
Start...
Username: dchf12
UTC offset: 0
Remove old cards...
Creating ProfileDetailsCard...
Creating ReposPerLanguageCard...
Creating CommitsPerLanguageCard...
Creating StatsCard...
Creating ProductiveTimeCard...
Creating preview markdown...
Commit file...
Warning: Commit failed. Retry...
Warning: Commit failed. Retry...
Error: Error: git push 
  
 Invalid status code: 12[8](https://github.com/dchf12/dchf12/actions/runs/3445407188/jobs/5749081516#step:3:9)
Error: git push 
  
 Invalid status code: [12](https://github.com/dchf12/dchf12/actions/runs/3445407188/jobs/5749081516#step:3:13)8

Please. Help me

Graph dippes to zero with wrong measure

Describe the bug
Suddenly the graph dipped to zero.
But this don't reflect real productivity.

To Reproduce
Steps to reproduce the behavior:

  1. Even in this profile ( https://github.com/vn7n24fzkq ) the bug is present.

Expected behavior
Normal behavior, reflecting GitHub contributions.

Screenshots

image

image

Desktop (please complete the following information):

  • Browser [any]

Additional context
Seems to be a general problem (?)

New color themes

Context

Currently there are only limited number of color themes. Are you planning to add more?

If yes, i would like to submit a PR.

New themes i would like to add :

  • radical (#66 )
  • gruvbox
  • tokyonight
  • cobalt
  • dark

[BUG] Regenerated token no longer works

GH complained that my token was out of date, so I regenerated it. Now the task will no longer run.

Error when creating ProfileDetailsCard 
Error: Request failed with status code 401
    at createError (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9143:15)
    at settle (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:9402:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/vn7n24fzkq/github-profile-summary-cards/release/dist/index.js:8529:11)
    at IncomingMessage.emit (events.js:215:7)
    at endReadableNT (_stream_readable.js:1184:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

I get the above numerous times and then 2 commit failures.

[Feature request] able to hide languages on cards

Context

being able to remove languages on cards, as well as markup and others that there is no interest in showing personalized by the url.

Alternatives

using URI param hide=html,css

If the feature request is approved, would you be willing to submit a PR?

Yes

[Feature request] Add ability to set card size

Good day! It seems like it would be a great and much needed addition.

Example:
card_width - Set the card's width manually (number)

- If the feature request is approved, would you be willing to submit a PR?
- No 😔

[Discuss] productive time card

I want to create a productive-time-card , basically it looks like productive time card in sourcerer.io.
image

And I had already write a sample in add-productive-time-card branch.
It looks like these.

imageimageimage

The problem is the commit time from github api is UTC+0, and I want the time based on the time zone of individual commits,
I also found an api in v3 GET /repos/:owner/:repo/stats/punch_card but the number of commits is content other user's commit.

Does anyone has ideas?

[Question] How to display decimal UTC offset?

I want to know if my UTC offset is UTC/GMT+5:30, how to display it in the URL? I tried it as 5.30, but all bars went even, means there was an error. Any Help would be Appreciated.

同学,您这个项目引入了424个开源组件,存在1个漏洞,辛苦升级一下

检测到 vn7n24fzkq/github-profile-summary-cards 一共引入了424个开源组件,存在1个漏洞

漏洞标题:Axios 安全漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2021-3749
漏洞描述:Axios是一款基于Promise(异步编程的一种解决方案)的HTTP客户端。
Axios 存在安全漏洞,该漏洞源于在 axios 包中发现了一个 ReDoS(正则表达式拒绝服务)缺陷。攻击者可利用该漏洞为修剪功能提供精心设计的输入导致应用程序消耗过多的 CPU。
影响范围:(∞, 0.21.3)
最小修复版本:0.21.3
缺陷组件引入路径:[email protected]>[email protected]

另外还有几个漏洞,详细报告:https://mofeisec.com/jr?p=i40a86

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.