Skip to content

Commit

Permalink
Added functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
APPLE authored and APPLE committed Oct 22, 2021
1 parent 03d4bad commit 1c44539
Show file tree
Hide file tree
Showing 44 changed files with 156 additions and 137 deletions.
254 changes: 117 additions & 137 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,141 +1,121 @@
# [GitHub Stats Visualization](https://github.com/jstrieb/github-stats)

<a href="https://github.com/jstrieb/github-stats">

![](https://github.com/jstrieb/github-stats/blob/master/generated/overview.svg)
![](https://github.com/jstrieb/github-stats/blob/master/generated/languages.svg)
<h1>Hi there, This is <a href="https://mahendrasaikumargandham.vercel.app/">Mahendra (Software Developer)</a><img src="https://raw.githubusercontent.com/ABSphreak/ABSphreak/master/gifs/Hi.gif" width="30px"></h1>
<h3>Passionate about Programming Research & Development</h3>

<!-- <video width="320" height="240" controls autoplay>
<source src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/working-man.mp4" type="video/mp4">
</video> -->

<img align="right" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/working.gif" width="350px">

<a href="https://www.linkedin.com/in/mahendra-gandham-7066b51b9/"><img src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/linkedin.svg" width="30" /></a>&nbsp;
<a href="https://www.youtube.com/channel/UCIf7QLKvNYQIFCRxCe-j8dQ"><img src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/youtube.svg" width="30" /></a>&nbsp;
<a href="https://github.com/mahendrasaikumargandham"><img src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/github.svg" width="30" /></a>&nbsp;
<a href="https://www.facebook.com/mahendra.gandham.3/"><img src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/facebook.svg" width="30" /></a>&nbsp;
<a href="mailto:[email protected]"><img src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/gmail.svg" width="30" /></a>&nbsp;
<a href="https://twitter.com/mahendra_4919"><img src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/twitter.svg" width="30" /></a>&nbsp;
<a href="https://www.instagram.com/mahendra_4919"><img style="padding:30px" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/instagram.svg" width="30" /></a>

<h3>What I do? 💻</h3>
<details><summary>Full Stack Development</summary>
<ul>
<li><a href="https://github.com/mahendrasaikumargandham/Project-SearchEngine">Search Engine</a></li>
<li><a href="https://github.com/mahendrasaikumargandham/netflix-clone">Netflix-Clone</a></li>
<li><a href="https://github.com/mahendrasaikumargandham/amazon-clone">Amazon-Clone</a></li>
<li><a href="https://github.com/mahendrasaikumargandham/hardwareservices">Hardware Services</a></li>
</ul>
</details>
<details>
<summary>AI Development</summary>
<ul>
<li><a href="https://github.com/mahendrasaikumargandham/face-detection-app">Face-detection-App</a></li>
<li><a href="https://github.com/mahendrasaikumargandham/smile-detector-app">Smile-detector-App</a></li>
</ul>
</details>
<details><summary>Linux Development</summary>
<ul>
<li><a href="https://github.com/mahendrasaikumargandham/Conqueror">Conqueror</a></li>
<li><a href="https://github.com/mahendrasaikumargandham/Linux_kernel">Linux Kernel</a></li>
</ul>
</details>

<h2>The Questions You May Have 😕</h2>
<details>
<summary>Who are you? 👨</summary>
<pre>
A passionate individual who always thrive to work on end to end products which develop sustainable and scalable social and
technical systems to create impact.<br>
My name describes my qualities:
M: Magestic
A: Active
H: Hard working
E: Energetic
N: Neat handed
D: Delight
R: Responsible
A: Authentic
</pre>
</details>
<h2>Worked with</h3>
<h3>[$Programming Languages and Frameworks:~#]</h3>

<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/java.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/python.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/c.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/html5.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/css3.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/javascript.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/react.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/django.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/npm.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/nodedotjs.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/dotnet.svg">&nbsp;
<img align="right" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/work-from-home.gif" width="300px">
<h3>[$Operating Systems:~#]</h3>

<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/windows.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/ubuntu.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/debian.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/redhat.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/kalilinux.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/macos.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/android.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/ios.svg">&nbsp;
<h3>[$Integrated Development Environments:~#]</h3>

<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/vscode.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/atom.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/sublime.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/spyder.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/jupyter.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/androidstudio.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/xcode.svg">&nbsp;
<h3>[$Other Technologies:~#]</h3>

<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/aws.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/googlecloud.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/azure.svg">&nbsp;
<img height="30" src="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/logos/git.svg">&nbsp;

<h2>What if you like my work? 🚀</h2>
<ul>
<li>Subscribe to my <a href="https://www.youtube.com/channel/UCIf7QLKvNYQIFCRxCe-j8dQ">Youtube Channel</a></li>
<li>Star ⭐ the Projects you wish</li>
</ul>

![Mahendra's Github Profile Views](https://komarev.com/ghpvc/?username=mahendrasaikumargandham&color=blueviolet)


<a href="https://github.com/mahendrasaikumargandham/mahendrasaikumargandham">

![](https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/generated/overview.svg)
![](https://github.com/mahendrasaikumargandham/mahendrasaikumargandham/blob/master/generated/languages.svg)

</a>

Generate visualizations of GitHub user and repository statistics using GitHub
Actions.

This project is currently a work-in-progress; there will always be more
interesting stats to display.

## Background

When someone views a profile on GitHub, it is often because they are curious
about a user's open source projects and contributions. Unfortunately, that
user's stars, forks, and pinned repositories do not necessarily reflect the
contributions they make to private repositories. The data likewise does not
present a complete picture of the user's total contributions beyond the current
year.

This project aims to collect a variety of profile and repository statistics
using the GitHub API. It then generates images that can be displayed in
repository READMEs, or in a user's [Profile
README](https://docs.github.com/en/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme).

Since the project runs on GitHub Actions, no server is required to regularly
regenerate the images with updated statistics. Likewise, since the user runs
the analysis code themselves via GitHub Actions, they can use their GitHub
access token to collect statistics on private repositories that an external
service would be unable to access.

## Disclaimer

If the project is used with an access token that has sufficient permissions to
read private repositories, it may leak details about those repositories in
error messages. For example, the `aiohttp` library—used for asynchronous API
requests—may include the requested URL in exceptions, which can leak the name
of private repositories. If there is an exception caused by `aiohttp`, this
exception will be viewable in the Actions tab of the repository fork, and

This comment has been minimized.

Copy link
@Cyklos89

Cyklos89 Oct 25, 2021

aiohttp

anyone may be able to see the name of one or more private repositories.

Due to some issues with the GitHub statistics API, there are some situations
where it returns inaccurate results. Specifically, the repository view count
statistics and total lines of code modified are probably somewhat inaccurate.
Unexpectedly, these values will become more accurate over time as GitHub
caches statistics for your repositories. Additionally, repositories that were
last contributed to more than a year ago may not be included in the statistics
due to limitations in the results returned by the API.

For more information on inaccuracies, see issue
[#2](https://github.com/jstrieb/github-stats/issues/2),

This comment has been minimized.

Copy link
@Cyklos89
[#3](https://github.com/jstrieb/github-stats/issues/3), and
[#13](https://github.com/jstrieb/github-stats/issues/13).

# Installation

<!-- TODO: Add details and screenshots -->

1. Create a personal access token (not the default GitHub Actions token) using
the instructions
[here](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token).
Personal access token must have permissions: `read:user` and `repo`. Copy
the access token when it is generated – if you lose it, you will have to
regenerate the token.
- Some users are reporting that it can take a few minutes for the personal
access token to work. For more, see
[#30](https://github.com/jstrieb/github-stats/issues/30).
2. Click [here](https://github.com/jstrieb/github-stats/generate) to create a
copy of this repository. Note: this is not the same as forking a copy
because it copies everything fresh, without the huge commit history.
3. If this is the README of your fork, click [this
link](../../settings/secrets/actions) to go to the "Secrets" page.
Otherwise, go to the "Settings" tab of the newly-created repository and go
to the "Secrets" page (bottom left).
4. Create a new secret with the name `ACCESS_TOKEN` and paste the copied
personal access token as the value.
5. It is possible to change the type of statistics reported.
- To ignore certain repos, add them (in owner/name format e.g.,
`jstrieb/github-stats`) separated by commas to a new secret—created as
before—called `EXCLUDED`.
- To ignore certain languages, add them (separated by commas) to a new
secret called `EXCLUDED_LANGS`.
- To show statistics only for "owned" repositories and not forks with
contributions, add an environment variable (under the `env` header in the
[main
workflow](https://github.com/jstrieb/github-stats/blob/master/.github/workflows/main.yml))
called `EXCLUDE_FORKED_REPOS` with a value of `true`.
6. Go to the [Actions
Page](../../actions?query=workflow%3A"Generate+Stats+Images") and press "Run
Workflow" on the right side of the screen to generate images for the first
time. The images will be periodically generated every hour, but they can be
manually regenerated by manually running the workflow.
7. Check out the images that have been created in the [`generated`](generated)
folder.
8. To add your statistics to your GitHub Profile README, copy and paste the following
lines of code into your markdown content. Change the `username` value to your GitHub
username.
```md
![](https://github.com/username/github-stats/blob/master/generated/overview.svg)
```
```md
![](https://github.com/username/github-stats/blob/master/generated/languages.svg)
```
9. Link back to this repository so that others can generate their own
statistics images.
10. Star this repo if you like it!


# Support the Project

There are a few things you can do to support the project:

- Star the repository (and follow me on GitHub for more)
- Share and upvote on sites like Twitter, Reddit, and Hacker News
- Report any bugs, glitches, or errors that you find

These things motivate me to to keep sharing what I build, and they provide
validation that my work is appreciated! They also help me improve the
project. Thanks in advance!

If you are insistent on spending money to show your support, I encourage you to
instead make a generous donation to one of the following organizations. By advocating
for Internet freedoms, organizations like these help me to feel comfortable
releasing work publicly on the Web.

- [Electronic Frontier Foundation](https://supporters.eff.org/donate/)
- [Signal Foundation](https://signal.org/donate/)
- [Mozilla](https://donate.mozilla.org/en-US/)
- [The Internet Archive](https://archive.org/donate/index.php)


# Related Projects

- Inspired by a desire to improve upon
[anuraghazra/github-readme-stats](https://github.com/anuraghazra/github-readme-stats)
- Makes use of [GitHub Octicons](https://primer.style/octicons/) to precisely
match the GitHub UI
[![Mahendra's Github Stats](https://github-readme-stats.vercel.app/api?username=mahendrasaikumargandham&show_icons=true)](https://github-readme-stats.vercel.app/api?username=mahendrasaikumargandham&show_icons=true)
<br/>

![](https://github-readme-streak-stats.herokuapp.com/?user=mahendrasaikumargandham&hide_border=true)
<!--
[![Mahendra's Github Stats](https://github-readme-stats.vercel.app/api/top-langs/?username=mahendrasaikumargandham&theme=radical&layout=compact)](https://github-readme-stats.vercel.app/api/top-langs/?username=mahendrasaikumargandham&layout=compact) -->
Binary file added logos/.DS_Store
Binary file not shown.
Binary file added logos/Search Engine2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logos/Search_Engine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions logos/android.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions logos/androidstudio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1c44539

Please sign in to comment.