Ashutosh00710 / github-readme-activity-graph

A dynamically generated activity graph to show your GitHub activities of last 31 days.
https://ashutosh00710.github.io/github-readme-activity-graph
MIT License
1.67k stars 685 forks source link

Bug : Username is "null" in my case #77

Closed junnei closed 3 years ago

junnei commented 3 years ago

Describe the bug As I get graph from server, it gives me an error that my username is always "null".

To Reproduce In my case, URL : https://activity-graph.herokuapp.com/graph?username=junnei

Expected behavior Just see an activity graph

Screenshots

image

Desktop (please complete the following information):

Ashutosh00710 commented 3 years ago

The graph is fetching your Github name (not GitHub username) and you haven't set your name on GitHub that's why it is showing null.

There is a feature you can use: Pass an argument custom_title or if you like any title from below, just copy the code and paste it on your markdown.

![Seongjun Jang Contribution Graph](https://activity-graph.herokuapp.com/graph?username=junnei&theme=react-dark&custom_title=Seongjun%20Jang%27s%20Contribution%20Graph)

It will look like ⬇

Seongjun Jang Contribution Graph

OR

![Seongjun Jang Contribution Graph](https://activity-graph.herokuapp.com/graph?username=junnei&theme=react-dark&custom_title=junnei%27s%20Contribution%20Graph)

It will look like ⬇

Seongjun Jang Contribution Graph

Ashutosh00710 commented 3 years ago

closing this issue with e949cdaba16b4f6c243141c8bad09ff66c5e51c2